Commit Graph

369 Commits

Author SHA1 Message Date
pancake
92c1631a06 More indent fixes 2015-12-09 00:41:44 +01:00
pancake
cfb03d3772 More indentation fixes 2015-12-09 00:27:31 +01:00
pancake
a4fc08b401 More auto-indentation enhancements 2015-12-08 23:55:23 +01:00
pancake
c4e0ac2885 Fix rabin2 -O sync issue and update manpage 2015-11-30 00:10:28 +01:00
pancake
c0f1184ae0 Simplify two return conditions 2015-11-27 13:09:38 +01:00
Dima Turchenkov
898a00d1d4 String search optimization 2015-11-27 13:06:13 +01:00
Dima Turchenkov
cded3acaba Search string references in data references option 2015-11-27 13:06:13 +01:00
Álvaro Felipe Melchor
d3a5065a23 Fix a heap use after free 2015-11-19 23:05:09 +01:00
pancake
0556a14402 Fix #3697 - Only thumb align in thumb and code segments 2015-11-17 12:51:37 +01:00
pancake
164dcada3b More RBin memory usage optimizations 2015-11-09 12:12:18 +01:00
pancake
45de9bc433 Shrink Imports and Strings RBin memory footprint 2015-11-09 04:41:31 +01:00
pancake
baf63a0cba Reduce RBinSymbols memory (smaller footpronum) 2015-11-09 03:41:07 +01:00
pancake
e359b0b2bf Fix crash regression in rbin, use ptrbuf instead of dupbuf, mem opt lost 2015-11-09 01:03:07 +01:00
pancake
091eaaca91 Optimize memory usage in RBin 2015-11-09 00:07:46 +01:00
Álvaro Felipe Melchor
7498ddff58 Fix crash demangle in objc reported by revskills 2015-10-29 12:57:06 +01:00
pancake
7a1b6516c1 Fix java class crash reported by @revskills (db3d80b14..) 2015-10-24 13:20:55 +02:00
Riccardo Schirone
70669bafc0 bin/bin: do not filter out non-pie binaries when using baddr 2015-10-23 10:55:13 +02:00
Álvaro Felipe Melchor
14a775f14f Fix #3509 - bin.prefix option 2015-10-22 23:36:43 +02:00
pancake
1b88200e31 Add support for 'interpreter' in RBin, ELF and MACH0 2015-10-22 02:13:26 +02:00
jvoisin
c4a930aeff Implement iLj 2015-10-20 14:30:52 +02:00
Riccardo Schirone
0951d51a45 core/anal: use r_bin_get_vaddr instead of raw vaddr and paddr fields 2015-10-20 00:39:19 +02:00
pancake
1b5cd887ce Disobey rabin2 -B if bin is not pie, enhace dmm* and mach0 2015-10-19 02:41:21 +02:00
Ben Gardiner
8d4ad47210 Add bin.maxstrbuf and RABIN2_MAXSTRBUF, update manpage 2015-10-11 03:47:32 +02:00
pancake
afb96ab64e Two minor fixes for rabin2 -zzz and webui/m 2015-10-05 02:01:12 +02:00
pancake
5ecd98305e Add support for MBN/SBL roms, fix 11acb8392, binsect->has_strings 2015-09-29 00:42:31 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
Riccardo Schirone
879182515d core/bin: rebase only READABLE sections 2015-09-10 23:22:26 +02:00
Riccardo Schirone
7eaf158265 bin/config: set bin.baddr to -1 as default 2015-09-10 02:00:18 +02:00
Riccardo Schirone
01f0ac9316 bin/bin: do not put zero in baddr if invalid 2015-09-10 02:00:18 +02:00
pancake
58d6827bbb Honor R_SYS_BITS in r2 - 2015-09-01 03:41:08 +02:00
Riccardo Schirone
575d3e9f0a core/bin: remove loadaddr parameter and get it from the RBinObject 2015-08-29 00:35:09 +02:00
Maijin
6831dd2f6d Revert "More misc cleanup"
This reverts commit 788a3b02c7.

	modifié :         libr/bin/format/pe/pe.c
2015-08-28 20:58:21 +02:00
jvoisin
788a3b02c7 More misc cleanup 2015-08-28 19:13:27 +02:00
Riccardo Schirone
def029d548 tools: always pass baddr to r_core_bin_load
radiff2: adapt to changes in baddr/laddr
bin/bin: no need to reset the baddr
2015-08-26 20:08:13 +02:00
Riccardo Schirone
cce105056b bin/bin: rebase paddr with loadaddr
In this way, paddr will always be the physical address of something in
the file, even if the binary is in the middle of another file.
2015-08-26 20:08:12 +02:00
Riccardo Schirone
81a8b2a3d5 fix baddr >= 0 and laddr 2015-08-26 20:07:42 +02:00
Riccardo Schirone
36d96770aa simplify baddr usage
* some style fixing
* core/bin: simplify rva function
* bin/bin: avoid passing baddr around
* bin/bin: provide methods to work with baddr
2015-08-26 19:56:51 +02:00
Riccardo Schirone
18eaf1c8c5 format/elf: fix paddr2vaddr and vaddr2paddr conversions 2015-08-26 18:30:33 +02:00
condret
06076207fb add r_io-wrappers in r_bin 2015-08-24 00:31:35 +02:00
shuall
0807686d86 #3052 all printf member functions changed to cb_printf 2015-08-09 03:25:05 +02:00
Sam
4a0996566c Fixed small spelling error. 2015-08-05 12:52:20 -04:00
Álvaro Felipe Melchor
b517bc21a2 Fix #3026 - heap use after free 2015-08-04 18:58:24 +02:00
pancake
d054008b17 Implement class methods for DEX and make icj 2015-07-06 02:38:54 +02:00
pancake
c10bcdfbea bin.filter class names and hashify raw bytes in name 2015-07-06 00:58:51 +02:00
pancake
6ed4d5a94b Comment the mach0's symtab parser, rabin2 -u and more 2015-07-05 03:25:20 +02:00
pancake
3d1532c4d9 Is ok to have dupped imports 2015-07-05 00:41:06 +02:00
pancake
cdf56a63f8 Add bin.filter=true config var to avoid dupped symbols and imports 2015-07-04 23:42:48 +02:00
pancake
45a83dc38a Detect Rust binaries in RBinLang for name demangling 2015-06-29 11:22:05 +02:00
Álvaro Felipe Melchor
78d5a78609 Fix COVS 2015-06-04 21:27:41 +02:00
pancake
e19810e875 Fix #2642 - rabin2 -Aj and r2 -ciAj - JSON output for sub-bins 2015-05-29 01:38:31 +02:00