Commit graph

1174 commits

Author SHA1 Message Date
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
SkUaTeR
560bf70b6f Fix meson siol (#8268)
* some fixes in meson to build under windows

* some fixes in meson to build under windows
2017-08-22 20:10:24 +02:00
xarkes
3a76ba056c Fix Windows memory error (#8274) 2017-08-22 20:09:52 +02:00
condret
2f201bded0 opsalamance - merge the big siol branch
- Thanks @MaskRay and @condret
2017-08-22 09:42:16 +02:00
Fangrui Song
11b744f188 Remove SIGSTKSZ from signal list (#8252) 2017-08-21 09:52:58 +02:00
Ren Kimura
9862367fd0 Add drx_add/delete for watchpoint (#8244)
* Add drx_add/delete for watchpoint

* Changed breakpoint callback
2017-08-20 10:39:10 +02:00
condret
ea52254c52 add fd abstraction api, and make desc-api a bit more consistent 2017-08-19 02:23:51 +00:00
pancake
a4742a684e mingw32 fixes 2017-08-18 19:45:38 +02:00
Srimanta Barua
5cb36b3e2e fixes to gdb debugger (#8238) 2017-08-18 19:32:53 +02:00
pancake
0b3796e6c8 Handle comma separated regnames in ar and dr 2017-08-18 14:32:09 +02:00
alvarofe
2e462ec8f0 Bring RIODesc from SIOL and cleanup 2017-08-18 01:31:57 +00:00
Srimanta Barua
637102385d corrections, and switch to tid reported in stop reason 2017-08-15 21:46:22 +02:00
Srimanta Barua
d8099137be switching threads 2017-08-15 21:46:22 +02:00
Fangrui Song
a82a239275 Fix leaks in rcons and annotated hexdump 2017-08-13 14:01:00 +02:00
Ren Kimura
d0cceb49ef Add dir.dbgsnap for the backstep debugger snapshots 2017-08-11 17:06:03 +02:00
pancake
b5c678ff6d Fix last 3 mails of covs and some warnings 2017-08-11 13:16:19 +02:00