Commit graph

1198 commits

Author SHA1 Message Date
Anton Kochkov
12b9d8c3b4
Enable GDB for Windows (#8877) 2017-11-24 14:16:14 +08:00
Michael Zhilin
236758fa1e [FreeBSD] ino64 change on -head (#8860) 2017-11-22 11:25:00 +01:00
Rick Altherr
9e440fb1b4 dreg: Fix printing of 16-bit x86 segment registers
'ar seg' ends up calling r_debug_reg_list() with size=0.  This should
disable filtering of matches by size per the inner loop iterating over
the registers.  An earlier check to ensure the requested size is valid
for this register set fails to allow for size=0 and will force it to
size=32 instead.  When in 16-bit mode, that will cause no registers to
be printed.
2017-11-20 03:06:40 -05:00
Raul Siles
08d9abe283 Change references from OSX to macOS 2017-11-15 10:43:31 -05:00
pancake
9197da06d0 Fixes for step back 2017-11-12 12:52:06 +09:00
Maijin
4bb5c15faa r_lib_struct_t -> RLibStruct 2017-11-10 13:38:05 +01:00
pancake
18f51c3460 Initial support for ec usrcmt -> user comments have different color 2017-11-10 08:07:05 +01:00
pancake
e9b584a57a More memleak fixes for the XNU debugger. Thanks @ora8 2017-11-04 21:28:01 +01:00
pancake
9b19ca5793 Fix another memleak in the XNU debugger 2017-11-04 21:00:58 +01:00
pancake
5b8eaa4a56 Fix another memleak in xnu's debugger 2017-11-04 20:42:38 +01:00
pancake
1f70a7ece8 Fix memleak in mac debugger and regression in asm.immstr 2017-11-04 20:22:14 +01:00
pancake
6116682527 Fix Vpp for debug.io 2017-11-04 15:48:43 +01:00
pancake
a1e24700e3 Fixes for winedbg:// and debug.io 2017-11-04 15:37:09 +01:00
josediazfer
054c017651 Fix Try to fix attaching issues for Windows #8770 (#8776)
If we call CreateProcess function with DEBUG_ONLY_THIS_PROCESS flag then
fail DebugActiveProcess when execute the following radare command:
r2 -d test.exe
Removed verbose ouput :/
2017-11-03 19:52:45 +01:00
Jose Diaz
e74aadad28 Renaming char_to_w32 => utf8_to_utf16 2017-11-03 10:27:18 +08:00
Jose Diaz
c6b3940579 Remove spaces 2017-11-03 10:27:18 +08:00
Jose Diaz
99e558ab19 Fix mingw32 compilation: replace __T by TEXT 2017-11-03 10:27:18 +08:00
Jose Diaz
4c80a3a4db Fix miss copy null character 2017-11-03 10:27:18 +08:00
Jose Diaz
527ff71d41 Convert char to windows unicode 2017-11-03 10:27:18 +08:00
Anton Kochkov
e370ad02f2 Try to fix #8622 2017-11-02 20:56:30 +08:00
pancake
b07653dbe3 Fix #8751 - Infinite loop when a signal is received in the middle of a step-over 2017-10-31 14:28:08 +01:00
pancake
6c17d2036d Initial support for relative installation paths and clean some warnings 2017-10-19 01:07:56 +02:00
josediazfer
855757a3ad W32 debug issues (#8707)
* W32 debug issues:

Fill debug info (executable path and username)
Debug event STATUS_X86_SINGLE_STEP instead of EVENT_SINGLE_STEP when debug a x86 binary using radare 64 bits

* Fix cast types
2017-10-18 15:39:13 +02:00
pancake
b8a4dcdf34 Tweak dm output to make seek+hud happy 2017-10-16 16:05:38 +02:00
pancake
a2ce68bec6 Fix #8623 - match eflags and bitregs 2017-10-09 12:39:53 +02:00
pancake
58e943d726 Update spp with all the fixes not backported 2017-10-09 12:19:17 +02:00
Srimanta Barua
852584ffac simulavr (plus some general) gdb fixes 2017-10-05 11:01:44 +02:00
josediazfer
15ed9871b9 Fix not map io perms to prot perms when invoking the mprotect function (#8624)
* Fix not map io perms to prot perms when invoking the mprotect function

* Initialize prot_perms to PROT_NONE
2017-10-03 09:06:56 +02:00
Anton Kochkov
b99733b627 Fix more coverities 2017-10-02 21:31:31 +08:00
Anton Kochkov
d38f2a062b Fix coverities 2017-10-02 18:59:54 +08:00
josediazfer
d3b27cc35e Supported for linux the followings commands: (#8611)
dm address size
dm- address
2017-09-29 13:05:58 +02:00
josediazfer
2328c5d31f Fix serveral leaks (#8606) 2017-09-28 16:32:54 +02:00
pancake
b9d67d9934 More fixes for winedbg:// and debug.io 2017-09-27 16:43:46 +02:00
pancake
89d20763fc Fixes for winedbg:// and crashes in -Dio 2017-09-27 04:58:15 +02:00
pancake
97911069b3 Initial port of io.winedbg using the new r_socket_spawn() api 2017-09-27 03:12:00 +02:00
pancake
106fedeef4 Add the 'null' debugger plugin 2017-09-23 02:34:37 +02:00
Fangrui Song
b563065b04 Fix type-matching and remove unused cb_anal_trace (#8548) 2017-09-18 10:59:44 +02:00
pancake
f805d0672a Fix warnings 2017-09-17 23:27:43 +02:00
Fangrui Song
d9608fe186 Support powerpc64 PTRACE_GETREGS (#8529)
On BSD, addr and data are swapped. But on Linux, only SPARC strays.

Goodbye SPARC and Solaris.
2017-09-16 02:33:52 +02:00
pancake
ac63497b5a Remove harmless attach warning and support sparc in get/set-regs 2017-09-15 13:08:16 +02:00
pancake
eb64f16fa3 Fix some null derefs in r2 gdb:// (without -d), still buggy 2017-09-12 01:51:18 +02:00
pancake
94b2fc64d2 Implement RIODescData and adjust RIOMach to work with it
- Handles a magic to ensure the destination struct is the expected one
- Based on r_str_hash, but it must be cached
- Use more r_io_desc_get_pid ()
2017-09-11 01:24:13 +02:00
alvarofe
5d29ca1af6 Fix type matching tests 2017-09-02 22:31:08 +02:00
xarkes
958393c4ad Fixing mingw false status on appveyor (#8401)
* Fixing mingw wrong exit code when make failed
2017-09-01 10:15:39 +02:00
condret
5cb0e7050d fix returnvalue for getbase^ 2017-09-01 01:10:32 +00:00
pancake
31604a8a02 Fix build when building with debugger but no debugger plugins 2017-08-31 19:54:50 +02:00
SkUaTeR
50c2965d4a Add getbase callback for io (#8392) 2017-08-31 19:52:07 +02:00
SkUaTeR
60dc5db0bf windows debugger fix siol (#8390) 2017-08-31 18:44:31 +02:00
josediazfer
fe340937c6 FIX: Looking for CreateToolhelp32Snapshot function 2017-08-30 16:26:15 +02:00
pancake
2b181659f0 Fix regprofile parsing from remote lldb on ios-arm64 2017-08-30 01:17:39 +02:00