leberus
f3d11405e7
Fix debug for Linux
2017-08-02 14:49:56 +02:00
Srimanta Barua
d93977358d
Small gdb fixes, and added alternate way to get baddr ( #8055 )
...
* check if 'g' is supported before switching to reading regs using '?'
* stabilize gdbserver a bit more
* added ability to get baddr even if we can't read memory map (if qOffsets packet is supported)
2017-07-29 17:58:20 +02:00
pancake
3f9232d5de
Handle asm.bits=27 in rasm2 -L
2017-07-28 02:40:51 +02:00
pancake
7a74331c1e
Aim to make more portable the is_dead check in debugger
2017-07-28 02:24:06 +02:00
pancake
5e60599f18
Support 27bit setups for debug and anal
2017-07-28 02:08:35 +02:00
Ren Kimura
b294c3e0d7
Add dcb (debug continue back) command ( #7979 )
...
* Add dcb (debug continue back) command
* Add braces
2017-07-23 14:47:11 +08:00
Fangrui Song
43fd42bc1c
Fix a few memory leaks ( #7984 )
...
* Fix memory leak in libr/debug
* Fix memory leak in libr/core/cconfig
* Fix memory leak in libr/debug
* Fix memory leak in binr/radare2
2017-07-21 15:37:49 +08:00
xarkes
a8dc08f9c0
Fixed windows network path (\\server\file.exe) and random err ( #7927 )
2017-07-15 15:54:55 +02:00
SkUaTeR
80e38d0c5d
fix for #7907 ( #7923 )
2017-07-14 16:38:27 +02:00
pancake
abaf84d857
Fix last pending warnings
2017-07-11 17:54:22 +02:00
danitorregrosa
4e7de0487c
Fix #7851 - get filesystem abspath instead of URI ( #7869 )
...
* Fix #7851 - get filesystem abspath instead of URI
2017-07-07 00:32:02 +02:00
Srimanta Barua
6d5585fc68
Fix for incorrect pc after breakpoint, in x86 gdb (using signal 5)
2017-07-04 19:44:09 +02:00
pancake
50643229e7
Make Vb run dbs like key.f2 for consistency
2017-07-02 23:37:13 +02:00
Ren Kimura
fd765893dc
Removed end point trace session
2017-06-28 00:56:41 +02:00
Xiao Di Guan
6ae9d891db
Fix xnu_wait stopping prematurely ( #7744 ) ( #7745 )
...
* Fix xnu_wait stopping prematurely (#7744 )
* Use task_swap_exception_ports (instead of *get* then *set*)
* Add new debugger stop reason for user-initiated breaks
* Stop the inferior when `dw` is interrupted (#7744 )
* Stop the inferior after attaching
2017-06-24 17:57:11 -05:00
Ren Kimura
0adb01dcb8
Fixed wrong logic of forward execution of dsb ( #7798 )
...
* Fixed wrong logic of forward execution of dsb
* Fixed typo
2017-06-21 07:52:14 -05:00
Ren Kimura
32042123e2
Add plain checkpoint system ( #7782 )
2017-06-20 05:09:58 -05:00
Srimanta Barua
7631d38c4a
Fix typo in debug.c
2017-06-15 13:48:49 +08:00
Srimanta Barua
683e115ee5
Moved r_debug_get_baddr to debug API
2017-06-14 15:38:10 +02:00
Ren Kimura
487b305a8d
Changed finding logic of session key ( #7719 )
2017-06-10 12:38:23 +02:00
Ayman Khamouma (ak42)
779147011d
Fix #7655 : continue on disabled breakpoints ( #7697 )
2017-06-07 21:26:03 +02:00
Ren Kimura
3dcd3b79bd
Renewed dsb command for new session format ( #7651 )
2017-06-01 10:47:12 +02:00
pancake
78ecad3d3b
Fix dmi honoring dmm on Mac debugger
2017-05-29 11:45:13 +02:00
pancake
ba6dce4d73
Add REgg as dependency of RDebug
2017-05-28 22:38:10 +02:00
Srimanta Barua
06aae3080e
Added kill signal for gdb client
2017-05-25 15:41:07 +02:00
pancake
da72aa7b88
Fix uaf in dp-
2017-05-23 12:26:21 +02:00
0x0dada
7327642241
Fix incorrect modes various .c files. ( #7287 )
2017-04-16 10:10:04 +02:00
Ren Kimura
ce5758b739
Add reverse singlestep command 'dsb' ( #7116 )
2017-03-25 16:00:25 +01:00
Giovanni
43532031c4
Fixes for windows and some are also global ( #6936 )
2017-03-08 08:49:31 +01:00
pancake
46b453b668
Fix #6704 --disable-debugger build for some platforms
2017-02-06 01:57:24 +01:00
Polshakov Dmitry
249532bf53
Add support non-numeric signal numbers in RRunProfile ( #6558 )
...
* Add support non-numeric signal numbers in RRunProfile
* Add signal util module
* Remove old `signal_resolve` implementation
2017-02-02 14:34:44 +01:00
Lars Haukli
71cc67e390
Windows debugger: Added dce command. Fixed dmm commands. ( #6628 )
...
* Use double quotes to make .dmm* work on Windows
* Fix r2pipe.cmdj('dmmj') command on Windows. Report correct path when listing modules ('dmm')
* Removed unused local variable
* Added 'dce' command for windows
* Escape backslashes for JSON output only
* Do not include r_debug_native_continue() for __CYGWIN__ builds. Removed unnecessary memset.
* Added exception for CYGWIN to not escape backslashes in path
* Escape backslashes in both file paths and map names. Use map name for 'f mod.%s' instead of file path
* Added more exceptions for CYGWIN
* Validate escaped strings
2017-02-02 13:27:39 +01:00
pancake
8a787dc787
Fix #6538 - Hack to fix the broken debugger when doing aaaa
2017-01-25 00:52:36 +01:00
leberus
82f282c629
Add: dbg.libs/unlibs for linux ( #6567 )
2017-01-24 20:22:36 +01:00
leberus
286ca4d0ed
Add: support for dbg.follow.child option ( #6525 )
2017-01-18 00:40:30 +01:00
leberus
dc5be7a767
Improving debug on linux ( #6435 )
2017-01-11 17:39:09 +01:00
SkUaTeR
8e6be1b54b
Thread list and some fixes for the w32 debugger ( #6355 )
2016-12-21 09:07:58 +01:00
pancake
50d73d1547
Fix a lot of memleaks, null derefs and undef behaviour thanks to clang-analyzer
2016-12-19 16:44:51 +01:00
pancake
6296f4b794
Add option to stop syscall tracing -before- the syscall is executed
2016-12-09 22:19:47 +01:00
Elia Geretto
31e8d7cb68
Fix various memory leaks ( #6272 )
...
* Fix bits_ranges memory leak in anal.c
* Fix anal->reg memory leak and prevent use after free in plugin.c
* Fix reg->allregs memory leak in reg.c
* Fix dbg->plugins memory leak in debug.c
* Fix io->plugin_default memory leak in io.c
* Fix plugin_free not deallocating plugin in bin.c
* Adapt to style guidelines
* Fix memory leak in r_bin_object_free and resolve double free
* Fix o->kv memory leak in r_bin_object_set_items
* Fix memory leak pushing arena on reg init
* Fix io->plugin_default memory leak in io.c
* Adapt to style guidelines
* Fix pfile memory leak in radare2.c
* Add braces to if in bin.c
2016-12-01 09:09:59 +01:00
Álvaro Felipe Melchor
87724384d1
added r_cons_break_{push/pop} to handle ^C better
...
Besides an UAF has been fixed afecting only ELF
2016-11-21 16:56:12 +01:00
SkUaTeR
20a9bbd14a
Rreg fpu changes ( #6191 )
...
* test with rreg for values greater than 64
* check for redirected regs in debug reg sync
2016-11-14 23:58:29 +01:00
pancake
e3b32c58a9
Add indegree and outdegree in afi and afij
2016-10-30 12:16:46 +01:00
pancake
02950398a9
Add utf8 rune support for RCons.canvas
2016-10-21 01:24:40 +02:00
pancake
cea2c80d56
Show flags in dm, add dmq and add resolver in rnum
2016-10-16 02:34:54 +02:00
pancake
490d2a498a
Fix #2571 - dcs is working again
2016-09-26 13:40:25 +02:00
saucec0de
5df82dd364
dso problem ( #5825 )
2016-09-22 15:31:05 +02:00
saucec0de
c908e0f818
Fixing ds in x86 ( #5802 )
...
* Fixing ds in x86
* Several updates due to new OP_TYPE
2016-09-22 13:42:06 +02:00
Jon Gentle
503b3a9e98
Reduce the requirements of dko to any reason with a signum ( #5806 )
2016-09-20 09:25:06 +02:00
Sven Steinbauer
2996538700
Fix #5633 - Change x == NULL to correct syntax
2016-09-19 14:44:47 +02:00