Commit graph

136 commits

Author SHA1 Message Date
skuater
13ba5d0742 Implement step over rep instructions 2014-10-23 00:46:19 +02:00
pancake
ec2be7a214 Fix 'dcc' 2014-10-13 14:52:33 +02:00
pancake
13e504fd60 Use more SDB into rsyscall module 2014-10-13 05:02:24 +02:00
pancake
5c07ff254f Fix 'dcs' 2014-10-09 18:31:55 +02:00
pancake
fb8336f7d0 Add dbg.{forks|clone|execs} ptrace options (linux-only atm) 2014-10-09 01:21:49 +02:00
pancake
a0e609e40d Fix ARM swstepping and breakpoints, add dbg.bpsize 2014-09-26 13:57:03 +02:00
pancake
a50af2ad22 Fix step over left breakpoint 2014-09-17 17:57:30 +02:00
LemonBoy
76fa1fac1c Reap the breakpoint list correctly 2014-09-17 17:57:27 +02:00
LemonBoy
35945e059c Use the computed register size when requesting registers from host.
Fix a handful of warnings.
2014-09-17 17:57:24 +02:00
LemonBoy
9a90664b2a Fix r_debug_step_over 2014-09-17 17:57:21 +02:00
LemonBoy
9fa0766f21 More error checking 2014-09-17 17:57:17 +02:00
LemonBoy
f1bf11275a Optimize r_debug_continue_until 2014-09-17 17:57:11 +02:00
LemonBoy
707089c3a9 Fix various debugger operations. Fix a ptrace-related bug. 2014-09-17 17:57:08 +02:00
pancake
29c3e1ba7a Fix more CIDs assigned to me 2014-08-01 12:07:08 +02:00
pancake
c79ef3b53d Refix 'dcs' and enhace '?' colorized help 2014-06-14 02:28:49 +02:00
pancake
148733b7a1 Add linux-arm64 reg profile, fix linux-arm systracing. Handle multiple syscall stoppers in 'dcs' 2014-06-14 02:02:58 +02:00
pancake
af97eaf7f7 Initial refix 'di' for osx, add missing newline in 'psi' 2014-06-05 03:46:17 +02:00
pancake
00d283a398 Fix all latest coverity issues 2014-06-04 23:57:24 +02:00
pancake
2e789678de Implement RDebugInfo (only for linux atm) 2014-06-04 04:12:11 +02:00
jvoisin
e43561f9b2 Fix CID 1135052 2014-05-10 02:49:34 +02:00
jvoisin
4d38a2522d Fix CID 1135027 2014-05-10 02:47:50 +02:00
jvoisin
36fd4b8dd7 Fix CID 1135026 2014-05-10 02:47:20 +02:00
jvoisin
1682657320 Fix CID 1134830 2014-04-25 23:04:02 +00:00
pancake
836803d786 Sdbize RBin.list_archs(). Expose addrinfo in 'k bin/fd.#/addrinfo/*' 2014-04-23 03:57:13 +02:00
condret
9c154d003c fix #629 and add some warnings 2014-03-21 03:54:12 +01:00
pancake
ce1a46b6e0 Fix build and do some more work towards DRX support 2014-01-28 04:38:02 +01:00
pancake
322a8a7654 Fix build for latest refactoring 2013-12-06 05:18:57 +01:00
Fedor Sakharov
13547a0bbf Fix #370 - Some memory leaks
Fix memory leak in r_config_new.
  cfg->nodes->free should be a custom function that frees RConfigNode
  structure correctly, but not the ordinary free.
Fix memory leak in r_anal_new.
  In r_anal_free need to call r_meta_free to free the
  whole RMeta structure, not only it's data list.
  The r_meta_free doesn't seem to have any leak itself.
Fix leaking anal->hints.
Fix memory leaks in r_cmd_free
Fix memory leak in r_cmd_plugin_init
Fix memleak in r_lib_new
Fix memory leak in r_io_plugin_init
Fix memory leak in r_debug_trace_new
Fix memory leaks in r_io_new
Fix memory leak in r_graph_new
Fix memory leak in r_sys_getdir.
  Note: calling getcwd with dir=NULL is a Linux-specific extension
  of POSIX, not sure if works on other non-windows platforms.
