Commit Graph

238 Commits

Author SHA1 Message Date
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
pancake
d4116d5c4f Fix rabin2 -D 2016-04-28 02:02:16 +02:00
pancake
fafc626b55 Performance optimization for rabin2 (request vs all) 2016-04-23 00:47:00 +02:00
pancake
5867365cd5 Add dummy work for mach0 in rabin2 -O 2016-04-07 15:42:06 +02:00
Lukas Dresel
5a4fe03d41 Fix #4495 - rasm2 not loading all the plugins
- Fixed misplaced free(tmp) i broke
- Made plugin loading work the same in every tool.
- Removed last instances of hardcode 'LIBR_PLUGINS' string
2016-04-05 22:42:19 +02:00
Aneesh Dogra
4562283f66 Rabin2 Xtr: Add error message if none of the plugins can extract bins from the file. 2016-03-24 22:46:35 +01:00
Matthieu Tardy
bb84bbc276 Fix memory leaks in rabin2 and libr 2016-03-06 23:17:44 +01:00
Matthieu Tardy
797a675b45 Remove optarg checks
getopt is returning '?' if there is a missing option argument, which cause
the switch to branch on the default case. Consequently, tests on optarg are
redundant if a valid argument was given and never executed if the argument is
missing.
2016-03-04 16:17:31 +01:00
Adr1
611c3d1752 RBin: Display File Version info 2016-03-04 01:15:56 +01:00
pancake
a548fd76dd Fix rabin2 -Q and update manpage 2016-02-04 21:52:32 +01:00
pancake
f5181c4d90 Initial rework for dyldcache 2016-02-04 15:44:49 +01:00
deffi420
e7fdedd501 Improve r_hex_str2bin, fix overflow and error check 2016-01-23 11:53:43 +01:00
pancake
666d457708 Add rabin2 -O e/new-entrypoint-address (ELF only atm) 2016-01-14 14:42:36 +01:00
pancake
c4e0ac2885 Fix rabin2 -O sync issue and update manpage 2015-11-30 00:10:28 +01:00
pancake
ad6baf0824 Add rpath and scnperm in rabin2 -O 2015-11-27 20:37:27 +01:00
pancake
07c6a1e41d Fix rabin2 -k crash 2015-11-24 10:17:24 +01:00
pancake
548890e038 Do not extract non-fat binaries 2015-11-05 22:59:29 +01:00
pancake
63c47bc15e Make rabin2 -A help more readable 2015-11-05 13:37:21 +01:00
pancake
8d6c173df7 Implement {R2|RASM2|RABIN2}_NOPLUGIN env var support 2015-11-05 00:38:42 +01:00
Álvaro Felipe Melchor
b1583d5b24 Fix more issues reported by clang-analyzer 2015-11-03 22:14:00 +01:00
Álvaro Felipe Melchor
14a775f14f Fix #3509 - bin.prefix option 2015-10-22 23:36:43 +02:00
jvoisin
c4a930aeff Implement iLj 2015-10-20 14:30:52 +02:00
pancake
45c7c923af Better dtc, demangling support. Handle RABIN2_LANG, and more c++ autodetect
* r_name_filter(len:-1) strlens the string
* Show symbol names in `dtc` (calltracer)
2015-10-19 13:21:12 +02:00
pancake
3fd04b1bea Update rafind2 manpage 2015-10-19 04:02:14 +02:00
pancake
5d33a6fe44 Add RABIN2_DEMANGLE env var 2015-10-19 03:28:22 +02:00
pancake
6ed80ae39b Update sdb and rename rmkdir->mkdirp 2015-10-19 00:25:39 +02:00
pancake
1dba5a687d Initial implementation of bin.strfilter and bin.strpurge 2015-10-13 03:50:14 +02:00
Ben Gardiner
8d4ad47210 Add bin.maxstrbuf and RABIN2_MAXSTRBUF, update manpage 2015-10-11 03:47:32 +02:00
pancake
be0538a6a8 Fix some windows build warnings 2015-10-08 11:14:10 +02:00