349 Commits

Author SHA1 Message Date
Rene Laemmert
d11473201a Started changing bin_load to bin_open (#10221) 2018-06-20 16:19:22 +02:00
Florian Märkl
a5b3ff9486 Make izz more task-safe (#10373) 2018-06-17 15:12:54 +02:00
Khairul Kasmiran
e2e9c993a3 Moved segments from iS/'rabin2 -S' to iSS/'rabin2 -SS' 2018-06-10 03:30:25 +02:00
Khairul Kasmiran
80d5d26704 iS ELF: differentiate between sections and segments 2018-06-10 03:30:25 +02:00
radare
6da28493f5
Initial work on using idpool+idstorage from RBin + initial new RBin.open() api (#10160) 2018-05-22 17:48:34 +02:00
Anton Kochkov
c5ab1cf3e6 Restore the semantics of previous commits 2018-04-16 13:34:18 +08:00
Khairul Kasmiran
500c219b71 iee: include preinit funcs 2018-04-09 10:40:42 +02:00
radare
dfcf6f745d
Initial transition to use RBuffer in RBin (#9787)
* Initial transition to use RBuffer.io in RBin

- Fixes loading Core files from Virtualbox (> 2GB ELF64)
2018-04-03 20:23:26 +02:00
pancake
5d59c32db0 Make aac run with O(1) instead of O(n+n*m) on files with class info 2018-03-23 13:51:47 +01:00
Riccardo Schirone
170f80d1d7 Remove R_BIN_SCN_MAP flag (#9744) 2018-03-22 22:10:07 +01:00
Oscar Salvador
362184b722 Loading Core (x86, x86_64, aarch64) (#9669) 2018-03-15 11:46:07 +01:00
pancake
03ff82839d More code cleanup in RBin api for file and obj 2018-03-05 00:05:17 +01:00
pancake
0e692944a4 Refactor RBin for file and obj, mach0 headers to stdout
- Show CODESIGN load command offset+size
2018-03-04 23:52:45 +01:00
Khairul Kasmiran
6484c12547 Moved cbin.c's string filtering code into bin/filter.c 2018-02-15 20:42:05 +08:00
Khairul Azhar Kasmiran
89c309a900 bin.strpurge: added fine-grained purging of strings to iz (#9210) 2018-01-17 20:34:53 +01:00
Khairul Azhar Kasmiran
b117fbd12e bin.strpurge: allow more fine-grained purging of strings (disasm only) (#9194) 2018-01-14 18:09:22 +01:00
sivaramaaa
74a5b55925 Honor *q in izzz 2018-01-12 10:02:22 +01:00
xarkes
e28518f478 Added missing z64 declaration 2018-01-10 23:20:18 +01:00
pancake
37116971d3 Add bin.useldr and bin.usextr options to tweak RBin loading behaviour 2018-01-07 22:08:53 +01:00
pancake
7f40f36c3a Initial draft implementation of the loader plugins for RBin 2018-01-07 21:54:41 +01:00
Ren Kimura
1c8094bc9b Add Initial support for the NSO Nintendo Switch static binaries
* Every sections in NSO binary are packed by LZ4. So I've added shlr/lz4 library too.
2017-11-05 11:40:16 +01:00
pancake
0a1181515d Make constructor/destructors available only via rabin2 -ee (and iee in r2) 2017-10-30 18:31:01 +01:00
Alex Kornitzer
a6da4135ba mdmp: moved mdmp to the core from r2-extras 2017-10-26 11:25:11 +02:00
Fangrui Song
814ad1d8b3 Boolify r_bin_wr_output (#8412) 2017-09-04 02:59:53 +02:00
alvarofe
213cc1cdce Fix plt detection in analysis by using bin info 2017-08-28 16:44:51 +02:00
condret
41cb6ef0d2 use more fd-api 2017-08-23 00:05:16 +00:00
pancake
de25f7a0fc Fix memleak when using rbin without binding io 2017-08-18 17:08: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
pancake
dde903aa7b Honor bin.dbginfo for DEX (~20% speedup loading times) 2017-07-24 01:35:33 +02:00
pancake
4d2bfe135a Add RBinInfo.has_lit for 15% speedup loading DEX bins 2017-07-24 01:15:56 +02:00
Antonio Sánchez
d74775cb6d Added resources extraction to rabin2 (#7912) 2017-07-14 13:12:53 +02:00
Marc
1c772a9672 Enhance icj, ic and id in Dex (#7821) 2017-06-27 17:02:14 +02:00
pancake
0ddf174dc4 Detect utf32 (wide32) strings with rabin2 -z 2017-06-20 10:57:00 -05:00
Giovanni
72b643654d iCj - Signatures in JSON format 2017-05-09 14:43:07 +02:00
mrmacete
4e3936cb37 Fix: avoid modifying symbol names in bin/filter
- the duplication count is stored in RBinSymbol and used when emitting flags
- for class method names this duplication count is ignored, since the flag generation already prepends the class name to account for uniqueness
- bring back the duplication count for obj. / loc. / sym. flags and in is*
- in all other places (lists, midflags, ic, etc) the "real" names are shown instead
2017-05-03 14:28:48 +02:00
pancake
54f6efddde Upgrade capstone-next to get tms320c64x support and more fixes for SFC 2017-04-17 23:37:04 +02:00
Álvaro Felipe Melchor
825caa96bc Fix #6955 - get rid of .check in RBinPlugin and RBinXtrPlugin 2017-04-13 11:54:28 +02:00
Francesco Tamagni
05a52327e2 Expose class method's flags (#7253)
- a superset of method flags is defined with R_BIN_METH_* constants
- a new field, RBinSymbol->method_flags holds them
- every parser can expose them
- they show up in `ic` commands and VB, either in compact form, JSON and r2 commands
- exposed them for objc and dex
2017-04-12 02:27:27 +02:00
pancake
65776308c9 RAR disassembler and bin plugin moved to radare2-extras 2017-04-11 13:53:58 +02:00
pancake
fb47d2ce74 Initial implementation of extracting class info from symbols 2017-04-10 12:52:42 +02:00
pancake
bbc508b324 Move lua53 plugins to radare2-extras, available via r2pm
This reverts commit 16c2fd2fe4fcdd1b530d8792adc47dca666bd868.
2017-04-05 10:16:50 +02:00
Cararasu
16c2fd2fe4 Lua 5.3 Assembler/Disassembler, Analyzer and Binary Plugin (#3836) (#7197)
* Added Lua 5.3 Assembly and Disassembly
* Implemented Lua 5.3 Binary Analyzer #3836
* removed unnecesasry prints for lua implementation #3836

* implemented caching for parsing the lua-file #3836 grouped global data together
* added mnemonics to analyzer and fixed a wrong instructionname
* replaced llx and llu with PFMT64x
* removed trailing whitespaces from lua 5.3 assembler and binary analyzer
* made all functions in lua53 plugins that are possible static
2017-04-03 11:59:17 +02:00
pancake
40bc4cb751 Fix ood symbol rebasing and add obr command 2017-03-18 21:40:01 +01:00
pancake
56aeb2a6e3 RBinPlugin.load boolified 2017-03-17 03:52:43 +01:00
pancake
6a9c4a652c Refactor get_sdb(RBinObject) -> get_sdb(RBinFile) + r2-indent 2017-03-15 00:21:37 +01:00
pancake
6506118fb9 Initial support for the NRO Nintendo Switch binaries 2017-03-14 20:02:59 +01:00
pancake
1a5dbf3ccb Boolify rbin's check + check_bytes callbacks and fix null deref in dex 2017-03-08 23:16:46 +01:00
Giovanni
5d669ed2f8 Improvement of iI for PE with signatures + refactoring (#6930)
* Improvement of iI for PE with signatures + refactoring
2017-03-07 15:54:22 +01:00
xarkes
4d7767883b Added PE overlay flag to r2 -nn and in iI (#6926) 2017-03-06 12:00:44 +01:00
pancake
a41a8252ae Initial import of the WIP support for WebAssembly (bin + disasm) 2017-03-02 14:42:05 +01:00