Fixes a typo
2013-11-19 01:51:40 +01:00
pancake
0e470adc27 Fix #258 - Hide SIGTRAP signals 2013-11-03 03:05:00 +01:00
pancake
708dc29b3b Fix #304 - debugger breakpoints not handled properly on Linux 2013-11-03 02:48:13 +01:00
pancake
d814a5b01b Fix #264 - Add a command to display changed registers 2013-10-20 02:09:03 +02:00
pancake
9a6c149768 Implement 'dd-' using code injection 2013-09-18 03:46:50 +02:00
pancake
7b931261fe Fix #184 - support skip+cont attributes in 'dk' for signal handling 2013-09-18 02:55:51 +02:00
pancake
7403b1d671 Implement 'dk' to handle signal events in debugger 2013-09-18 02:11:23 +02:00
pancake
0c108154b5 Add 'gs' to assemble syscall eggs and 'dis' to inject them 2013-08-29 04:44:18 +02:00
pancake
dc8e37f420 Update sdb, simplify some makefiles 2013-07-15 02:51:55 +02:00
pancake
bc0104563b Initial support for runtime versioned libraries
- This check will ensure you are running the latest r2 version.
2013-06-14 02:51:33 +02:00
pancake
0d993c8cbd Initial working code injection with r_debug_execute() 2013-04-16 04:01:39 +02:00
pancake
837489a5ed Faster ptrace io and fixed software stepping in ARM
Fix software stepping in arm
p/io_ptrace now supports /proc/pid/mem io
Added =!help =!mem and =!ptrace to io/ptrace
Hide invalid section sizes messages
2013-03-19 02:36:14 +00:00
pancake
701a43fc23 Use r_sandbox_kill instead of kill 2013-03-02 19:44:10 +01:00
oblique
bf5d2ba3da Check if debug is dead in r_debug_kill function. 2013-03-01 10:41:35 +01:00
pancake
55bb8dc95e Fix udis86 trailing spaces, add 'dw' command 2012-12-07 12:03:53 +01:00
pancake
e495421782 Initial implementation of 'ad' (analyze data)
Force tid=pid when tid=-1 in r_debug_select()
Add support for 16bit mov in x86.nz assembler
2012-11-20 03:59:00 +01:00
pancake
8270c60a16 flex no longer mandatory, fix ios debugger
Flex is no longer mandatory for configure
Fix overflow in r_core_cmd0
vm_protect works again on iOS (using VM_PROT_COPY)
ptrace-cont is just a detach
fix build with latest ios sdk
2012-10-31 16:37:19 +01:00
pancake
c814a9f67a Initial implementation of dwarf debug_line parser
rabin2 -d a.out
2012-07-12 02:47:04 +02:00
pancake
3ffbba7aec Fixes in the debugger, for osx, software stepping and rax2
- Protect possible index out of array in osx register code
 - Fix possible segfault in debugger backtrace
 - Fix osx debug register state write
 - Fix software stepping. Needs more work and test on mips
 - New flag: rax2 -d . force integer output value (no hex or so)
 - Fix 'i' command output
2012-07-06 19:30:17 +02:00
pancake
41a230ddf7 Add p=?, rax2 suports negative values and more
- Support negative integer values in rax2
  - Fix column selection draw in r_print_hexdump
  - Implement p=p and p=e commants
  - Disallow visual insert if file is readonly
  - Similar to pZ, but
  - Honor -w flag to create file if possible
  - Use new r_io_create() api
  - Add scr.sparse to show hexdump in sparse mode
2012-07-06 02:17:44 +02:00
pancake
e5799fb7a2 Fix build on linux-mipsel64
- debugger backend now sets dbg.swstep
 - define linux-mips64 register profile
 - fix 32/64 annoyance in debugger
 - fix register read under some situations
2012-07-05 16:02:12 +00:00
pancake
aafff4a55a * Initial fix for regdiff colorizer
- dro is working again
* Dummy agt command (analyze graph to destination)
  - Still wip, requires some changes in r_anal api
* Handle ap? command
* Use core->dbg->bits in core_reg
* dbt - backtrace accepts an argument to redefine ebp
* Use r_core_seek_delta in visual (fix Vh = 0xFFFFF..)
2012-06-14 02:18:15 +02:00
pancake
33c914de7a * Visual keystrokes for dcu and dcr with cursor mode and sS
* Fix dcr (continue until ret)
* Add /x key:msk (':' separator)
2012-05-30 11:14:41 +02:00