kernel/swap-modules.git
11 years ago[REFACTOR] rename (un)register_uprobe()
Vyacheslav Cherkashin [Mon, 18 Mar 2013 04:59:22 +0000 (08:59 +0400)]
[REFACTOR] rename (un)register_uprobe()

__register_uprobe() --> dbi_register_uprobe()
unregister_uprobe() --> dbi_unregister_uprobe()

11 years ago[REFACTOR] create longjmp_break_uhandler()
Vyacheslav Cherkashin [Fri, 15 Mar 2013 13:59:14 +0000 (17:59 +0400)]
[REFACTOR] create longjmp_break_uhandler()

11 years ago[REFACTOR] kprobe_handler()
Vyacheslav Cherkashin [Fri, 15 Mar 2013 12:59:16 +0000 (16:59 +0400)]
[REFACTOR] kprobe_handler()

11 years ago[REFACTOR] decompose setjmp_pre_handler()
Vyacheslav Cherkashin [Wed, 13 Mar 2013 08:21:30 +0000 (12:21 +0400)]
[REFACTOR] decompose setjmp_pre_handler()

on setjmp_pre_handler() and setjmp_upre_handler()

11 years ago[REFACTOR] remove not the caller code
Vyacheslav Cherkashin [Tue, 12 Mar 2013 16:52:17 +0000 (20:52 +0400)]
[REFACTOR] remove not the caller code

11 years ago[REFACTOR] move uprobe_insn_slot_table[]
Vyacheslav Cherkashin [Tue, 12 Mar 2013 15:20:04 +0000 (19:20 +0400)]
[REFACTOR] move uprobe_insn_slot_table[]

from src/modules/kprobe/dbi_insn_slots.c
to src/modules/uprobe/swap_uprobes.c

11 years ago[REFACTOR] create uprobe_handler()
Vyacheslav Cherkashin [Tue, 12 Mar 2013 12:29:11 +0000 (16:29 +0400)]
[REFACTOR] create uprobe_handler()

move code from kprobe_handler() to uprobe_handler()

11 years ago[REFACTOR] add parameter page_list in get_insn_slot()
Vyacheslav Cherkashin [Tue, 12 Mar 2013 09:18:21 +0000 (13:18 +0400)]
[REFACTOR] add parameter page_list in get_insn_slot()

11 years ago[REFACTOR] decompose arch_remove_kprobe()
Vyacheslav Cherkashin [Tue, 12 Mar 2013 09:00:38 +0000 (13:00 +0400)]
[REFACTOR] decompose arch_remove_kprobe()

on arch_remove_kprobe() and arch_remove_uprobe()

11 years ago[REFACTOR] move register undef_hook for US in uprobe module
Vyacheslav Cherkashin [Tue, 12 Mar 2013 07:05:21 +0000 (11:05 +0400)]
[REFACTOR] move register undef_hook for US in uprobe module

11 years ago[REFACTOR] extract arch specific code from kprobe to uprobe
Vyacheslav Cherkashin [Mon, 11 Mar 2013 12:33:54 +0000 (16:33 +0400)]
[REFACTOR] extract arch specific code from kprobe to uprobe

11 years ago[REFACTOR] move dbi_uprobes from swap_kprobe module to swap_uprobe module
Vyacheslav Cherkashin [Thu, 7 Mar 2013 10:27:10 +0000 (14:27 +0400)]
[REFACTOR] move dbi_uprobes from swap_kprobe module to swap_uprobe module

