platform/kernel/swap-modules.git
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)

11 years agoMerge branch 'dev' of ssh://106.109.8.71/srv/git/dbi into dev
Dmitry Kovalenko [Tue, 29 Jan 2013 15:50:43 +0000 (19:50 +0400)]
Merge branch 'dev' of ssh://106.109.8.71/srv/git/dbi into dev

Conflicts:
configure.ac
src/modules/driver/Makefile.am
src/modules/kprobe/Makefile.am

11 years agoAdd flag 'sparse': build modules with sparse
Dmitry Kovalenko [Tue, 29 Jan 2013 15:31:40 +0000 (19:31 +0400)]
Add flag 'sparse': build modules with sparse

11 years agoprint_proc_probes off
Vyacheslav Cherkashin [Tue, 29 Jan 2013 15:21:41 +0000 (19:21 +0400)]
print_proc_probes off

11 years agorename proc_p_add_dentry_probes --> sspt_procs_add_ip_data
Vyacheslav Cherkashin [Tue, 29 Jan 2013 15:14:43 +0000 (19:14 +0400)]
rename proc_p_add_dentry_probes --> sspt_procs_add_ip_data

11 years agorename proc_p_find_file_p_by_dentry --> sspt_procs_find_file_or_new
Vyacheslav Cherkashin [Tue, 29 Jan 2013 14:57:50 +0000 (18:57 +0400)]
rename proc_p_find_file_p_by_dentry --> sspt_procs_find_file_or_new

11 years agorename member 'path' on 'name' in struct sspt_file
Vyacheslav Cherkashin [Tue, 29 Jan 2013 14:48:43 +0000 (18:48 +0400)]
rename member 'path' on 'name' in struct sspt_file

11 years agochange parameter in function 'sspt_procs_find_file'
Vyacheslav Cherkashin [Tue, 29 Jan 2013 11:34:17 +0000 (15:34 +0400)]
change parameter in function 'sspt_procs_find_file'

11 years agoadd copyright
Vyacheslav Cherkashin [Tue, 29 Jan 2013 10:19:39 +0000 (14:19 +0400)]
add copyright

11 years agorename defines in headers
Vyacheslav Cherkashin [Tue, 29 Jan 2013 09:31:02 +0000 (13:31 +0400)]
rename defines in headers

11 years agoMerge branch 'dev' into new_dpf
Vyacheslav Cherkashin [Tue, 29 Jan 2013 09:14:16 +0000 (13:14 +0400)]
Merge branch 'dev' into new_dpf

11 years agoremove new_dpf.h
Vyacheslav Cherkashin [Tue, 29 Jan 2013 09:12:05 +0000 (13:12 +0400)]
remove new_dpf.h

11 years agoremove print cmd
Vyacheslav Cherkashin [Mon, 28 Jan 2013 17:15:34 +0000 (21:15 +0400)]
remove print cmd

11 years agofix func 'sspt_page_copy'
Vyacheslav Cherkashin [Mon, 28 Jan 2013 16:21:53 +0000 (20:21 +0400)]
fix func 'sspt_page_copy'

11 years agorefactoring file ip
Vyacheslav Cherkashin [Mon, 28 Jan 2013 16:00:57 +0000 (20:00 +0400)]
refactoring file ip

11 years agoFIX warnings when building ksyms module
Vyacheslav Cherkashin [Mon, 28 Jan 2013 15:22:08 +0000 (19:22 +0400)]
FIX warnings when building ksyms module

11 years agorename functions in ip
Vyacheslav Cherkashin [Mon, 28 Jan 2013 15:16:16 +0000 (19:16 +0400)]
rename functions in ip

11 years agorename functions in sspt_file
Vyacheslav Cherkashin [Mon, 28 Jan 2013 15:14:04 +0000 (19:14 +0400)]
rename functions in sspt_file

11 years agorename functions in sspt_page
Vyacheslav Cherkashin [Mon, 28 Jan 2013 15:04:32 +0000 (19:04 +0400)]
rename functions in sspt_page

11 years agorename functions in sspt_file
Vyacheslav Cherkashin [Mon, 28 Jan 2013 13:25:41 +0000 (17:25 +0400)]
rename functions in sspt_file

11 years agorename functions in sspt_procs
Vyacheslav Cherkashin [Mon, 28 Jan 2013 11:46:30 +0000 (15:46 +0400)]
rename functions in sspt_procs

11 years agorename sspt* files
Vyacheslav Cherkashin [Mon, 28 Jan 2013 11:11:44 +0000 (15:11 +0400)]
rename sspt* files

11 years agoFIX func 'page_p_del'
Vyacheslav Cherkashin [Mon, 28 Jan 2013 10:07:08 +0000 (14:07 +0400)]
FIX func 'page_p_del'

11 years agorename 'page_probes' -> 'sspt_page'
Vyacheslav Cherkashin [Mon, 28 Jan 2013 10:05:11 +0000 (14:05 +0400)]
rename 'page_probes' -> 'sspt_page'

11 years agorename 'file_probes' -> 'sspt_file'
Vyacheslav Cherkashin [Mon, 28 Jan 2013 09:36:12 +0000 (13:36 +0400)]
rename 'file_probes' -> 'sspt_file'

11 years agorename 'proc_probes' -> 'sspt_procs'
Vyacheslav Cherkashin [Mon, 28 Jan 2013 09:08:58 +0000 (13:08 +0400)]
rename 'proc_probes' -> 'sspt_procs'

11 years agocreate proc_probes files
Vyacheslav Cherkashin [Mon, 28 Jan 2013 08:06:55 +0000 (12:06 +0400)]
create proc_probes files

11 years agocreate file_probes files
Vyacheslav Cherkashin [Fri, 25 Jan 2013 15:10:22 +0000 (19:10 +0400)]
create file_probes files

11 years agocreate page_probes files
Vyacheslav Cherkashin [Fri, 25 Jan 2013 14:14:35 +0000 (18:14 +0400)]
create page_probes files

11 years agofix f615f38e21c772bc483b42aea0331437be49a1db
Vyacheslav Cherkashin [Fri, 25 Jan 2013 13:03:18 +0000 (17:03 +0400)]
fix f615f38e21c772bc483b42aea0331437be49a1db

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!