Commit graph

252 commits

Author SHA1 Message Date
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
f96f00d62d Fix #5158 - Merge r_db into r_util 2016-06-17 12:19:16 +02: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
3758b3a54a Fix static/android build 2016-04-25 12:40:01 +02:00
pancake
fafc626b55 Performance optimization for rabin2 (request vs all) 2016-04-23 00:47:00 +02:00
pancake
ad795c2b8e Fix static build 2016-04-13 15:10:53 +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
pancake
f1f83276ea Fix static build with libbochs 2016-03-25 10:13:50 +01: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
Álvaro Felipe Melchor
c0fff5e3e7 fix typo 2016-03-16 14:35:06 +01:00
Álvaro Felipe Melchor
53be2c8e7c added r_crypto to rabin2 2016-03-16 14:34:05 +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
pancake
cd767ccaf4 Fix Android build 2015-09-24 03:36:06 +02:00
pancake
34811ad84e Fix #2416 - Add iE and rabin2 -E to list exports 2015-09-23 12:23:03 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
jvoisin
4261075d60 Misc fixes to make clang-analyser even more happy 2015-08-29 18:08:38 +02:00
Riccardo Schirone
575d3e9f0a core/bin: remove loadaddr parameter and get it from the RBinObject 2015-08-29 00:35:09 +02:00
Riccardo Schirone
6f0962555d baddr: still some fixing, in particular when reloading files 2015-08-29 00:35:09 +02:00