kernel/swap-modules.git
11 years agorefactoring file_probes
Vyacheslav Cherkashin [Fri, 9 Nov 2012 07:46:03 +0000 (11:46 +0400)]
refactoring file_probes

map_addr --> vm_start
+vm_end (for PLT function)

11 years agoMerge branch 'dev' into new_dpf
Vyacheslav Cherkashin [Thu, 8 Nov 2012 14:10:11 +0000 (18:10 +0400)]
Merge branch 'dev' into new_dpf

Conflicts:
src/modules/driver/storage.h
src/modules/driver/us_proc_inst.c

11 years agofix commit a089b91c61b823766e1cf65bcc73b6b7538e04b1
Vyacheslav Cherkashin [Wed, 7 Nov 2012 13:18:15 +0000 (17:18 +0400)]
fix commit a089b91c61b823766e1cf65bcc73b6b7538e04b1

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Wed, 7 Nov 2012 12:32:35 +0000 (16:32 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoadded monitoring function 'do_mnumap'
Vyacheslav Cherkashin [Wed, 7 Nov 2012 12:31:01 +0000 (16:31 +0400)]
added monitoring function 'do_mnumap'

11 years agoOptimized plt instrumentation
Alexander Aksenov [Tue, 6 Nov 2012 17:33:29 +0000 (21:33 +0400)]
Optimized plt instrumentation

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Alexander Aksenov [Tue, 6 Nov 2012 16:48:24 +0000 (20:48 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoNow offset sended from target
Alexander Aksenov [Tue, 6 Nov 2012 15:54:57 +0000 (19:54 +0400)]
Now offset sended from target

11 years agoMerge branch 'dev' into new_dpf
Vyacheslav Cherkashin [Tue, 6 Nov 2012 13:07:40 +0000 (17:07 +0400)]
Merge branch 'dev' into new_dpf

Conflicts:
src/modules/kprobe/arch/asm-arm/dbi_kprobes.c

11 years agoAdded an output both of variable name and variable in fbi mode.
Imran Navruzbekov [Tue, 6 Nov 2012 11:26:18 +0000 (15:26 +0400)]
Added an output both of variable name and variable in fbi mode.

11 years agoFixed deleted string in storage and application GOT addresses
Alexander Aksenov [Tue, 6 Nov 2012 11:18:15 +0000 (15:18 +0400)]
Fixed deleted string in storage and application GOT addresses

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Tue, 6 Nov 2012 09:43:02 +0000 (13:43 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agofixed function 'arch_check_insn_thumb'
Vyacheslav Cherkashin [Tue, 6 Nov 2012 09:37:20 +0000 (13:37 +0400)]
fixed function 'arch_check_insn_thumb'

added ignoring CBZ/CBNZ instruction

11 years agoNow plt works with app lib and lib only instrumentation
Alexander Aksenov [Fri, 2 Nov 2012 16:19:34 +0000 (20:19 +0400)]
Now plt works with app lib and lib only instrumentation

11 years agoMerge branch 'dev' into plt_branch
Alexander Aksenov [Fri, 2 Nov 2012 14:59:12 +0000 (18:59 +0400)]
Merge branch 'dev' into plt_branch

11 years agoplt functions handling
Alexander Aksenov [Fri, 2 Nov 2012 14:58:04 +0000 (18:58 +0400)]
plt functions handling

11 years agoMEC: fixed most warning; made initial code redesign
Vasiliy Ulyanov [Fri, 2 Nov 2012 09:14:39 +0000 (13:14 +0400)]
MEC: fixed most warning; made initial code redesign

11 years agofix and mini refactoring
Vyacheslav Cherkashin [Thu, 1 Nov 2012 14:41:37 +0000 (18:41 +0400)]
fix and mini refactoring

fixed calling function 'dbi_unregister_all_uprobes' at pushing STOP

11 years agoworking apps and libonly
Vyacheslav Cherkashin [Thu, 1 Nov 2012 13:49:01 +0000 (17:49 +0400)]
working apps and libonly

11 years agoworking libonly
Vyacheslav Cherkashin [Mon, 29 Oct 2012 12:22:00 +0000 (16:22 +0400)]
working libonly

11 years agoworking libonly
Vyacheslav Cherkashin [Mon, 29 Oct 2012 06:41:47 +0000 (10:41 +0400)]
working libonly

11 years agorefactoring and fixed func 'check_vma'
Vyacheslav Cherkashin [Thu, 25 Oct 2012 10:54:14 +0000 (14:54 +0400)]
refactoring and fixed func 'check_vma'

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vitaliy Cherepanov [Thu, 25 Oct 2012 09:42:14 +0000 (13:42 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

Conflicts:
src/probes/probes.def

11 years agorefactoring
Vyacheslav Cherkashin [Thu, 25 Oct 2012 08:58:34 +0000 (12:58 +0400)]
refactoring

1. refactoring func 'mm_release_probe_pre_code'
2. remove func 'send_sig_jprobe_event_handler'

11 years agoworking function 'uninstall_us_proc_probes'
Vyacheslav Cherkashin [Thu, 25 Oct 2012 07:29:01 +0000 (11:29 +0400)]
working function 'uninstall_us_proc_probes'

11 years agoMerge branch 'dev' into new_dpf
Vyacheslav Cherkashin [Wed, 24 Oct 2012 10:37:18 +0000 (14:37 +0400)]
Merge branch 'dev' into new_dpf

11 years agoMerge branch 'dev' of ssh://106.109.8.71/srv/git/dbi into dev
Dmitry Kovalenko [Tue, 23 Oct 2012 12:04:43 +0000 (16:04 +0400)]
Merge branch 'dev' of ssh://106.109.8.71/srv/git/dbi into dev

11 years agoFully removed "symbol" from target (no-standalone) part
Dmitry Kovalenko [Tue, 23 Oct 2012 12:04:36 +0000 (16:04 +0400)]
Fully removed "symbol" from target (no-standalone) part

11 years agoadded function unregs* and flag uninstall pages
Vyacheslav Cherkashin [Tue, 23 Oct 2012 08:33:07 +0000 (12:33 +0400)]
added function unregs* and flag uninstall pages

11 years agoadded search page on hash table in file
Vyacheslav Cherkashin [Tue, 23 Oct 2012 06:28:18 +0000 (10:28 +0400)]
added search page on hash table in file

11 years agorefactoring names
Vyacheslav Cherkashin [Mon, 22 Oct 2012 08:28:04 +0000 (12:28 +0400)]
refactoring names

11 years agorefactoring function 'set_mapping_file'
Vyacheslav Cherkashin [Mon, 22 Oct 2012 06:33:23 +0000 (10:33 +0400)]
refactoring function 'set_mapping_file'

11 years agomove offset of struct page_probes in struct file_probes
Vyacheslav Cherkashin [Mon, 22 Oct 2012 06:19:41 +0000 (10:19 +0400)]
move offset of struct page_probes in struct file_probes

11 years agodelete prelink kostyl
Vyacheslav Cherkashin [Fri, 19 Oct 2012 09:02:59 +0000 (13:02 +0400)]
delete prelink kostyl

11 years agonew event mappping lib/app
Vyacheslav Cherkashin [Fri, 19 Oct 2012 08:35:23 +0000 (12:35 +0400)]
new event mappping lib/app

11 years agoMerge branch 'dev' into new_dpf
Vyacheslav Cherkashin [Thu, 18 Oct 2012 10:51:15 +0000 (14:51 +0400)]
Merge branch 'dev' into new_dpf

Conflicts:
src/modules/driver/us_proc_inst.c

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Thu, 18 Oct 2012 08:29:12 +0000 (12:29 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

Conflicts:
src/modules/driver/us_proc_inst.c

11 years agofixed and remove warning
Vyacheslav Cherkashin [Thu, 18 Oct 2012 08:22:00 +0000 (12:22 +0400)]
fixed and remove warning

but warning in file 'src/probes/probes.def' lines 950 and 980

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Kudrjavtsev Nickita [Wed, 17 Oct 2012 15:43:11 +0000 (19:43 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agosolving the problem of addres instead function name
Kudrjavtsev Nickita [Wed, 17 Oct 2012 15:41:02 +0000 (19:41 +0400)]
solving the problem of addres instead function name

11 years agoFixed hardcoded device name in swap_driver.sh
Nikita Kalyazin [Wed, 17 Oct 2012 12:29:23 +0000 (16:29 +0400)]
Fixed hardcoded device name in swap_driver.sh

11 years agoMerge branch 'dev' into new_dpf
Vyacheslav Cherkashin [Wed, 17 Oct 2012 04:45:53 +0000 (08:45 +0400)]
Merge branch 'dev' into new_dpf

11 years agofixed vma filter
Vyacheslav Cherkashin [Tue, 16 Oct 2012 13:50:21 +0000 (17:50 +0400)]
fixed vma filter

11 years agocorrect processing prelink libraries
Vyacheslav Cherkashin [Mon, 15 Oct 2012 08:08:37 +0000 (12:08 +0400)]
correct processing prelink libraries

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Mon, 15 Oct 2012 06:55:59 +0000 (10:55 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agorefactoring function 'inst_usr_space_proc'
Vyacheslav Cherkashin [Wed, 10 Oct 2012 08:28:43 +0000 (12:28 +0400)]
refactoring function 'inst_usr_space_proc'

add function 'get_dentry'

11 years agodelete struct us_proc_ip, used us_proc_ip_t
Vyacheslav Cherkashin [Mon, 8 Oct 2012 12:50:51 +0000 (16:50 +0400)]
delete struct us_proc_ip, used us_proc_ip_t

11 years agorefactoring
Vyacheslav Cherkashin [Mon, 8 Oct 2012 12:36:34 +0000 (16:36 +0400)]
refactoring

11 years agorefactoring
Vyacheslav Cherkashin [Mon, 8 Oct 2012 11:26:49 +0000 (15:26 +0400)]
refactoring

11 years agoworking, owerhead 60 -> 6
Vyacheslav Cherkashin [Mon, 8 Oct 2012 09:02:21 +0000 (13:02 +0400)]
working, owerhead 60 -> 6

11 years agointermediate result
Vyacheslav Cherkashin [Thu, 4 Oct 2012 07:26:01 +0000 (11:26 +0400)]
intermediate result

11 years agoMerge branch 'dev' of ssh://106.109.8.71/srv/git/dbi into dev
Dmitry Kovalenko [Mon, 1 Oct 2012 10:10:55 +0000 (14:10 +0400)]
Merge branch 'dev' of ssh://106.109.8.71/srv/git/dbi into dev

11 years agofix bug rp2, when installed kprobe kfree
Vyacheslav Cherkashin [Fri, 28 Sep 2012 11:24:53 +0000 (15:24 +0400)]
fix bug rp2, when installed kprobe kfree

11 years agodel user mode in kprobe_running (for ARM)
Vyacheslav Cherkashin [Fri, 28 Sep 2012 11:04:14 +0000 (15:04 +0400)]
del user mode in kprobe_running (for ARM)

11 years agorefactoring_kprobe
Vyacheslav Cherkashin [Fri, 28 Sep 2012 09:40:17 +0000 (13:40 +0400)]
refactoring_kprobe

11 years agoadd user mode in kprobe_running (for ARM)
Vyacheslav Cherkashin [Mon, 24 Sep 2012 08:19:39 +0000 (12:19 +0400)]
add user mode in kprobe_running (for ARM)

11 years agoMakefiles fix
Dmitry Kovalenko [Mon, 24 Sep 2012 06:27:08 +0000 (10:27 +0400)]
Makefiles fix

11 years agoDESTDIR expanded by prefix var in daemon's Makefile.am
Dmitry Kovalenko [Wed, 19 Sep 2012 14:42:57 +0000 (18:42 +0400)]
DESTDIR expanded by prefix var in daemon's Makefile.am

11 years agoBuildsystem redesign
Dmitry Kovalenko [Wed, 19 Sep 2012 09:26:58 +0000 (13:26 +0400)]
Buildsystem redesign

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Wed, 12 Sep 2012 08:19:24 +0000 (12:19 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoTicket #430
Vyacheslav Cherkashin [Wed, 12 Sep 2012 08:18:17 +0000 (12:18 +0400)]
Ticket #430

11 years agoFixed fail modules inserting handling
Nikita Kalyazin [Wed, 12 Sep 2012 08:04:10 +0000 (12:04 +0400)]
Fixed fail modules inserting handling

11 years agofix export function copy_to_user_page
Vyacheslav Cherkashin [Tue, 11 Sep 2012 13:41:51 +0000 (17:41 +0400)]
fix export function copy_to_user_page

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Tue, 11 Sep 2012 12:30:15 +0000 (16:30 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoTicket #426
Vyacheslav Cherkashin [Tue, 11 Sep 2012 12:26:02 +0000 (16:26 +0400)]
Ticket #426

created new allocator for slots

11 years agofix commit fd8ebf18bd07ee6380b260260e5dd9df38f41859
Vasiliy Ulyanov [Mon, 10 Sep 2012 05:11:51 +0000 (09:11 +0400)]
fix commit fd8ebf18bd07ee6380b260260e5dd9df38f41859

11 years agoadd function copy_to_user_page
Vyacheslav Cherkashin [Fri, 7 Sep 2012 07:49:18 +0000 (11:49 +0400)]
add function copy_to_user_page

fix commit ebdc6de11d57f4a9f946976d3c2ab88048377718

11 years agoadd support kernel 3.4
Vyacheslav Cherkashin [Thu, 6 Sep 2012 14:02:57 +0000 (18:02 +0400)]
add support kernel 3.4

refactoring support for kernel > 2.6.38

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Yury Morozov [Wed, 5 Sep 2012 14:03:41 +0000 (18:03 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoAdded functions, beginning with MOVW instruction, instrumentation
zorro [Thu, 30 Aug 2012 14:54:00 +0000 (18:54 +0400)]
Added functions, beginning with MOVW instruction, instrumentation

11 years agoAdded functions, beginning with MOVW, instrumentation
zorro [Thu, 30 Aug 2012 14:50:41 +0000 (18:50 +0400)]
Added functions, beginning with MOVW, instrumentation

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Wed, 29 Aug 2012 12:39:34 +0000 (16:39 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agofix miss events (recursion handling disabled)
Vyacheslav Cherkashin [Wed, 29 Aug 2012 10:37:30 +0000 (14:37 +0400)]
fix miss events (recursion handling disabled)
recursing?!

11 years agofix function 'mm_release_probe_pre_code'
Vyacheslav Cherkashin [Tue, 28 Aug 2012 10:15:47 +0000 (14:15 +0400)]
fix function 'mm_release_probe_pre_code'

11 years agofix function 'get_insn_slot'
Vyacheslav Cherkashin [Tue, 28 Aug 2012 05:11:42 +0000 (09:11 +0400)]
fix function 'get_insn_slot'

11 years agoremove uprobes, when the task is removed (called jprobe on function 'mm_release')
Vyacheslav Cherkashin [Wed, 22 Aug 2012 08:52:54 +0000 (12:52 +0400)]
remove uprobes, when the task is removed (called jprobe on function 'mm_release')

11 years agofix function void recover_child
Vyacheslav Cherkashin [Tue, 21 Aug 2012 12:32:07 +0000 (16:32 +0400)]
fix function void recover_child

11 years agoAdded feature of instrumentation of dynamic loaded libraries functions (plugins).
Andreev S.V [Tue, 28 Aug 2012 16:57:41 +0000 (20:57 +0400)]
Added feature of instrumentation of dynamic loaded libraries functions (plugins).

Description (usage):
1. swap.ini file must contain pathes where dynamic loaded libraries (plugins) located
   (for multiple pathes it must be separated by : (colon) sign)
   This is needed for proper library parsing.

2. For each unique dynamic loaded library (plugin) swap.ini file must contain
   full path to library and library name, like (e.g) this:

setv lib_dl_name "/usr/lib/libslp_devman_plugin.so" "libslp_devman_plugin.so"

   This is needed for proper instrumentation work.

3. To set probe on function of dynamic loaded library (plugin) use usual syntax, e.g.:

setp lib x "OEM_sys_get_devman_plugin_interface" "libslp_devman_plugin.so"

NOTE: in code left ability (via setp lib_dl token) to define separate path for each probe -
   this may be very useful when we have the same function and library names. This is
   for future development.

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Thu, 16 Aug 2012 14:56:17 +0000 (18:56 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoTickets: 151, 198, 200, 347. implemented unpatching tasks
Vyacheslav Cherkashin [Thu, 16 Aug 2012 14:56:05 +0000 (18:56 +0400)]
Tickets: 151, 198, 200, 347. implemented unpatching tasks

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vitaliy Cherepanov [Thu, 16 Aug 2012 07:55:37 +0000 (11:55 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

Conflicts:
src/modules/driver/us_proc_inst.c

11 years agomerge
Vitaliy Cherepanov [Thu, 16 Aug 2012 07:49:22 +0000 (11:49 +0400)]
merge

11 years agouprobs: fixed check flags CLONE_VM in function copy_process_ret_pre_code(for 'fork')
Vyacheslav Cherkashin [Wed, 15 Aug 2012 10:42:55 +0000 (14:42 +0400)]
uprobs: fixed check flags CLONE_VM in function copy_process_ret_pre_code(for 'fork')

11 years agofix: error build function IS_ERR_OR_NULL no tegra_selp
Vyacheslav Cherkashin [Mon, 13 Aug 2012 07:52:00 +0000 (11:52 +0400)]
fix: error build function IS_ERR_OR_NULL no tegra_selp

11 years agouprobs: fixed instrumentation 'fork'
Vyacheslav Cherkashin [Fri, 10 Aug 2012 12:54:38 +0000 (16:54 +0400)]
uprobs: fixed instrumentation 'fork'

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Wed, 8 Aug 2012 12:27:04 +0000 (16:27 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agomini refactoring kprobes
Vyacheslav Cherkashin [Wed, 8 Aug 2012 12:26:54 +0000 (16:26 +0400)]
mini refactoring kprobes

11 years agoInitial implementation of sampling approach (Ticket #393) - time-based approach imple...
Andreev S.V [Mon, 6 Aug 2012 13:23:03 +0000 (17:23 +0400)]
Initial implementation of sampling approach (Ticket #393) - time-based approach implemented. In comments - dreams of event-based approach.

11 years agokprobes: implementation instruction B(ARM) in uprobes
Vyacheslav Cherkashin [Tue, 31 Jul 2012 10:10:30 +0000 (14:10 +0400)]
kprobes: implementation instruction B(ARM) in uprobes

11 years agoMerge branch 'dev' of ssh://106.109.8.71/srv/git/dbi into dev
Dmitry Kovalenko [Mon, 30 Jul 2012 05:14:44 +0000 (09:14 +0400)]
Merge branch 'dev' of ssh://106.109.8.71/srv/git/dbi into dev

11 years agoFixed handling of unsupported instruction instrumentation (#363)
Dmitry Kovalenko [Mon, 30 Jul 2012 05:14:37 +0000 (09:14 +0400)]
Fixed handling of unsupported instruction instrumentation (#363)

11 years agoFixed 'EC_ARCH_*' defines for x86
Vasiliy Ulyanov [Fri, 27 Jul 2012 07:41:47 +0000 (11:41 +0400)]
Fixed 'EC_ARCH_*' defines for x86

11 years agoReturned magically disapeared line of code
Andreev S.V [Thu, 26 Jul 2012 12:59:12 +0000 (16:59 +0400)]
Returned magically disapeared line of code

11 years agoNew multiple handler API implementation introduced
Andreev S.V [Thu, 26 Jul 2012 11:47:43 +0000 (15:47 +0400)]
New multiple handler API implementation introduced

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Yury Morozov [Thu, 26 Jul 2012 08:35:09 +0000 (12:35 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoDlsym(dynamically loaded libraries) function handling was added.
Yury Morozov [Thu, 26 Jul 2012 08:31:20 +0000 (12:31 +0400)]
Dlsym(dynamically loaded libraries) function handling was added.
insmod dlsymmed_handlers.ko to make all dyn lib funcs to be inserted to trace.

11 years ago#define regs_return_value: check ARCH
Vyacheslav Cherkashin [Mon, 23 Jul 2012 13:36:38 +0000 (17:36 +0400)]
#define regs_return_value: check ARCH

12 years agodo_page_fault instrumentation workaround for x86 platform
Vasiliy Ulyanov [Mon, 16 Jul 2012 06:05:22 +0000 (10:05 +0400)]
do_page_fault instrumentation workaround for x86 platform

12 years agoAdded major number release
Fedin Pavel [Thu, 12 Jul 2012 15:34:41 +0000 (19:34 +0400)]
Added major number release

12 years agoMEC: fixed ret_addr obtaining (needs testing!!!)
Vasiliy Ulyanov [Thu, 12 Jul 2012 05:54:43 +0000 (09:54 +0400)]
MEC: fixed ret_addr obtaining (needs testing!!!)