Commit Graph

963 Commits

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