11 years ago[REFACTOR] create empty swap_uprobe module
Vyacheslav Cherkashin [Thu, 7 Mar 2013 08:28:38 +0000 (12:28 +0400)]
[REFACTOR] create empty swap_uprobe module

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Kudrjavtsev Nickita [Tue, 5 Mar 2013 11:49:12 +0000 (15:49 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoif swap.ini has undefined path to lib or app driver will return this wrong path
Kudrjavtsev Nickita [Tue, 5 Mar 2013 11:46:09 +0000 (15:46 +0400)]
if swap.ini has undefined path to lib or app driver will return this wrong path

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Mon, 4 Mar 2013 13:13:59 +0000 (17:13 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoFIX stack offset in uretprobe disarming
Vyacheslav Cherkashin [Mon, 4 Mar 2013 13:12:09 +0000 (17:12 +0400)]
FIX stack offset in uretprobe disarming

11 years agoRemove compile errors/warnings for some platforms (buffer module)
Vasiliy Ulyanov [Mon, 4 Mar 2013 06:12:12 +0000 (10:12 +0400)]
Remove compile errors/warnings for some platforms (buffer module)

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vasiliy Ulyanov [Mon, 4 Mar 2013 05:38:04 +0000 (09:38 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoAdd buffer char device skeleton
Vasiliy Ulyanov [Mon, 4 Mar 2013 05:37:35 +0000 (09:37 +0400)]
Add buffer char device skeleton

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Fri, 1 Mar 2013 09:37:23 +0000 (13:37 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoremove deadlock when disarming of children
Vyacheslav Cherkashin [Fri, 1 Mar 2013 08:17:20 +0000 (12:17 +0400)]
remove deadlock when disarming of children

recursive deadlock when call function 'dbi_disarm_urp_inst_for_task'

11 years agoAdded functionality for trap (undef. instr) overhead calculation (ARM)
Andreev S.V [Fri, 1 Mar 2013 08:05:06 +0000 (12:05 +0400)]
Added functionality for trap (undef. instr) overhead calculation (ARM)

When compiled with support of this functionality swap kprobe module will send
SIGUSR1 signal to userspace application after triggering 100000 traps
(undef.instructions). After that it can calculate the overhead of one trap
(transition from user to kernel and from kernel to user) as a difference of
time when catching signal SIGUSR1 in signal handler and time before first
undef.instruction which is divided on amount of traps (100000).

11 years agooptimization of pack_event_info
Anastasia Lyupa [Thu, 28 Feb 2013 15:17:46 +0000 (19:17 +0400)]
optimization of pack_event_info

remove memset() from pack_task_event_info()

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Wed, 27 Feb 2013 11:44:15 +0000 (15:44 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoadd 'synchronize_sched' in func 'dbi_unregister_kprobe'
Vyacheslav Cherkashin [Wed, 27 Feb 2013 11:44:03 +0000 (15:44 +0400)]
add 'synchronize_sched' in func 'dbi_unregister_kprobe'

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vasiliy Ulyanov [Wed, 27 Feb 2013 07:59:16 +0000 (11:59 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoFix user space retprobe disarming
Vasiliy Ulyanov [Wed, 27 Feb 2013 07:53:00 +0000 (11:53 +0400)]
Fix user space retprobe disarming

For functions which do not push return address on stack

11 years agoTotaly remove Makefiles without extension '.am'
Dmitry Kovalenko [Wed, 27 Feb 2013 06:06:03 +0000 (10:06 +0400)]
Totaly remove Makefiles without extension '.am'

11 years agoSmall rm fix for directory deletion
Vyacheslav Barinov [Tue, 26 Feb 2013 12:55:11 +0000 (16:55 +0400)]
Small rm fix for directory deletion

11 years agoremove uretprobes in children task
Vyacheslav Cherkashin [Wed, 20 Feb 2013 14:56:46 +0000 (18:56 +0400)]
remove uretprobes in children task

11 years agoFix __switch_to instrumentation
Vasiliy Ulyanov [Tue, 19 Feb 2013 10:24:34 +0000 (14:24 +0400)]
Fix __switch_to instrumentation

Only the next task is patched instead of doing it for all
threads and processes

11 years agoSubstitute panic(...) with printk(...) in dbi_unregister_uretprobe
Vasiliy Ulyanov [Tue, 19 Feb 2013 10:14:01 +0000 (14:14 +0400)]
Substitute panic(...) with printk(...) in dbi_unregister_uretprobe

Sometimes the stack cannot be recovered after userspace instrumentation
because the corresponding function does not save LR value. In this case
it is better to print a warning instead of calling panic (the worst that
can happen is the instrumented application crashing with segmentation
fault). Currently the function _start is known to cause such an error.
But actually it never returns so it is save to ignore this issue and
just recycle the coresponding retprobe instance.

11 years agoFix sparce warnings in kprobe
Alexander Aksenov [Fri, 15 Feb 2013 12:43:56 +0000 (16:43 +0400)]
Fix sparce warnings in kprobe

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Thu, 14 Feb 2013 16:42:05 +0000 (20:42 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agocheck for correct values
Vyacheslav Cherkashin [Thu, 14 Feb 2013 16:41:23 +0000 (20:41 +0400)]
check for correct values

11 years agoFix new sparce warnings in kprobe
Alexander Aksenov [Thu, 14 Feb 2013 16:27:46 +0000 (20:27 +0400)]
Fix new sparce warnings in kprobe

11 years agokernel define 'pgd_offset_k' redefinition
Vyacheslav Cherkashin [Thu, 14 Feb 2013 16:26:41 +0000 (20:26 +0400)]
kernel define 'pgd_offset_k' redefinition

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Alexander Aksenov [Thu, 14 Feb 2013 15:57:31 +0000 (19:57 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoFix new sparce warnings
Alexander Aksenov [Thu, 14 Feb 2013 15:57:21 +0000 (19:57 +0400)]
Fix new sparce warnings

11 years agoremove US probes set message
Vyacheslav Cherkashin [Thu, 14 Feb 2013 14:47:03 +0000 (18:47 +0400)]
remove US probes set message

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Alexander Aksenov [Wed, 13 Feb 2013 15:41:08 +0000 (19:41 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoFix code style in dbi_kprobe_deps.c
Alexander Aksenov [Wed, 13 Feb 2013 15:40:59 +0000 (19:40 +0400)]
Fix code style in dbi_kprobe_deps.c

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vasiliy Ulyanov [Wed, 13 Feb 2013 14:53:10 +0000 (18:53 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Alexander Aksenov [Wed, 13 Feb 2013 14:52:50 +0000 (18:52 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoFix for commit 15b31911841bc8ebbd779a658dcde6e8d104e268
Alexander Aksenov [Wed, 13 Feb 2013 14:52:45 +0000 (18:52 +0400)]
Fix for commit 15b31911841bc8ebbd779a658dcde6e8d104e268

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vasiliy Ulyanov [Wed, 13 Feb 2013 13:34:49 +0000 (17:34 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vasiliy Ulyanov [Wed, 13 Feb 2013 13:13:52 +0000 (17:13 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

Conflicts:
src/modules/driver/us_proc_inst.h
src/modules/kprobe/arch/dbi_kprobes.c
src/modules/kprobe/dbi_kprobes.c

11 years agoFix deferred retprobes deletion
Vasiliy Ulyanov [Wed, 13 Feb 2013 12:55:15 +0000 (16:55 +0400)]
Fix deferred retprobes deletion

Every retprobe instance now saves current sp value which is used to
recover original function's return address.  Additionally this modification
may fix the issue with double return events for __switch_to function and also
possible memory leaks with __switch_to/do_exit retprobes instances.

11 years agoAdd possibility to retrieve userspace registers saved before syscall entry
Vasiliy Ulyanov [Wed, 13 Feb 2013 08:01:38 +0000 (12:01 +0400)]
Add possibility to retrieve userspace registers saved before syscall entry

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Tue, 12 Feb 2013 14:06:01 +0000 (18:06 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

Conflicts:
src/modules/driver/events.h

11 years agoremove old handlers setting method
Vyacheslav Cherkashin [Tue, 12 Feb 2013 13:57:44 +0000 (17:57 +0400)]
remove old handlers setting method

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Alexander Aksenov [Tue, 12 Feb 2013 13:55:30 +0000 (17:55 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoFinal sparce warinigs fix for kprobe
Alexander Aksenov [Tue, 12 Feb 2013 13:55:21 +0000 (17:55 +0400)]
Final sparce warinigs fix for kprobe

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vitaliy Cherepanov [Tue, 12 Feb 2013 13:06:35 +0000 (17:06 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoFix sparce warnings for kprobe module
Alexander Aksenov [Tue, 12 Feb 2013 12:00:15 +0000 (16:00 +0400)]
Fix sparce warnings for kprobe module

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vitaliy Cherepanov [Tue, 12 Feb 2013 04:34:50 +0000 (08:34 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoFix sparce warnings for sspt and us_proc_inst
Alexander Aksenov [Mon, 11 Feb 2013 10:07:14 +0000 (14:07 +0400)]
Fix sparce warnings for sspt and us_proc_inst

11 years agoFix errors in dbi_kprobes_deps module
Alexander Aksenov [Sat, 9 Feb 2013 15:32:52 +0000 (19:32 +0400)]
Fix errors in dbi_kprobes_deps module

11 years agoFix pointer type recieved by mec_post_event
Alexander Aksenov [Sat, 9 Feb 2013 15:31:55 +0000 (19:31 +0400)]
Fix pointer type recieved by mec_post_event

11 years agogpKernProbe static now
Alexander Aksenov [Sat, 9 Feb 2013 15:30:43 +0000 (19:30 +0400)]
gpKernProbe static now

11 years agoFix sparce warnings in module module
Alexander Aksenov [Sat, 9 Feb 2013 15:29:40 +0000 (19:29 +0400)]
Fix sparce warnings in module module

11 years agoFix getting char from va_args
Alexander Aksenov [Sat, 9 Feb 2013 15:29:03 +0000 (19:29 +0400)]
Fix getting char from va_args

11 years agoFix functions declaration in us_proc_inst and in other files
Alexander Aksenov [Sat, 9 Feb 2013 15:27:50 +0000 (19:27 +0400)]
Fix functions declaration in us_proc_inst and in other files

11 years agoFix sparse warnings in us_proc_inst #2
Alexander Aksenov [Fri, 8 Feb 2013 13:20:55 +0000 (17:20 +0400)]
Fix sparse warnings in us_proc_inst #2

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Fri, 8 Feb 2013 12:45:44 +0000 (16:45 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoGlobal fix sparse warnings for sspt module
Alexander Aksenov [Thu, 7 Feb 2013 16:23:05 +0000 (20:23 +0400)]
Global fix sparse warnings for sspt module

11 years agoRemove get_file_probes function declaration from storage
Alexander Aksenov [Thu, 7 Feb 2013 13:56:42 +0000 (17:56 +0400)]
Remove get_file_probes function declaration from storage

11 years agoFix part of sparce warnings in module.c
Alexander Aksenov [Thu, 7 Feb 2013 13:23:29 +0000 (17:23 +0400)]
Fix part of sparce warnings in module.c

11 years agoFix sparce warnings in sspt modules
Alexander Aksenov [Thu, 7 Feb 2013 13:04:44 +0000 (17:04 +0400)]
Fix sparce warnings in sspt modules

11 years agoFix sparse warinings in storage
Alexander Aksenov [Wed, 6 Feb 2013 16:36:35 +0000 (20:36 +0400)]
Fix sparse warinings in storage

11 years agoRemoved useless case
Alexander Aksenov [Wed, 6 Feb 2013 16:36:02 +0000 (20:36 +0400)]
Removed useless case

11 years agoFIX "let" remooved from patchko.sh for compability with shell
Vitaliy Cherepanov [Wed, 6 Feb 2013 16:12:38 +0000 (20:12 +0400)]
FIX "let" remooved from patchko.sh for compability with shell

11 years agoFIX commit 053d708e
Vyacheslav Cherkashin [Wed, 6 Feb 2013 16:02:56 +0000 (20:02 +0400)]
FIX commit 053d708e

11 years agoFix sparse warnings in probes_manager.c
Alexander Aksenov [Wed, 6 Feb 2013 14:06:15 +0000 (18:06 +0400)]
Fix sparse warnings in probes_manager.c

11 years agoOne more fix sparse warnings in probes.c
Alexander Aksenov [Wed, 6 Feb 2013 13:53:45 +0000 (17:53 +0400)]
One more fix sparse warnings in probes.c

11 years agoFix sparse warnings in probes.c
Alexander Aksenov [Wed, 6 Feb 2013 13:50:08 +0000 (17:50 +0400)]
Fix sparse warnings in probes.c

11 years agoFix sparse warnings in dbi_kprobe.h
Alexander Aksenov [Wed, 6 Feb 2013 13:36:05 +0000 (17:36 +0400)]
Fix sparse warnings in dbi_kprobe.h

11 years agoFix sparse warnings in device_driver module
Alexander Aksenov [Wed, 6 Feb 2013 12:53:38 +0000 (16:53 +0400)]
Fix sparse warnings in device_driver module

11 years agoFix sparce warnings in ec module
Alexander Aksenov [Wed, 6 Feb 2013 12:20:47 +0000 (16:20 +0400)]
Fix sparce warnings in ec module

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Wed, 6 Feb 2013 11:58:30 +0000 (15:58 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoFIX vma checking
Vyacheslav Cherkashin [Wed, 6 Feb 2013 11:57:14 +0000 (15:57 +0400)]
FIX vma checking

11 years agoFIX added patchko.sh busybox compability
Vitaliy Cherepanov [Wed, 6 Feb 2013 08:59:37 +0000 (12:59 +0400)]
FIX added patchko.sh busybox compability

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Tue, 5 Feb 2013 15:05:22 +0000 (19:05 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoFIX instrumentation '__switch_to' error
Vyacheslav Cherkashin [Tue, 5 Feb 2013 15:03:07 +0000 (19:03 +0400)]
FIX instrumentation '__switch_to' error

add processing critical sections

11 years agoFIX func 'kretprobe_assert'
Vyacheslav Cherkashin [Tue, 5 Feb 2013 14:23:02 +0000 (18:23 +0400)]
FIX func 'kretprobe_assert'

11 years agoFix sparse warnings in events.h
Alexander Aksenov [Tue, 5 Feb 2013 13:04:48 +0000 (17:04 +0400)]
Fix sparse warnings in events.h

11 years agoFIX retprobe in libonly mode
Vyacheslav Cherkashin [Mon, 4 Feb 2013 12:43:04 +0000 (16:43 +0400)]
FIX retprobe in libonly mode

11 years agoFIX install probes in unhandled memory
Vyacheslav Cherkashin [Mon, 4 Feb 2013 11:33:47 +0000 (15:33 +0400)]
FIX install probes in unhandled memory

11 years agoupdate header info
Vyacheslav Cherkashin [Mon, 4 Feb 2013 09:00:36 +0000 (13:00 +0400)]
update header info

11 years agoredesign java
Vyacheslav Cherkashin [Mon, 4 Feb 2013 08:46:26 +0000 (12:46 +0400)]
redesign java

move LIBDVM_ENTRY, LIBDVM_RETURN from .h to .c

11 years agoFIX compiling java instrumentation
Vyacheslav Cherkashin [Fri, 1 Feb 2013 11:44:16 +0000 (15:44 +0400)]
FIX compiling java instrumentation

11 years agoadd support <= KERNEL_VERSION(2, 6, 36)
Vyacheslav Cherkashin [Fri, 1 Feb 2013 08:48:55 +0000 (12:48 +0400)]
add support <= KERNEL_VERSION(2, 6, 36)

11 years agoFIX check user-space instrumentation parameter
Vyacheslav Cherkashin [Thu, 31 Jan 2013 12:58:00 +0000 (16:58 +0400)]
FIX check user-space instrumentation parameter

11 years agoFIX buildi memcheck
Vyacheslav Cherkashin [Wed, 30 Jan 2013 17:00:18 +0000 (21:00 +0400)]
FIX buildi memcheck

11 years agoMerge branch 'new_dpf' into dev
Vyacheslav Cherkashin [Wed, 30 Jan 2013 15:43:41 +0000 (19:43 +0400)]
Merge branch 'new_dpf' into dev

not working function body instrumentation

11 years agoadd java instrumentation
Vyacheslav Cherkashin [Wed, 30 Jan 2013 14:50:28 +0000 (18:50 +0400)]
add java instrumentation

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vasiliy Ulyanov [Wed, 30 Jan 2013 09:44:50 +0000 (13:44 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoMEC: redesign for swap_backtracer module usage
Vasiliy Ulyanov [Wed, 30 Jan 2013 09:44:40 +0000 (13:44 +0400)]
MEC: redesign for swap_backtracer module usage

11 years agoFix modules Makefiles (sparse option)
Dmitry Kovalenko [Tue, 29 Jan 2013 16:12:34 +0000 (20:12 +0400)]
Fix modules Makefiles (sparse option)