Commit graph

1189 commits

Author SHA1 Message Date
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
Giovanni
e4342297c4 Various fixes for bugs from coverity + bonus (#8372)
* 1356014 Resource leak
* 1356012 Resource leak
* 1356010 Resource leak
* 1355967 Resource leak
* 1355960 Resource leak
* 1352987 Resource leak
* 1352986 Unintentional integer overflow
* 1352985 Unintentional integer overflow
* fixed coverity missed null deref
* 1347178 Resource leak
* 1347178 Resource leak
* 1346910, 1363297 Resource leak
2017-08-29 12:39:49 +02:00
Srimanta Barua
bbda39982b Added backtrace to gdb (#8361) 2017-08-28 16:40:12 +02:00
josediazfer
f11fea1e2b Windows minor fixes, renamed w32 function names, added dbg.bpsysign option (#8356) 2017-08-28 10:19:57 +02:00
SkUaTeR
b0d8017be1 fix windows build (#8317) 2017-08-26 10:09:08 +02:00
pancake
c540e07d56 Fix some warnings for the windows debugger 2017-08-26 02:24:22 +02:00
pancake
758cef0fb3 Fix issue in dbgmodules that was producing errors on debugger start for XNU 2017-08-26 01:11:42 +02:00
Giovanni
7b40f7aed1 16 more bugs fixed. most are mem leaks. (#8307)
* 1379261/1379262 Resource leak

* 1379258/1379249 Resource leak

* 1379020 Resource leak

* 1351565/1351564 Logically dead code, 1379019 Uninitialized scalar variable, 1379014 Operands do not affect result

* 1379017 Resource leak

* 1379016 Resource leak

* 1379015 Resource leak

* 1377414 Resource leak

* 1376336 Resource leak

* 1375800 Resource leak

* 1373505/1373509/1373504 Resource leak

* 1373496 Resource leak
2017-08-24 17:20:39 +02:00
pancake
726f803c19 Drop r_utf_blocks from the extern 2017-08-23 00:50:18 +02:00
alvarofe
ab25e7119c Update r_io_read_at and ad r_io_alprint 2017-08-22 23:56:12 +02:00