Commit graph

1002 commits

Author SHA1 Message Date
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