Ben Gardiner
4c890d0b52
config: fix double-free when setting bin.prefix more than once
2016-12-01 09:15: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
Ben Gardiner
b4158201c2
rabin2, sections: fix missing prefixes on -S (was working for -rS)
2016-12-01 09:15:13 +01:00
Gerardo García Peña
9adec9da86
SPM instruction (not tested). ( #6274 )
2016-12-01 09:10:34 +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
5463ce4934
Try to find strings in LEA references, not just flags
2016-11-30 18:00:23 +01:00
pancake
cb06c9c26b
Fix #6270 - Honor current offset when assembling conditional jumps in x86
2016-11-30 16:22:34 +01:00
Rakholiya Jenish
c7c1fad14f
add all ioctl ( #6265 )
...
use PFMT64x
fix things
2016-11-29 14:00:58 +01:00
pancake
3fa97e94cb
Fix latest covs
2016-11-29 11:52:24 +01:00
Gerardo García Peña
83d002cee5
Fixed flags in SUBI and SBCI. Implemented SUB. ( #6266 )
2016-11-29 11:22:10 +01:00
Gerardo García Peña
ed5ed8a1d2
New instruction swap (nibbles). ( #6267 )
2016-11-29 11:22:04 +01:00
Maijin
ffd8ecd14b
Add remaining [?]
2016-11-26 14:57:21 +01:00
Sven Steinbauer
5851f6f117
Colour current node when using aga Fix #6260 ( #6263 )
...
Highlights the current block when using `aga` cmd too, using graph.current colour
Fix #6260
2016-11-25 17:23:24 +00:00
pancake
81c0cf5a9d
Remove noisy eprintf
2016-11-25 00:59:40 +01:00
pancake
15685ec0bc
Hide noisy xnu warning
2016-11-25 00:32:05 +01:00
pancake
ef3c39d10a
Fix infinite loop in dsf
2016-11-25 00:16:31 +01:00
Maijin
fe83997742
Remove obsolete help for comment on args
2016-11-24 23:51:01 +01:00
Maijin
f6ac461207
Add recursivity help for a? commands
2016-11-24 23:46:20 +01:00
pancake
2982850c34
Fix VA boundaries
2016-11-24 23:37:47 +01:00
pancake
15b43564fd
Manipulate stack.delta and stack.size with Vppc[jk+-.]
2016-11-24 23:25:49 +01:00
pancake
b835d2f87c
Reload flags after aer=
2016-11-24 23:05:44 +01:00
pancake
60e7d284ed
Fix issue with noreturn analysis
2016-11-24 22:39:23 +01:00
Gerardo García Peña
721934cbac
More fixes for improving compatibility with several AVR cpus. ( #6258 )
2016-11-24 21:32:30 +01:00
pancake
e37739ebc4
Fix windows build
2016-11-24 16:56:11 +01:00
pancake
1854473b58
Fix #6256 - Move relocs to the fake virtual address
2016-11-24 16:23:03 +01:00
pancake
351d09ce7d
Include current offset in sj
2016-11-24 16:11:43 +01:00
pancake
bd9477db89
Make r2naked happy with C++
2016-11-24 13:21:56 +01:00
pancake
f3906c4e89
Fix wxf error message
2016-11-24 11:35:40 +01:00
pancake
77618565f5
Fix r_core.h for C++
2016-11-24 11:25:21 +01:00
Gianluca Pacchiella
f23113a473
avr/esil: implement subi. ( #6255 )
2016-11-24 10:19:15 +01:00
pancake
2aaf0b2d9d
Fix #2924 - Add key in visual insert mode to remove or insert bytes
2016-11-24 04:46:01 +01:00
pancake
13bad8fd89
Fix RBinInfo for fatmach0s
2016-11-24 04:13:04 +01:00
Lowly Worm
9a8a69dbe1
enforce style guide (cmd_anal.c)
...
- use braces for all if statements
2016-11-23 19:57:23 -05:00
Gerardo García Peña
494202600e
Improving support for several avr models. ( #6253 )
2016-11-24 01:21:52 +01:00
pancake
546332dd03
ha ha ha, shrink grows!
2016-11-14 16:08:05 +01:00
pancake
7a68fd2d82
Attempt to fix the register profile reloading issue
2016-11-14 15:59:50 +01:00
pancake
6abe6abe93
Shrink all arenas before reloading the new reg profile
2016-11-24 00:29:34 +01:00
Álvaro Felipe Melchor
2c27fd9b41
Fix oob read in parse_signature
2016-11-23 20:31:45 +01:00
Maijin
702b42fd91
Add __stack_chk_fail in types-linux
2016-11-23 19:02:49 +01:00
Álvaro Felipe Melchor
a11477769c
Added RConfigHold ( #6250 )
2016-11-23 18:36:11 +01:00
pancake
85a02e0f29
Fix regression in zignatures
2016-11-23 18:33:25 +01:00
pancake
60b3b0a79e
Fix p-j ansi code, add access type and fix a lot more null derefs in anal.types
2016-11-23 16:20:58 +01:00
pancake
ae365cc301
Fix null deref in anal.types
2016-11-23 14:53:39 +01:00
pancake
371ff04d46
Fix #6108 - Avoid underscore in eval vars
2016-11-23 13:13:06 +01:00
pancake
c2602a6732
Fix #6142 - Implement ~?. to count chars instead of lines
2016-11-23 12:52:36 +01:00
pancake
5cbcdb2466
Temporary PoC to fix flagdelta in visual title
2016-11-23 12:30:43 +01:00
pancake
64d0b60bcd
Fix noreturn issue by grabbing symbol name from the symbols flagspace
2016-11-23 12:01:07 +01:00
pancake
2e040cd386
Fix #6147 - Force at least 1 byte of instruction for the zignatures
2016-11-23 11:31:39 +01:00
Rene Laemmert
7f14e52ace
fixed the stack issue and removed all debug prints ( #6249 )
2016-11-23 11:09:40 +01:00
pancake
113fc640ea
Cache asm.dwarf.* and clean warnings
2016-11-23 10:30:44 +01:00