Commit Graph

1461 Commits

Author SHA1 Message Date
pancake
93dc1e8b78 Call aeip in radare2.c 2017-08-27 03:10:16 +02:00
pancake
c540e07d56 Fix some warnings for the windows debugger 2017-08-26 02:24:22 +02:00
pancake
cda876993e Add io.exec and update r2 -x documentation and help message 2017-08-26 02:04:45 +02:00
pancake
d91a4a8166 Make r2 -x by default and fix other recent io regressions 2017-08-26 00:13:24 +02:00
pancake
3818684096 Fix r2 -x - 2017-08-25 23:30:55 +02:00
alvarofe
a46b62e220 Fix some regressions 2017-08-25 23:13:03 +02:00
Cong Wang
f129316701 Fixed a linker error on OpenSUSE (#8311)
This fixed:

LD rax2
/usr/x86_64-suse-linux/lib64/libpthread.so.0: undefined reference to `h_errno@GLIBC_PRIVATE'
collect2: error: ld returned 1 exit status

by moving -lpthread later.
2017-08-25 12:16:26 +02:00
Giovanni
3851e7ea20 13 coverity bugs fixed. (#8303)
* 1372431 Unused value

* 1372425 Unused value

* 1372412 Dereference before null check

* 1372410/1372409 Resource leak

* 1372400 Dereference before null check

* 1372391/1372398 Resource leak

* 1372397 Dereference before null check

* 1372394 Resource leak

* 1372390 Dereference before null check

* 1372379 Dereference before null check

* 1372304 Resource leak

* 1372298: Out-of-bounds read & 1355090: Untrusted array index read

* 1372290 Dereference null return value

* 1372283 Missing break in switch

* fixed mistake.
2017-08-24 13:31:27 +02:00
condret
926b0099fd add missing halp, for r2 -x 2017-08-24 00:55:12 +00:00
condret
0b8723299a implement r2 -x 2017-08-24 00:50:44 +00:00
pancake
9b5494dfc4 Do not mess with io.va, enabled by default 2017-08-23 01:17:01 +02:00
condret
0161fa0ec2 make read_at bool again and implement RIOAccessLog for accurate error-handling
This reverts commit a9bf4aae2b.
2017-08-22 17:24:04 +00:00
Fangrui Song
a9bf4aae2b Misc fixes to siol (#8262)
* Fix onIterMap (divide-and-conquer like USACO Shaping Regions), check return values of every `op` call
* Change return types of r_io_read_at and friends back to `int`
* Fix some analysis tests and others
* Fix mem leaks
2017-08-22 10:46:48 +02:00
condret
2f201bded0 opsalamance - merge the big siol branch
- Thanks @MaskRay and @condret
2017-08-22 09:42:16 +02:00
condret
45fb32a213 cleanup rbufplug and make it a usual plugin 2017-08-19 22:45:43 +00:00
pancake
62b45bce07 More build fixes for android 2017-08-19 20:05:21 +02:00
pancake
29ca827cf2 Fix Android builds 2017-08-19 18:52:57 +02:00
pancake
07f86788b6 r2 -m enables io.va=true to solve some io regressions 2017-08-18 05:20:33 +02:00
pancake
faa826022e Fix build and add r_io_open_buffer and r_core_file_open_desc apis 2017-08-18 03:26:28 +02:00
alvarofe
2e462ec8f0 Bring RIODesc from SIOL and cleanup 2017-08-18 01:31:57 +00:00
Srimanta Barua
55b7e2661d baddr fixes 2017-08-15 21:46:22 +02:00
pancake
563593c933 Fix #8191 - Fix null deref in gdb:// 2017-08-11 13:27:39 +02:00
SrimantaBarua
0d0495d634 added specifying baddr for gdb with e bin.baddr 2017-08-09 16:17:03 +02:00
Murphy
42df0a1fca Add ich command (#8134)
* Get objc information in header format
* Add support to rabin2

* Minor Fixes
2017-08-09 10:21:52 +02:00
Fangrui Song
d1cde39852 Fix help messages (#8136) 2017-08-07 12:19:15 +02:00
Fangrui Song
f91e3d259c Add asm.addrbytes eval config var to make one vaddr unit use more than 1 bytes (#8121)
* Add `asm.addrbytes` eval config var to make one vaddr unit use more than 1 bytes

* Use `asm.addrbytes` in anal/disasm
2017-08-05 12:20:17 +02:00
xarkes
3d681b0fe5 Renamed windbg plugin (#8117) 2017-08-03 14:58:39 +02:00
pancake
78ec2d0340 Implement rafind2 -i to identify binaries 2017-08-01 15:27:11 +02:00
pancake
01d3179a61 Fix #8068 - r2 -X is now -R and old -R is now -r 2017-07-31 14:08:06 +02:00
pancake
91325d8d56 Add -l to append newline when decoding hex/b64 strings to rax2 2017-07-28 14:19:32 +02:00
pancake
3f9232d5de Handle asm.bits=27 in rasm2 -L 2017-07-28 02:40:51 +02:00
Anton Kochkov
0e9a5fff34 Fix a few {A,M,UB}SAN complaints 2017-07-26 20:54:52 +08:00
Srimanta Barua
3b8e8cbfc4 Added automatic loading of symbols from local file (#8006)
* Added automatic loading of symbols from local file

* added dbg.exe.path and searching in local directory
2017-07-25 18:39:09 +02:00
Fangrui Song
43fd42bc1c Fix a few memory leaks (#7984)
* Fix memory leak in libr/debug
* Fix memory leak in libr/core/cconfig
* Fix memory leak in libr/debug
* Fix memory leak in binr/radare2
2017-07-21 15:37:49 +08:00
pancake
ba39cfb078 Add -2 in the help message 2017-07-17 13:59:45 +02:00
Fangrui Song
57526c050e Add doc/zsh/{_rabin2,_ragg2,_ragg2-cc}, drop GNU sed dependency from zsh completion files (#7936)
Fix a benign missing fallthrough in rabin2.c

`sed -r` and regex escape sequence `\S` should be avoided as they are non-portable GNU extensions.
2017-07-17 08:50:24 +02:00
Fangrui Song
eec5aff085 Add Zsh completion file doc/zsh/{_r2,_radiff2,_rafind2,_rahash2,_rasm2,_rax2} (#7929)
* and minor fixes in the r2 help message
2017-07-16 10:08:48 +02:00
Antonio Sánchez
d74775cb6d Added resources extraction to rabin2 (#7912) 2017-07-14 13:12:53 +02:00
Marc
80d4b44b2e Fix random code style issues 2017-07-13 00:46:27 +02:00
xarkes
64794df907 Added idpd to download pdb file and automated idp (#7897) 2017-07-11 15:39:25 +02:00
pancake
1b6cfb68bd Fix some memleaks, warnings and null derefs pointed out by clang analyzer 2017-07-10 11:20:03 +02:00
xarkes
7cf3b79840 Fix r2 -nn on Windows 2017-06-21 11:27:02 -05:00
xarkes
ca5a68ebb3 Adding files to meson + windows env refactor 2017-06-20 18:03:30 +08:00
pancake
d62caa8fb1 Fix R2PM_SVN 2017-06-18 01:58:15 +02:00
pancake
2df8e6f340 Add support for SVN sources in r2pm 2017-06-18 01:51:57 +02:00
pancake
5c98293b20 Load bin-format specific scripts from home
* mkdir -p ~/.config/radare2/rc.d/bin-mach064
* echo ?E Hello Mach0 > ~/.config/radare2/rc.d/bin-mach064/hello
2017-06-15 00:36:39 +02:00
Srimanta Barua
683e115ee5 Moved r_debug_get_baddr to debug API 2017-06-14 15:38:10 +02:00
pancake
f91cd186b7 Fix static build 2017-06-14 10:55:30 +02:00
pancake
67752c4d14 Add rax2 -D in the help message 2017-06-06 19:24:53 +02:00
Roi Martin
c2609ad44b Fix r_print_hexdump ref in rafind2 2017-06-06 10:45:01 +02:00