pancake
19833b610c
Fix infinite loop in the mach debugger
2017-03-26 23:54:30 +02:00
pancake
ad20183942
Check for allocation to avoid null deref in snap
2017-03-26 23:54:26 +02:00
pancake
446baaab2e
Fix crash (null deref) in dsb
2017-03-26 22:51:12 +02:00
Ren Kimura
ce5758b739
Add reverse singlestep command 'dsb' ( #7116 )
2017-03-25 16:00:25 +01:00
radare
3d65ec6903
Fix #7088 - Remove io->raw and .keepio
2017-03-22 16:42:58 +01:00
pancake
326f81e91d
Enhance dm= to avoid huge gaps in the ascii art lines
2017-03-18 23:13:35 +01:00
davidpolverari
1fb422b532
Fix #6162 - Renames r_str_concat to r_str_append
2017-03-16 22:29:49 +01:00
Ren Kimura
863e3566d2
Add snap_set command ( #7032 )
2017-03-16 10:09:17 +01:00
pancake
f82930fd75
Fix latest covs
2017-03-15 12:12:55 +01:00
Ren Kimura
555254ffbc
Fix address range bug of memory snapshot ( #7029 )
2017-03-15 11:41:08 +01:00
pancake
6eff81c201
Those ones too
2017-03-13 03:53:27 +01:00
Álvaro Felipe Melchor
6870bec29f
Fix #6853 - get rid of asserts
2017-03-12 15:24:05 +01:00
pancake
91016693cb
Avoid 100% cpu usage in Linux debugger
2017-03-08 12:31:43 +01:00
Giovanni
43532031c4
Fixes for windows and some are also global ( #6936 )
2017-03-08 08:49:31 +01:00
Álvaro Felipe Melchor
d544239fee
Fix #6716 - crash drp /tmp/profile with just =
2017-02-08 22:32:47 +01:00
pancake
46b453b668
Fix #6704 --disable-debugger build for some platforms
2017-02-06 01:57:24 +01:00
SchumBlubBlub
223dbb6538
Make reg order consistent across x86-* ( #6685 )
2017-02-06 00:05:47 +01:00
SchumBlubBlub
c8a403ad7c
Move o[er]ax to last pos of gpr regs ( #6674 )
2017-02-03 23:34:10 +01:00
leberus
c5149f97b7
Fix: Fixed regression pointed by #6650 ( #6672 )
2017-02-03 18:20:07 +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
bd25a763d8
Fix null deref and infinite loop when building with no plugins
2017-02-02 13:25:21 +01:00
pancake
79ab75c78f
More builds fixes for less plugins
2017-02-02 13:25:17 +01:00
leberus
4fd1e990d9
Add: coredump refactoring + RDebugMap offset field ( #6633 )
2017-02-01 22:17:59 +01:00
leberus
30743e9b20
Fix : #6616 crash in crash core generation
2017-01-31 22:14:21 +01:00
zonkzonk
56366df728
Removing path in shell redirections
2017-01-31 22:13:32 +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
pancake
3686957870
Fix crash in r_debug_free with dynamic debug plugins
2017-01-22 01:08:48 +01:00
pancake
41602c4212
Fix android build
2017-01-18 13:46:39 +01:00
Sevan Janiyan
0e4b401635
Upstream patches from pkgsrc/devel/radare2 ( #6491 )
...
* Upstream patches from pkgsrc/devel/radare2
Switch to using egrep instead of non-portable "grep -e".
Add support for SunOS.
* Add support for SunOS.
* FIONREAD is defined in sys/filio.h on SunOS.
* Ask find(1) to look for files with desired extension rather than searching for
all files & fishing out the desired extension in the pipeline, with grep.
2017-01-18 00:47:46 +01:00
leberus
286ca4d0ed
Add: support for dbg.follow.child option ( #6525 )
2017-01-18 00:40:30 +01:00
leberus
f4b8fbbc77
Fix: remove linux specific and add braces
2017-01-16 12:22:24 +01:00
pancake
2a83f21a3e
Make gcc6 warnings happy
2017-01-15 22:02:57 +01:00
leberus
8f3a276cf9
Fix: *BSD build ( #6494 )
2017-01-12 11:19:46 +01:00
leberus
dc5be7a767
Improving debug on linux ( #6435 )
2017-01-11 17:39:09 +01:00
nevun
1e5a4f05ff
Silence warning on OpenBSD by casting to caddr_t. ( #6453 )
...
Gets rid of this:
p/debug_native.c: In function 'bsd_reg_read':
p/debug_native.c:674: warning: passing argument 3 of 'ptrace' from incompatible pointer type
2017-01-09 13:47:24 +01:00
Eugene
92c72bab99
Remove filename leak ( #6442 )
2017-01-06 17:49:46 +01:00
Sebastian Reichel
2f9447550e
Small fixes ( #6398 )
...
* debug_native: include linux_coredump.h for linux-arm
* run: login_tty needs utmp.h on linux
2016-12-29 20:30:05 +01:00
Moritz Eckert
fdc7edde68
Fix interactive debugging issue introduced with 8b0afcbc3
( #6397 )
2016-12-29 17:56:33 +01:00
leberus
8b0afcbc39
Fix : #4856 #4857 ( #6365 )
2016-12-28 16:02:05 +01:00
SkUaTeR
427429204e
Fix win64 debugger ( #6371 )
...
* fixed win64 debugger with x32 app
* fixed win64 debugger with x32 app
* Update cmd_open.c
* Update windows.c
2016-12-28 12:11:32 +01:00
SkUaTeR
8e6be1b54b
Thread list and some fixes for the w32 debugger ( #6355 )
2016-12-21 09:07:58 +01:00
Anton Kochkov
466600661a
Better logic for XSTATE_MASK_GSSE (Mingw32) define
2016-12-20 16:36:43 +03:00
Anton Kochkov
e2db6dfcc2
Fix Mingw32 build
2016-12-20 13:54:16 +03:00
Álvaro Felipe Melchor
88d4649cc6
fix more coverities
2016-12-19 17:23:30 +01:00
skuater
0c464aeb28
Fixed break on dll load
2016-12-19 16:48:46 +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
Eugene
4530585132
Refactoring fixes in debug/linux ( #6339 )
2016-12-18 12:20:31 +01:00
pancake
6296f4b794
Add option to stop syscall tracing -before- the syscall is executed
2016-12-09 22:19:47 +01:00
pancake
4b43aaa5d7
Add SN in darwin-x86 reg profiles
2016-12-09 21:50:13 +01:00
pancake
d26917a0a2
Fix #6141 - implement pkill
2016-12-09 18:12:38 +01:00
pancake
441220dd04
hwstep is possible on all linux-x86-64.. dunno why this canstep
2016-12-09 15:12:18 +01:00
Álvaro Felipe Melchor
028e8f0ca3
Fix few covs
2016-12-04 22:26:17 +01:00
leberus
e82a638006
Fix : #6278 ( #6280 )
2016-12-03 19:00:29 +01:00
user.name
2e5e67ee08
Fix: regression in commit f0f54ad1c6
2016-12-02 18:20:19 +01:00
Ben Gardiner
0269d63ff1
debug: fix db.maps.symbols.after.map.complete
...
This fixes a valgrind read past buffer error... I was seeing when
testing t.archos/Linux-x86_64/dbg_maps
```
Invalid read of size 8
==11424== at 0x4C2F79E: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11424== by 0x693C702: r_reg_set_bytes (arena.c:118)
[...]
==11424== Address 0xa144430 is 0 bytes after a block of size 304 alloc'd
==11424== at 0x4C2CC70: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11424== by 0x5D49EE6: r_debug_reg_sync (dreg.c:60)
[...]
```
---
v2:
* don't forget spaces around '+' (pancake)
2016-12-01 09:15:16 +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
pancake
15685ec0bc
Hide noisy xnu warning
2016-11-25 00:32:05 +01:00
pancake
e37739ebc4
Fix windows build
2016-11-24 16:56:11 +01:00
pancake
7a68fd2d82
Attempt to fix the register profile reloading issue
2016-11-14 15:59:50 +01:00
pancake
8e3278b5a6
Fix seg@gpr for OSX-32/64 Debugger. Remove debug printf
2016-11-22 00:20:36 +01:00
SkUaTeR
4c2a01d4a7
Fix in profile to get correct reg.size ( #6238 )
2016-11-21 23:13: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
Rakholiya Jenish
276f3ce1d2
Fix compilation error on arm64 ( #6224 )
2016-11-20 11:33:07 +01:00
pancake
d32e97ace8
Fix #6228 - Double 0x in dr=
2016-11-20 11:30:15 +01:00
pancake
686f81f58d
Fix arj and ar output
2016-11-16 00:28:37 +01:00
pancake
7fb8c24be3
Add drpi to show internal representation of drp and check for overflows
2016-11-15 14:40:16 +01:00
Álvaro Felipe Melchor
4915466256
Fix oob due to reg arena changes
2016-11-15 01:12:37 +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
7fc002dfd9
Remove unnecessary call to impaddr() and some reindents
2016-11-13 01:40:44 +01:00
pancake
19295f880e
Add missing SN in linux-arm64 debugger reg profile
2016-11-10 02:57:34 +01:00
skuater
b4abe032ad
Fix error r_cons_break_end when build for windows
2016-11-08 01:44:23 +01:00
Álvaro Felipe Melchor
3222447eab
Fix warnings when compiling in linux
2016-11-08 01:58:07 +01:00
SkUaTeR
83b07099e0
Implemented basic FPU regs for the winx64 debugger
2016-11-07 02:58:34 +01:00
pancake
ab28917568
Honor --without-debugger for linux-coredump
2016-11-06 22:04:45 +01:00
pancake
7269a29be6
Fix #6135 - arm64 can hwstep
2016-11-06 21:52:47 +01:00
dromero
ac644878a8
Send KILL to child on ^C in dc when dbg.consbreak is set
2016-11-06 00:46:10 +01:00
pancake
2a5afa18e8
Fix dm= colors
2016-11-06 00:43:28 +01:00
pancake
e3b32c58a9
Add indegree and outdegree in afi and afij
2016-10-30 12:16:46 +01:00
pancake
eb272dc6f3
Honor SN in syscall resolution on disasm
2016-10-28 02:27:50 +02:00
pancake
94d47c79bb
Completely remove all references to list.h
2016-10-27 13:33:27 +02:00
pancake
d41b577106
Fix #5924 - r_flags -> r_flag
2016-10-27 01:07:58 +02:00
pancake
02950398a9
Add utf8 rune support for RCons.canvas
2016-10-21 01:24:40 +02:00
pancake
be9df39f6f
Fixed 40 null derefs reported by coverity
2016-10-20 15:02:25 +02:00
pancake
7a1b6871d9
Fix a bunch of outstanding coverities
2016-10-20 14:11:02 +02:00
Gerardo García Peña
813361df4c
Support for modifying the incoming value in operation RAnalEsilCallbacks::hook_reg_write(). ( #5977 )
2016-10-18 16:59:38 +02:00
pancake
cea2c80d56
Show flags in dm, add dmq and add resolver in rnum
2016-10-16 02:34:54 +02:00
pancake
8c592750c6
Fix build avoiding confusions for io|debug/reg/desc
2016-10-10 00:06:50 +02:00
pancake
ed704253a9
Enhance RDebug.io to support more commands
2016-10-09 23:54:52 +02:00
pancake
05220c2fe0
Fix overflow in debug.reg_read
2016-10-09 23:52:24 +02:00
pancake
b4971693e5
Add dr8 and more commands for the RDebug.io plugin
2016-10-09 20:13:32 +02:00
pancake
208892b847
Aim to fix dmm. in w32
2016-10-09 15:11:09 +02:00
pancake
5ac2be945e
Fix #5867 - Remove all references to __FILE__ or __LINE__
2016-10-09 11:01:41 +02:00
pancake
466c9ff066
Initial implementation of the RDebug.io plugin
2016-10-08 02:39:50 +02:00
pancake
41d6e9edde
Add bash autocompletion support
2016-10-04 14:34:06 +02:00
pancake
0080399021
Fix build on FreeBSD
2016-10-03 15:08:59 +02:00
Álvaro Felipe Melchor
f0f54ad1c6
move check of num_threads into get_proc_process_content
2016-10-03 00:13:35 +02:00
Álvaro Felipe Melchor
218474ec13
Remove unused variable and coding style file.c
2016-10-02 02:05:23 +02:00
Álvaro Felipe Melchor
b0ee337c0f
Fix regression in coredump
2016-10-01 11:03:05 +02:00