Commit Graph

1443 Commits

Author SHA1 Message Date
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
Ayman Khamouma (ak42)
cbafade76e Fix regression in R2PM_TGZ 2017-06-02 19:18:57 +02:00
pancake
857479285c Enhance radiff2 -D with context bytes in disasm and honor -q for colors 2017-06-01 23:49:26 +02:00
pancake
e847fa47a7 Implement radiff2 -G to run a custom command 2017-06-01 22:46:54 +02:00
SkUaTeR
dc7914644e Meson improvements 2017-05-31 13:38:47 +02:00
pancake
91daa516eb Fix build for android-mips 2017-05-30 19:39:22 +02:00
SkUaTeR
0596c1c08e Meson shlr libs 2017-05-30 18:38:19 +02:00
Sven Steinbauer
4dd740ebf2 Add rasm -r option honor flags and seeks 2017-05-30 13:19:21 +02:00
pancake
fbf6991762 Fix regressions introduced in r2pm
export doesnt behaves as expected using multiple. reproducible with r2pm -i r2r
2017-05-24 11:55:31 +02:00
pancake
8031a5381a Fix linkage of rabin in linux 2017-05-24 11:20:13 +02:00
pancake
9b44b6bb23 Fixes for the -lr_socket issue 2017-05-24 02:00:56 +02:00
pancake
a497a17417 Fix android builds, probably not regress on msvc 2017-05-24 01:18:20 +02:00
Stanisław Drozd
6be7cc1f90 Fix a simple bug in r2pm; make r_bin_get_size() behavior more intuitive (#7582)
* r2pm: remove "set -e" to fix the later gmake check
* bin.c: return 0 on missing object in r_bin_get_size()

When running "radare2 --", commands like iZ  would normally print
UT64_MAX (0xfff... or -1) when o is NULL, which seems misleading.
Besides, the function's return value is unsigned anyway.
2017-05-23 23:00:33 +02:00
Adrian Pistol
a19ea41f03 Clean up r2pm code. (#7566)
See #7566.
2017-05-23 14:19:51 +02:00
Michael Scherer
a9896f802e Fix missing space in rabin2 help (#7578) 2017-05-23 13:50:26 +02:00
pancake
f8fc38710f Load .py, .js and .lua at startup time 2017-05-23 04:12:13 +02:00
Srimanta Barua
d3958f00e4 Initial stub for gdbserver support
* Renaming functions, reorganizing code, adding temporary hack for closing gdbserver
2017-05-22 19:37:48 +02:00
pancake
6c9e4cbb4f Add missing error checking for svn co 2017-05-21 21:50:27 +02:00
pancake
389b3b3800 Add support for SVN sources in r2pm 2017-05-21 21:47:15 +02:00