kernel/swap-modules.git
11 years agocreate ip file
Vyacheslav Cherkashin [Fri, 25 Jan 2013 11:53:51 +0000 (15:53 +0400)]
create ip file

11 years agoMerge branch 'dev' into new_dpf
Vyacheslav Cherkashin [Fri, 25 Jan 2013 08:13:50 +0000 (12:13 +0400)]
Merge branch 'dev' into new_dpf

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Thu, 24 Jan 2013 14:22:41 +0000 (18:22 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoadd 'swap_ksyms' module
Vyacheslav Cherkashin [Thu, 24 Jan 2013 14:22:24 +0000 (18:22 +0400)]
add 'swap_ksyms' module

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Imran Navruzbekov [Tue, 22 Jan 2013 14:03:26 +0000 (18:03 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoMajor device number automatic detection
Imran Navruzbekov [Fri, 18 Jan 2013 13:38:19 +0000 (17:38 +0400)]
Major device number automatic detection

Delete variable target_device_major from .conf file.
Fixed situation when not display correctly demangled function names.

11 years agofree new structure
Vyacheslav Cherkashin [Wed, 16 Jan 2013 09:56:21 +0000 (13:56 +0400)]
free new structure

11 years agoAdded pack_task_event_info function
Vasiliy Ulyanov [Tue, 15 Jan 2013 09:46:39 +0000 (13:46 +0400)]
Added pack_task_event_info function

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into new_dpf
Vyacheslav Cherkashin [Tue, 15 Jan 2013 09:29:54 +0000 (13:29 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into new_dpf

11 years agorefactoring us_ip (add functions)
Vyacheslav Cherkashin [Tue, 15 Jan 2013 09:20:18 +0000 (13:20 +0400)]
refactoring us_ip (add functions)

11 years agous_proc_ip_t --> struct us_ip
Vyacheslav Cherkashin [Mon, 14 Jan 2013 14:46:34 +0000 (18:46 +0400)]
us_proc_ip_t --> struct us_ip

11 years agospelling mistake fixed in patchko.sh
Vitaliy Cherepanov [Fri, 11 Jan 2013 05:46:04 +0000 (09:46 +0400)]
spelling mistake fixed in patchko.sh

11 years agoadded message to patchko.sh on patching error:
Vitaliy Cherepanov [Fri, 11 Jan 2013 05:30:48 +0000 (09:30 +0400)]
added message to patchko.sh on patching error:
 -> CHECK YOUR KERNELL USED ON COMPILE SWAP IF YOU READ IT

11 years agorefactoring func 'send_plt'
Vyacheslav Cherkashin [Fri, 28 Dec 2012 16:13:12 +0000 (20:13 +0400)]
refactoring func 'send_plt'

11 years agoadd plt
Vyacheslav Cherkashin [Thu, 27 Dec 2012 08:59:24 +0000 (12:59 +0400)]
add plt

11 years agorefactoring func 'add_proc_probes'
Vyacheslav Cherkashin [Wed, 26 Dec 2012 14:32:41 +0000 (18:32 +0400)]
refactoring func 'add_proc_probes'

11 years agorefctoring
Vyacheslav Cherkashin [Wed, 26 Dec 2012 12:29:31 +0000 (16:29 +0400)]
refctoring

11 years agodlsym in libonly mode is working
Vyacheslav Cherkashin [Wed, 26 Dec 2012 11:36:59 +0000 (15:36 +0400)]
dlsym in libonly mode is working

11 years agoremove task_inst_info
Vyacheslav Cherkashin [Thu, 20 Dec 2012 12:46:01 +0000 (16:46 +0400)]
remove task_inst_info

11 years agoremove old otg probe in US
Vyacheslav Cherkashin [Thu, 20 Dec 2012 10:56:27 +0000 (14:56 +0400)]
remove old otg probe in US

11 years agoMerge branch 'dev' into new_dpf
Vyacheslav Cherkashin [Thu, 20 Dec 2012 07:38:17 +0000 (11:38 +0400)]
Merge branch 'dev' into new_dpf

11 years agootg probe new release
Vyacheslav Cherkashin [Thu, 20 Dec 2012 07:26:00 +0000 (11:26 +0400)]
otg probe new release

11 years agoadd runtime US probes
Vyacheslav Cherkashin [Tue, 18 Dec 2012 16:50:09 +0000 (20:50 +0400)]
add runtime US probes

11 years agoarray files -> list files
Vyacheslav Cherkashin [Tue, 18 Dec 2012 10:15:14 +0000 (14:15 +0400)]
array files -> list files

11 years agoMerge branch 'buffer_fix' into dev
Vasiliy Ulyanov [Mon, 17 Dec 2012 06:40:46 +0000 (10:40 +0400)]
Merge branch 'buffer_fix' into dev

11 years agoadd flag for retprobe
Vyacheslav Cherkashin [Fri, 14 Dec 2012 10:29:07 +0000 (14:29 +0400)]
add flag for retprobe

11 years agofix commit 891ef9da28edb639e706fd5942ef09520fa602fd
Vyacheslav Cherkashin [Fri, 14 Dec 2012 09:38:47 +0000 (13:38 +0400)]
fix commit 891ef9da28edb639e706fd5942ef09520fa602fd

11 years agoadd function 'retprobe_init'
Vyacheslav Cherkashin [Fri, 14 Dec 2012 09:33:16 +0000 (13:33 +0400)]
add function 'retprobe_init'

11 years agomini refactoring
Vyacheslav Cherkashin [Thu, 13 Dec 2012 09:52:35 +0000 (13:52 +0400)]
mini refactoring

11 years agofix default handler on do_page_fault (for ARM)
Vyacheslav Cherkashin [Wed, 12 Dec 2012 15:28:53 +0000 (19:28 +0400)]
fix default handler on do_page_fault (for ARM)

11 years agorefactoring:
Vyacheslav Cherkashin [Wed, 12 Dec 2012 09:02:50 +0000 (13:02 +0400)]
refactoring:

 - remove costom handler
 - remove lib sort
 - member 'installed' of struct us_proc_ip_t using in register_usprobe
   and unregister_usprobe

11 years agorefactoring uprobes
Vyacheslav Cherkashin [Wed, 12 Dec 2012 08:00:47 +0000 (12:00 +0400)]
refactoring uprobes

11 years agofix optimization access_process_vm_atomic
Vyacheslav Cherkashin [Tue, 11 Dec 2012 16:07:27 +0000 (20:07 +0400)]
fix optimization access_process_vm_atomic

11 years agoRemoved multiple buffer functionality
Vasiliy Ulyanov [Mon, 10 Dec 2012 09:42:37 +0000 (13:42 +0400)]
Removed multiple buffer functionality

11 years agooptimization access_process_vm_atomic
Vyacheslav Cherkashin [Fri, 7 Dec 2012 06:27:59 +0000 (10:27 +0400)]
optimization access_process_vm_atomic

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vitaliy Cherepanov [Thu, 6 Dec 2012 15:15:15 +0000 (19:15 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agoanti system.map redesined
Vitaliy Cherepanov [Thu, 6 Dec 2012 15:11:19 +0000 (19:11 +0400)]
anti system.map redesined

modules function address init moved to storage.c (dbi_register_handlers_module)

11 years agoRemoved DEX-related code from link_bundle()
Imran Navruzbekov [Thu, 6 Dec 2012 15:00:25 +0000 (19:00 +0400)]
Removed DEX-related code from link_bundle()

3a118fc8061259c4a8abe8699b5f5af195d3ca2d-related.

11 years agorefactoring function 'do_page_fault_ret_pre_code'
Vyacheslav Cherkashin [Wed, 5 Dec 2012 16:06:12 +0000 (20:06 +0400)]
refactoring function 'do_page_fault_ret_pre_code'

11 years agoMerge branch 'nosmap' into dev
Nikita Kalyazin [Wed, 5 Dec 2012 07:13:27 +0000 (11:13 +0400)]
Merge branch 'nosmap' into dev

Conflicts:
src/dalvik_probes/Makefile
src/modules/dalvik_handlers/handlers.c

11 years agoMerge branch 'dev' into new_dpf
Vyacheslav Cherkashin [Tue, 4 Dec 2012 17:34:06 +0000 (21:34 +0400)]
Merge branch 'dev' into new_dpf

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

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Tue, 4 Dec 2012 15:20:45 +0000 (19:20 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agofix otg_probe (file busy)
Vyacheslav Cherkashin [Tue, 4 Dec 2012 15:13:32 +0000 (19:13 +0400)]
fix otg_probe (file busy)

11 years agoremoved module_common depens from files
Vitaliy Cherepanov [Tue, 4 Dec 2012 09:50:05 +0000 (13:50 +0400)]
removed module_common depens from files

   src/modules/dalvik_handlers/handlers.c
   src/tools/gpmu/probes/handlers.c
   src/tools/sampler/sampler.c
   src/tools/uipa/probes/handlers.c

11 years agoDeleted files with deprecated code
Imran Navruzbekov [Tue, 4 Dec 2012 08:32:29 +0000 (12:32 +0400)]
Deleted files with deprecated code

11 years agoremoved /src/modules/driver/module_common.h
Vitaliy Cherepanov [Tue, 4 Dec 2012 08:11:08 +0000 (12:11 +0400)]
removed /src/modules/driver/module_common.h
defines moved to /src/modules/driver/module.h

11 years agosmall fix
Vitaliy Cherepanov [Tue, 4 Dec 2012 07:34:35 +0000 (11:34 +0400)]
small fix

added src/modules/driver/module_common.h
removed probe_name.inc depens from dlsymmed_handlers.c + some debugs deleted

11 years agoSystem.map depends removing (first revision)
Vitaliy Cherepanov [Tue, 4 Dec 2012 06:58:44 +0000 (10:58 +0400)]
System.map depends removing (first revision)

function addresses maps for probes are generates on modules startup
create_probes.pl generate probes tables with addresses equal 0
addresses takes from probes array data (struct handler_map handlers) in probes functions
lookup_name function address export by swap_kprobes.ko
lookup_name function address calculate by shell script and pass to driver throw run parameters
struct handler_map definition moved from all files to driver/module_common.h

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Imran Navruzbekov [Mon, 3 Dec 2012 10:59:42 +0000 (14:59 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agofix commit 7d5cbcc989428164df34d5cc41334f87fd4fc0e2
Vyacheslav Cherkashin [Mon, 3 Dec 2012 08:04:00 +0000 (12:04 +0400)]
fix commit 7d5cbcc989428164df34d5cc41334f87fd4fc0e2

11 years agouse function 'dentry_by_path'
Vyacheslav Cherkashin [Mon, 3 Dec 2012 07:34:43 +0000 (11:34 +0400)]
use function 'dentry_by_path'

rename function 'get_dentry' -> 'dentry_by_path'
and used she in file storage.c

11 years agoporting dlsymmed_handlers on x86
Vyacheslav Cherkashin [Fri, 30 Nov 2012 14:57:26 +0000 (18:57 +0400)]
porting dlsymmed_handlers on x86

11 years ago... %) ... fix 875e37afe61583c4a0901ec8482ec4aef1694328
Vyacheslav Cherkashin [Thu, 29 Nov 2012 06:04:48 +0000 (10:04 +0400)]
... %) ... fix 875e37afe61583c4a0901ec8482ec4aef1694328

11 years agofixed function '__switch_to' on x86
Vyacheslav Cherkashin [Thu, 29 Nov 2012 05:54:04 +0000 (09:54 +0400)]
fixed function '__switch_to' on x86

11 years agodisabled debug in insmod and patchko if using on target
Vitaliy Cherepanov [Tue, 27 Nov 2012 14:38:49 +0000 (18:38 +0400)]
disabled debug in insmod and patchko if using on target

modified:   src/modules/driver/insmod.sh
modified:   src/modules/driver/patchko.sh

11 years agopatchko.sh and insmod.sh moved to modules driver
Vitaliy Cherepanov [Tue, 27 Nov 2012 13:55:18 +0000 (17:55 +0400)]
patchko.sh and insmod.sh moved to modules driver
try to fix sa tests

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vitaliy Cherepanov [Mon, 26 Nov 2012 14:42:49 +0000 (18:42 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years ago auto patching modules system added (test version)
Vitaliy Cherepanov [Mon, 26 Nov 2012 14:42:16 +0000 (18:42 +0400)]
auto patching modules system added (test version)
    do not use insmod command, use insmod.sh instead of insmod

    it's patch kernel version in module which for it is compiled
    to kernel version it is started on
    (user friendly level up)

11 years agoNew sampling meta architecture introduced!
Andreev S.V [Mon, 26 Nov 2012 11:00:16 +0000 (15:00 +0400)]
New sampling meta architecture introduced!

11 years agoTicket #470 fix (otg probes from dlsymmed handler now removed correctly (I hope))
Alexander Aksenov [Thu, 22 Nov 2012 16:48:59 +0000 (20:48 +0400)]
Ticket #470 fix (otg probes from dlsymmed handler now removed correctly (I hope))

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

11 years agoNow dlsymmed_handler correctly removes otg probes
Alexander Aksenov [Tue, 20 Nov 2012 11:00:55 +0000 (15:00 +0400)]
Now dlsymmed_handler correctly removes otg probes

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vitaliy Cherepanov [Tue, 20 Nov 2012 09:39:31 +0000 (13:39 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

Conflicts:
src/daemon/Makefile.am

11 years agoSmall refactoring
Alexander Aksenov [Fri, 16 Nov 2012 15:39:30 +0000 (19:39 +0400)]
Small refactoring

11 years agoFixed bundle parsing (app probes dropping in libonly)
Alexander Aksenov [Wed, 14 Nov 2012 13:47:12 +0000 (17:47 +0400)]
Fixed bundle parsing (app probes dropping in libonly)

11 years agofixed 'ip->offset'
Vyacheslav Cherkashin [Wed, 14 Nov 2012 09:47:33 +0000 (13:47 +0400)]
fixed 'ip->offset'

11 years agoMerge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev
Vyacheslav Cherkashin [Wed, 14 Nov 2012 07:17:19 +0000 (11:17 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/dbi into dev

11 years agofixed us probes in thumb2 mode
Vyacheslav Cherkashin [Wed, 14 Nov 2012 07:16:19 +0000 (11:16 +0400)]
fixed us probes in thumb2 mode

a one-time activation

11 years agoNow null pointer returned by find_vma() correctly handled
Alexander Aksenov [Tue, 13 Nov 2012 12:22:08 +0000 (16:22 +0400)]
Now null pointer returned by find_vma() correctly handled

11 years agonew parsing (via tmp_hash_table)
Vyacheslav Cherkashin [Tue, 13 Nov 2012 07:21:47 +0000 (11:21 +0400)]
new parsing (via tmp_hash_table)

11 years agoip saving in list
Vyacheslav Cherkashin [Tue, 13 Nov 2012 05:14:45 +0000 (09:14 +0400)]
ip saving in list

11 years agoRemoved debug printk
Alexander Aksenov [Mon, 12 Nov 2012 15:21:25 +0000 (19:21 +0400)]
Removed debug printk

11 years agoNow plt functions instrumentation differs app from lib by vma flag
Alexander Aksenov [Mon, 12 Nov 2012 14:41:59 +0000 (18:41 +0400)]
Now plt functions instrumentation differs app from lib by vma flag

12 years agoSmall plt refactoring
Alexander Aksenov [Fri, 9 Nov 2012 18:26:58 +0000 (22:26 +0400)]
Small plt refactoring

12 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)

12 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

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

12 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

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

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

12 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

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

12 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

12 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.

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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

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

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

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

12 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'

12 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

12 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'

12 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'

12 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