Commit Graph

266 Commits

Author SHA1 Message Date
pancake
047d672898 Hide crashes when dlopen on unix in rabin2 -Q 2018-02-18 03:49:19 +01:00
Rafael Rivera
3031324be3 Initial e dbg.symstore support (#9338) 2018-02-09 11:34:09 +01:00
sivaramaaa
74a5b55925 Honor *q in izzz 2018-01-12 10:02:22 +01:00
pancake
b27326e891 Kill RCoreFile from rabin2 2018-01-10 13:53:53 +01:00
pancake
7f40f36c3a Initial draft implementation of the loader plugins for RBin 2018-01-07 21:54:41 +01:00
pancake
0a1181515d Make constructor/destructors available only via rabin2 -ee (and iee in r2) 2017-10-30 18:31:01 +01:00
pancake
de86371355 PDB_SERVER is now RABIN2_PDBSERVER 2017-10-30 12:46:33 +01:00
condret
e2d096f411 small beautification 2017-08-27 20:22:58 +00: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
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
Antonio Sánchez
d74775cb6d Added resources extraction to rabin2 (#7912) 2017-07-14 13:12:53 +02:00
xarkes
64794df907 Added idpd to download pdb file and automated idp (#7897) 2017-07-11 15:39:25 +02:00
Michael Scherer
a9896f802e Fix missing space in rabin2 help (#7578) 2017-05-23 13:50:26 +02:00
armijnhemel
0604daeaab update equivalent flags for -g (#7551) 2017-05-20 23:02:39 +02:00
Giovanni
72b643654d iCj - Signatures in JSON format 2017-05-09 14:43:07 +02:00
Roi Martin
d82235285c Implement "rabin2 -L [plugin]" and command "iL [plugin]" (#6875)
* Fix r_str_cmp to follow the documented behaviour

Now r_str_cmp behaviour is consistent.

Before:
* Returns true if both pointers are equal.
* Returns false if the strings are equal.

Now:
* Returns true if both pointers are equal.
* Returns true if the strings are equal.

* Implement "rabin2 -L [plugin]"

- Display plugin info in a proper structured way for humans with
  "rabin2 -L [plugin]".
- Fix current "rabin2 -L [-j]" output.
- Allow to specify "-j" before or after "-L".

Fix issue #6861.

* Implement command iL [plugin]

* Fix json output in rabin2 -L and iL
2017-03-01 20:05:40 +01:00
pancake
ef463f983e Fix rabin2 -qL -jL and add version and author in RBinPlugin 2017-02-28 02:16:36 +01:00
pancake
81832436e0 Honor rabin2 -H, -rH, -qH and -jH 2017-02-27 10:55:47 +01:00
Álvaro Felipe Melchor
048d328ba4 Fix #6476 - rabin2 dump section content in screen
If the user does not specify an output file the content is printed on
the screen
2017-01-28 16:55:06 +01:00
Álvaro Felipe Melchor
19659c9b06 Workaround in fat binaries
This is not the final solution to the problem just a workaround.

Still the OS kill rabin2 -x with a dyldcache from 32 bits
2017-01-25 23:47:32 +01:00
pancake
014cd45daa Make radiff2 work with fat bins again 2017-01-19 15:58:46 +01:00
pancake
28f6954414 Add rabin2 -P in short help message 2017-01-16 11:35:16 +01:00
Álvaro Felipe Melchor
840340b9e8 Update help for rabin2 -OC to get entitlements 2017-01-10 22:21:32 +01:00
pancake
3f164b2e48 Document ldid in rabin2 -O 2017-01-09 15:57:22 +01:00
Álvaro Felipe Melchor
42e9b5d398 Fix NUL dereference 2017-01-08 22:28:01 +01:00
Eugene
4c7928b5cd Fix #6405 - Implement Rust Demangler
* Added rust demangling based on cxx-version
* Add rust support for rabin
2017-01-05 00:52:13 +01:00
pancake
6935ce1377 Fix rabin2 for fatmach0 when not specifying the sub-bin arch/bits pair 2017-01-04 22:01:22 +01:00
alvaro_fe
10fe20ede6 simplify the process of loading fat binaries
We avoid parse everything more than once and just when needed
2016-12-15 21:04:28 +01:00
pancake
371ff04d46 Fix #6108 - Avoid underscore in eval vars 2016-11-23 13:13:06 +01:00
pancake
e41ffaac60 Fix build 2016-11-22 15:36:03 +01:00
pancake
28c7ec564a Implement bin.debase64 and RABIN2_DEBASE64 in RBin for r2 and rabin2 2016-11-18 13:29:36 +01:00
pancake
ca730772f4 Fix wrong usage of sizeof(ptr) 2016-11-08 15:12:43 +01:00
Álvaro Felipe Melchor
776577d553 get rid of rabin2 when ik* 2016-11-03 16:51:51 +01:00
pancake
196e5a763c Add ik* command to load bin headers info, and use Cf for that 2016-10-27 23:51:22 +02:00
Álvaro Felipe Melchor
c5ce0d2140 clean up rabin2 2016-10-19 23:02:36 +02:00
pancake
41d6e9edde Add bash autocompletion support 2016-10-04 14:34:06 +02:00
Hi-Angel
9855e55e98 More documentation for rabin2 (manpage and help) 2016-09-28 12:05:12 +02:00
Sven Steinbauer
2996538700 Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
pancake
e04498ac02 Add rabin2 -X and r_bin_package for FAT and ZIP 2016-08-30 04:26:20 +02:00
Damien Zammit
3ae075cba9 rabin2: Fix check for binaries and as a result don't need to open twice (#5614) 2016-08-26 22:21:06 +02:00
pancake
c793151d58 Fix rabin2 -L empty output issue 2016-08-07 18:57:31 +02:00
pancake
de08ce40df Better stdin_gets() in rabin2 2016-08-02 02:11:32 +02:00
Álvaro Felipe Melchor
f1236563f3 Refactor RBin.Xtr to speedup dyldcache extraction
* Refactoring RBinXtr API.
* Cache sub-fat bins in sdb to save memory.
* Fix the error while loading sub-bins of different archs.
* more work into xtr to fix the remaining tests
2016-07-27 11:01:57 +02:00
pancake
f85536ac76 Add agC for full program callgraph
Fix afi indentation issues
2016-07-05 17:37:29 +02:00
Jeffrey Crowell
10b9fc1db0 rm unneeded calls to r_cons_printf 2016-06-26 00:17:16 -04:00
Jeffrey Crowell
8f205587ba kill r_cons_puts add r_cons_print/r_cons_println 2016-06-25 13:49:58 -04:00
pancake
03b3e95c8d Fix build 2016-05-31 23:42:53 +02:00
gk
0461e567e9 Fix #4927 - Add rabin2 -qqz to list only strings (no offsets or sizes) 2016-05-23 22:53:40 +02:00
Álvaro Felipe Melchor
b7cc6c04d7 LDID parse signature in mach0 binaries
* added iC command to show signature info

in the case of mach it shows entitlements

* added rabin2 -OC to get signature info from binary

* change swap to r_read_bleX new API

* change eprintf to r_cons_printf

* add const char in plg->signature
2016-05-09 23:42:28 +02:00
pancake
6261fe32fb bugfixes + testsuite for the Internal Swift demangler 2016-05-03 04:31:36 +02:00