Nikita Kalyazin [Thu, 22 Mar 2012 10:25:40 +0000 (14:25 +0400)]
Nikita Kalyazin [Thu, 22 Mar 2012 08:06:39 +0000 (12:06 +0400)]
Added PQ Proxima (SLP) support
Andreev S.V [Tue, 20 Mar 2012 13:46:43 +0000 (17:46 +0400)]
Final movin' INPERFA->SWAP (Ticket #134)
Nikita Kalyazin [Fri, 16 Mar 2012 10:50:52 +0000 (14:50 +0400)]
Merge branch 'swap_rename' into dev
Andreev S.V [Wed, 1 Feb 2012 12:07:27 +0000 (16:07 +0400)]
Renamed InPerfa->SWAP, Ticket #134
Dmitry Kovalenko [Tue, 31 Jan 2012 12:52:38 +0000 (16:52 +0400)]
Added return value to default retprobe handler
Dmitry Kovalenko [Tue, 31 Jan 2012 12:01:42 +0000 (16:01 +0400)]
"On the go" probes implementation.
OTG probes can be installed from handlers of other probes.
Currently implemented only user space instrumentation.
Probe installing is produced by call of "install_otg_ip" function.
install_otg_ip(function_addr, pre_handler, jp_handler, rp_handler)
pre_handler, jp_handler, rp_handler can be NULL that means deffault handlers.
Vasiliy Ulyanov [Thu, 26 Jan 2012 09:05:00 +0000 (13:05 +0400)]
Added functions to retrieve user-mode stack dump from uprobes (ticket #260)
Vasiliy Ulyanov [Wed, 21 Dec 2011 13:20:41 +0000 (17:20 +0400)]
Saved and total events counters are zeroed after start tracing (Ticket #129)
Andreev S.V [Fri, 2 Dec 2011 07:28:58 +0000 (11:28 +0400)]
Names of functions have been changed in order to avoid collision with kernel function. Uneeded EXPORT_* removed.
Dmitry Kovalenko [Mon, 28 Nov 2011 12:50:46 +0000 (16:50 +0400)]
Fixed problem with handling of forked threads.
Now we don't uninstall probes if fork creates thread.
This commit continues idea introduced at
d597e93b5a314
Dmitry Kovalenko [Fri, 25 Nov 2011 05:43:00 +0000 (09:43 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi_new_build into dev
Dmitry Kovalenko [Fri, 25 Nov 2011 05:24:24 +0000 (09:24 +0400)]
Solved problems with instrumentation functions in process between
fork and exec.
Lib only instrumentation and multithreaded application
instrumentation are fixed and now work well. (Fixed #140, #74)
Gonzha Dmitriy Evgenevich [Mon, 21 Nov 2011 09:15:13 +0000 (13:15 +0400)]
Architecture-dependent x86 part updated
Accordind to current changes introduced in
d46e3a57e37101ec8a9367fbcd6f28c188631a9f
2b5e0bbc4c7cccc18bd47af48f9eb9beb5fa123a
for comportability with current architecture-independent part
Dmitry Kovalenko [Mon, 14 Nov 2011 12:53:11 +0000 (16:53 +0400)]
UProbes are set on group_leader instead of first found tid
Fixed: Kernel panic: pbzip2, libc, libpthread instrumentation #140
- During instrumentation of multi-threaded program, situation with instrumentation of finished thread may happen
Nikita Kalyazin [Wed, 19 Oct 2011 07:44:33 +0000 (11:44 +0400)]
kprobes: retprobe instance hlist operation was moved into spinlock (similar to
2b5e0bbc4c7cccc18bd47af48f9eb9beb5fa123a)
Nikita Kalyazin [Wed, 19 Oct 2011 07:17:49 +0000 (11:17 +0400)]
kprobes: retprobe instance hlist operation was moved into spinlock
Anatoly Sinyavin [Fri, 14 Oct 2011 08:07:26 +0000 (12:07 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi_new_build into dev
Conflicts:
src/symbol/CProcLib.cpp
Anatoly Sinyavin [Fri, 14 Oct 2011 07:59:14 +0000 (11:59 +0400)]
Fix tiny bugs for Beagle/SELP.
Andreev S.V [Tue, 11 Oct 2011 11:25:40 +0000 (15:25 +0400)]
FIXED copy_to_user_pages according to kernels (i.e. standard)
Nikita Kalyazin [Tue, 4 Oct 2011 13:40:33 +0000 (17:40 +0400)]
Fixed insns slot access problem (#118)
Added flush_icache_range() after copying insns slot. Need to check whether flush_cache_all() call for Tegra nearby is necessary.
Alexander Shirshikov [Tue, 4 Oct 2011 11:23:18 +0000 (15:23 +0400)]
copy_to_user_page fix
Dmitry Kovalenko [Tue, 4 Oct 2011 11:22:23 +0000 (15:22 +0400)]
Removed mistakenly committed temporary files
Dmitry Kovalenko [Tue, 4 Oct 2011 10:48:56 +0000 (14:48 +0400)]
Removed mistakenly committed temporary files
Alexander Shirshikov [Mon, 3 Oct 2011 06:50:26 +0000 (10:50 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi_new_build into dev
Conflicts:
src/gui/Makefile.am
src/llvm/CAbstrFunction.h
src/llvm/CAbstrFunctionTrans.cpp
src/llvm/CAbstrFunctionTrans.h
src/llvm/CBundleListFunction.h
src/llvm/CFunction2LLVM.cpp
src/llvm/CFunction2LLVM.h
src/llvm/CFunctionCFG2LLVM.cpp
src/llvm/CFunctionCFG2LLVM.h
src/llvm/CInstrumenter.h
src/llvm/CStaticData.h
src/llvm/CUnit2LLVM.cpp
src/llvm/CUnit2LLVM.h
src/llvm/C_LLVM_Emitter.cpp
src/llvm/C_LLVM_Emitter.h
src/llvm/_build_it.sh
src/llvm/aux.h
src/llvm/bfe.y
src/llvm/common.h
src/python/EventsManagement/RawEvents.py
Alexander Shirshikov [Mon, 3 Oct 2011 06:28:33 +0000 (10:28 +0400)]
LLVM and POCO integrated
Nikita Kalyazin [Wed, 28 Sep 2011 10:16:47 +0000 (14:16 +0400)]
Absence of a library from inperfa.ini file is a warning now (#120)
Nikita Kalyazin [Mon, 26 Sep 2011 05:30:38 +0000 (09:30 +0400)]
Fixed a bug of kernel panic when collecting __switch_to (#118)
Nikita Kalyazin [Thu, 22 Sep 2011 06:50:26 +0000 (10:50 +0400)]
Fixed bug of segfaulting Thumb apps (retprobe)
This is the same as
b74f1859918bc25c2a1cd4ebcfad8b49ec6b831a, but for retprobes.
Dmitry Kovalenko [Wed, 21 Sep 2011 11:56:08 +0000 (15:56 +0400)]
Fix deinst_usr_space_proc (return value)
Nikita Kalyazin [Tue, 20 Sep 2011 13:13:06 +0000 (17:13 +0400)]
Fixed return value of find_lib_path()
Nikita Kalyazin [Tue, 20 Sep 2011 11:10:10 +0000 (15:10 +0400)]
Merge branch 'dev' of ssh://106.109.8.71/srv/git/dbi_new_build into dev
Nikita Kalyazin [Tue, 20 Sep 2011 11:09:58 +0000 (15:09 +0400)]
kprobes fix (deferred probes in multitreaded application)
Reimplelented retprobe instance management mechanism. Probably, x86 and MIPS require porting these changes.
Dmitry Kovalenko [Fri, 16 Sep 2011 05:17:33 +0000 (09:17 +0400)]
Fixed continuous buffer (Ticket #112)
Nikita Kalyazin [Wed, 7 Sep 2011 05:18:45 +0000 (09:18 +0400)]
Fixed bug of segfaulting Thumb apps
Inserted undefined instruction was not actually undefined in some cases.
ffffdeff is true one.
Nikita Kalyazin [Mon, 5 Sep 2011 06:49:43 +0000 (10:49 +0400)]
Removed messing debug output (introduced in
625f1537f3d0f93d3eeb5e155a33956ba1894dd6)
Nikita Kalyazin [Mon, 5 Sep 2011 05:14:02 +0000 (09:14 +0400)]
It is not needed to set PID while instrumenting Android GUI apps (only set .apk file as target_app_fname)
Almost the same mechanism as in
68d9da6e84230f015451aa2051cbb10f6a4d0507 (SLP) is used.
Nikita Kalyazin [Wed, 31 Aug 2011 12:51:11 +0000 (16:51 +0400)]
Nikita Kalyazin [Tue, 30 Aug 2011 07:39:24 +0000 (11:39 +0400)]
Fix and refactoring for
be6800a0431c286ffafffb02145c006e03085fee (SLP app startup)
Sergey Grekhov [Tue, 23 Aug 2011 06:02:03 +0000 (10:02 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi_new_build into dev
Sergey Grekhov [Tue, 23 Aug 2011 05:59:02 +0000 (09:59 +0400)]
Special revision on MEC: collecting only memory leaks. Currently under macro MEMORY_LEAKS_ONLY.
TBD: add config option only_memory_leaks for memchecker.
Nikita Kalyazin [Tue, 23 Aug 2011 05:28:09 +0000 (09:28 +0400)]
Updated kernel version dependent define (copy_to_user_page), concerns
2.6.32 kernel
Sergey Grekhov [Mon, 22 Aug 2011 08:53:34 +0000 (12:53 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi_new_build into dev
Nikita Kalyazin [Mon, 22 Aug 2011 06:23:16 +0000 (10:23 +0400)]
SLP applications startup can be instrumented
4c3f981a88451d8e1e6f99788868c67e3777e038-related.
Nikita Kalyazin [Thu, 18 Aug 2011 10:55:01 +0000 (14:55 +0400)]
Merge branch 'dev' of ssh://106.109.8.71/srv/git/dbi_new_build into dev
Sergey Grekhov [Thu, 18 Aug 2011 06:04:21 +0000 (10:04 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi_new_build into dev
Conflicts:
src/dalvik_probes/Makefile.am
Leonid Astakhov [Thu, 18 Aug 2011 05:25:12 +0000 (09:25 +0400)]
Merge remote branch 'origin/dev' into dev
Nikita Kalyazin [Thu, 18 Aug 2011 04:32:24 +0000 (08:32 +0400)]
Merge branch 'dev' of ssh://106.109.8.71/srv/git/dbi_new_build into dev
Nikita Kalyazin [Tue, 16 Aug 2011 12:47:17 +0000 (16:47 +0400)]
Changed ioctl callback accordingly to kernel version greater than 2.6.36
Nikita Kalyazin [Tue, 16 Aug 2011 12:45:28 +0000 (16:45 +0400)]
Updated preprocessor directive for copy_to_user_page() wrapper (=2.6.32 -> >=2.6.32)
Nikita Kalyazin [Thu, 11 Aug 2011 10:23:35 +0000 (14:23 +0400)]
Nikita Kalyazin [Wed, 10 Aug 2011 12:32:14 +0000 (16:32 +0400)]
Added SLP specific applications instrumentation support
SLP graphical applications (such as Calculator) are launched by special
daemon that loads these applications just like a libraries via dlopen().
The commit contains a special mechanism to instrument them.
SLP specific applications instrumentation support is enabled by
slp_app="yes" in the conf file.
Currently only running applications can be instrumented.
Nikita Kalyazin [Mon, 18 Jul 2011 13:37:34 +0000 (17:37 +0400)]
Merge branch 'thumb_r9' into dev
Nikita Kalyazin [Tue, 12 Jul 2011 09:07:02 +0000 (13:07 +0400)]
Thumb trampoline: r9 register is not spoiled from now on
Return address is odd now in order to signalize that pop instruction
must go into Thumb mode.
Gonzha Dmitriy Evgenevich [Tue, 12 Jul 2011 12:04:27 +0000 (16:04 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi_new_build into dev
Nikita Kalyazin [Fri, 8 Jul 2011 09:23:41 +0000 (13:23 +0400)]
Merge branch 'dev' of ssh://106.109.8.71/srv/git/dbi_new_build into dev
Leonid Astakhov [Fri, 8 Jul 2011 08:02:34 +0000 (12:02 +0400)]
Handlers for Dalvik VM are moved to another module
Gonzha Dmitriy Evgenevich [Thu, 7 Jul 2011 11:06:40 +0000 (15:06 +0400)]
Android FroYo comportability
Added Android FroYo comportability for boards other than Tegra
using ifdef for hardcoded Tegra on Android FroYo wrapper.
In future it would be better to add automaic wrapper layer for such
calls.
Dmitry Kovalenko [Tue, 5 Jul 2011 04:55:30 +0000 (08:55 +0400)]
Dmitry Kovalenko [Mon, 4 Jul 2011 04:10:46 +0000 (08:10 +0400)]
Fixed ticket #13 (Error with buffer size changing)
Nikita Kalyazin [Tue, 28 Jun 2011 05:31:05 +0000 (09:31 +0400)]
Merge branch 'dev' of ssh://106.109.8.71/srv/git/dbi_new_build into dev
Nikita Kalyazin [Tue, 28 Jun 2011 05:30:26 +0000 (09:30 +0400)]
Fixed library only instrumentation
When do_execve() occurs we have to deinstrument old address space because after this VMA mappings may be changed. Hence, added handler for do_execve() (only for user space instrumentation) where all the deinstrumentation is carrying out.
Nikita Kalyazin [Tue, 28 Jun 2011 05:12:22 +0000 (09:12 +0400)]
Added additional condition (vma->vm_pgoff) to recognize text section in Android
Nikita Kalyazin [Tue, 28 Jun 2011 05:05:00 +0000 (09:05 +0400)]
Removed unnecessary VMA flags setup for Android
Nikita Kalyazin [Tue, 28 Jun 2011 05:01:10 +0000 (09:01 +0400)]
Removed messing debug message
Leonid Astakhov [Mon, 27 Jun 2011 11:04:57 +0000 (15:04 +0400)]
flush_cache_all removed due to performance slump
Leonid Astakhov [Thu, 23 Jun 2011 04:58:12 +0000 (08:58 +0400)]
DEX Profile transfer
Dmitry Kovalenko [Tue, 21 Jun 2011 12:20:43 +0000 (16:20 +0400)]
Fixed ticket #80 (Wrong specific user space handler is called)
Nikita Kalyazin [Fri, 17 Jun 2011 05:33:59 +0000 (09:33 +0400)]
Replaced GFP_KERNEL with GFP_ATOMIC in get_insn_slot()
Nikita Kalyazin [Wed, 15 Jun 2011 06:19:36 +0000 (10:19 +0400)]
Replaced GFP_KERNEL with GFP_ATOMIC in code that may run in exception context
Dmitry Kovalenko [Fri, 10 Jun 2011 07:19:26 +0000 (11:19 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi_new_build into dev
Dmitry Kovalenko [Fri, 10 Jun 2011 07:19:06 +0000 (11:19 +0400)]
Found better solution of #67 (Remove flush_cache_all, Mega-fix from previous commits)
Nikita Kalyazin [Fri, 10 Jun 2011 06:45:34 +0000 (10:45 +0400)]
Commented out down_read() and up_read() calls in exception context
again.
They were mistakenly uncommented in
1f22b3b4f81294b919d9632adb6d226ae56e1a17
Nikita Kalyazin [Fri, 10 Jun 2011 06:15:46 +0000 (10:15 +0400)]
Fixed wrong unregistering of uprobes
Dmitry Kovalenko [Mon, 6 Jun 2011 07:07:30 +0000 (11:07 +0400)]
Fixed debug in driver;
remove some cache_flushes
Nikita Kalyazin [Wed, 1 Jun 2011 06:38:28 +0000 (10:38 +0400)]
Deleted temprorary file mistakenly introduced in
e135348010a5630bfb469f9042693dbfdec98913
Dmitry Kovalenko [Wed, 1 Jun 2011 05:41:52 +0000 (09:41 +0400)]
Fixes for tegra
Andreev S.V [Tue, 31 May 2011 14:21:26 +0000 (18:21 +0400)]
MEGA-FIX
Nikita Kalyazin [Mon, 30 May 2011 07:27:01 +0000 (11:27 +0400)]
Fixed build for 2.6.32 Linux (not Android)
Nikita Kalyazin [Tue, 24 May 2011 12:21:41 +0000 (16:21 +0400)]
One more attempt to fix kprobes for Tegra (related to
901c2e7ba405252b38111bc1178555d3dfb2029a)
Dmitry Kovalenko [Mon, 23 May 2011 09:07:34 +0000 (13:07 +0400)]
An attempt to fix kprobe for Tegra ("Null pointer dereference" bug) by flush_cache_all()
Dmitry Kovalenko [Mon, 16 May 2011 10:12:51 +0000 (14:12 +0400)]
remove useless debug output introduced by
1f22b3b4f8
Dmitry Kovalenko [Mon, 16 May 2011 06:51:46 +0000 (10:51 +0400)]
femtofix: Added comment to
6a6295bd77 commit
Dmitry Kovalenko [Mon, 16 May 2011 06:45:33 +0000 (10:45 +0400)]
picofix
Nikita Kalyazin [Fri, 6 May 2011 13:15:31 +0000 (17:15 +0400)]
Merge branch 'testing' into dev
Alexander Shirshikov [Fri, 6 May 2011 11:31:11 +0000 (15:31 +0400)]
Android Library Only Instrumentation sort of fixed.
Alexey Gerenkov [Tue, 3 May 2011 15:18:56 +0000 (19:18 +0400)]
Compilation problem
Alexey Gerenkov [Tue, 3 May 2011 15:00:17 +0000 (19:00 +0400)]
Merge branch 'develop' of ssh://106.109.8.71/srv/git/dbi_new_build into develop
Conflicts:
src/modules/driver/storage.c
src/modules/driver/us_proc_inst.c
Andreev S.V [Tue, 3 May 2011 14:35:07 +0000 (18:35 +0400)]
FIXED: conflict, smart pointers, brace mismatch
Alexey Gerenkov [Tue, 3 May 2011 12:39:04 +0000 (16:39 +0400)]
Merge branch 'master' of ssh://106.109.8.71/srv/git/dbi_new_build into develop
Alexander Shirshikov [Fri, 29 Apr 2011 10:44:15 +0000 (14:44 +0400)]
Huge kprobe mod, everything could have been broken. Ha-ha-ha
Leonid Astakhov [Fri, 29 Apr 2011 05:03:08 +0000 (09:03 +0400)]
unexpected EOF
Leonid Astakhov [Fri, 29 Apr 2011 03:58:36 +0000 (07:58 +0400)]
uninitialized data fix
Leonid Astakhov [Thu, 28 Apr 2011 10:39:31 +0000 (14:39 +0400)]
Merge branch 'refs/heads/master' of ssh://lastakhov@106.109.8.71/srv/git/dbi_new_build
Andreev S.V [Wed, 27 Apr 2011 12:35:17 +0000 (16:35 +0400)]
FIX of my previous FIX
Leonid Astakhov [Wed, 27 Apr 2011 06:38:24 +0000 (10:38 +0400)]
Merge branch 'refs/heads/master' of ssh://lastakhov@106.109.8.71/srv/git/dbi_new_build
Leonid Astakhov [Wed, 27 Apr 2011 05:46:35 +0000 (09:46 +0400)]
setv PID command added
Andreev S.V [Tue, 26 Apr 2011 10:10:21 +0000 (14:10 +0400)]
FIXED bug "atomic while schedule" - checking us_proc_info.path added. For Valencia added code under comments (grep Mr_Nobody).
Nelli Kim [Fri, 15 Apr 2011 11:27:17 +0000 (15:27 +0400)]
1. Fixed fbi hanging: added return value to us_vtp_pre_entry_handler.
2. Minor fix for error checking.
Dmitry Kovalenko [Fri, 15 Apr 2011 04:58:39 +0000 (08:58 +0400)]
Minor fix.