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
pancake
2353737e17
Fix #2602 - Detect Canary and Go in MACH0 binaries
2015-05-23 10:55:44 +02:00
pancake
e391645137
Bump sdb with lot of bugfixes
2015-05-12 01:53:47 +02:00
pancake
4ced532d69
Tons of fixes and cleanups to make the java tests happy
2015-05-11 18:23:38 +02:00
pancake
8345811ccf
Fix 'bin_strings buffer is too big' issue
2015-04-29 01:34:04 +02:00
pancake
c2a0949e0e
Fix #2437 - Fix invalid Pebble app header crash
2015-04-25 04:12:55 +02:00
pancake
e7f3631457
Fix baddr regression
2015-04-24 02:23:23 +02:00
pancake
070836b326
Honor SIGSTOP without breaking ^Z
2015-04-20 01:05:22 +02:00
pancake
9a94698bd4
Fix #2382 - fix ragg2 crash and pe memleak
2015-04-16 17:24:26 +02:00
pancake
acd5e4b999
Fix dalvik<->dex class and method name resolutions
2015-04-12 05:13:51 +02:00
pancake
68c98b2b05
Remove debug printf, fix crash in rabin2 -qzz
2015-04-01 20:56:12 +02:00
pancake
5f68935551
Fix rbininfo related crash on PE files
2015-03-25 23:12:25 +01:00
pancake
6e52324885
Fix some more null derefs related to the rbininfo change
2015-03-25 17:29:38 +01:00
pancake
dff11411cc
RBinInfo is now dynamically allocated
2015-03-25 14:49:33 +01:00
pancake
c75192e435
Handle babel-node.es6, remove debug printf in rlang and autoinit io in rbin to ease scripts
2015-03-25 12:49:10 +01:00
pancake
12ea9734b5
Fix about 15 more random COVs
2015-03-21 02:04:49 +01:00
pancake
515b2e77bc
Fix about 40 COVs related to memleaks and buffer overflows
2015-03-21 01:27:54 +01:00
condret
73e93b41cb
extend bin-mem-api
2015-03-18 13:36:03 +01:00
pancake
406f14fa1a
Fix null deref in rbin
2015-03-17 11:27:55 +01:00
Clément Vuchener
705e4d56bf
Fixing arguments (bugs #1814 and #2117 ) #2143
...
Added proper escaping of command line
Creating a command line from arguments when debugging on Windows
Keep backslashes when not escaping a character
Assuming that the path of the binary should be in desc->name and not the command line in ptrace IO plugin
Print the backslash when it is at the end of the command line
2015-02-26 03:05:37 +01:00
pancake
ad80aba942
Initial support for debugger memory snapshots dms. Enhace hexdiffing
...
- Fix linux debugger
- ccc shows hexdiffing, but only the ones that differ
2015-02-23 03:29:40 +01:00
pancake
813cc23bd3
Fix iOS/OSX debugger regression introduced in 90b47a9f20
2015-02-23 01:05:26 +01:00
pancake
90b47a9f20
Drop max file size to make rabin2 -zzz happy
2015-02-20 00:58:12 +01:00
inisider
d4b9195b95
add detector of msvc and lisence comments
2015-02-19 22:49:44 +01:00
pancake
31e08131d1
Handle RBin demanglers from plugins and support D language
2015-02-11 02:05:22 +01:00
pancake
a22f110979
Fix the rest of fatmach0 tests
2015-02-07 02:32:54 +01:00
pancake
3d2dec8852
Fix rabin2 -A for fatmach0s regression
2015-02-07 02:16:59 +01:00
pancake
1ea6a79d81
Fix null deref when failing to load a fatmach0
2015-02-04 02:40:48 +01:00
pancake
74c3707850
Fix invalid buffer size passed to bin_obj_new()
2015-02-03 23:19:14 +01:00
r0nk
2116a87c0c
fixed a _huge_ memory leak.
2015-02-02 01:44:38 +01:00
pancake
039858fd86
Fix r2 -B, rabin2 -B, Implement oa command
...
- Now it is possible to load binfiles from debugger memory
* Base address is now honored properly. But it needs more testing
2015-01-29 01:45:39 +01:00
jvoisin
16cac50319
Coverity++
2015-01-24 11:24:55 +01:00
pancake
d08015cf66
Add f--, fs-*, o--, enhace Po a lot
...
- Handle all internal information deinitialization in:
- flags, io, core, bin, anal
- Fix w32 build
2015-01-22 02:22:29 +01:00
pancake
4c6e2f129c
Add rabin2 -F and r2 -F to force the use of a specific rbin plugin
2015-01-11 19:40:26 +01:00
pancake
ded8790518
Initial support for Swift symbol and imports demangling
2015-01-02 04:32:53 +01:00
pancake
262b0cfd55
A fix for a MACH0 crash
2014-12-11 19:57:01 +01:00
pancake
acade3fee7
Fix more crashes on DEX
2014-12-11 17:21:15 +01:00
pancake
a984b05720
Fix underflow in RIO and clean some null derefs in RBin
2014-12-04 13:02:11 +01:00
pancake
9a0d62da22
Finally remove the void*debug pointer from RIOPlugin (use bool isdbg)
2014-11-21 11:36:51 +01:00
pancake
b1da2b30e3
Fix #1670 - r2 -d 'ls -l /' working again
2014-11-18 11:19:04 +01:00
pancake
b158a7a63b
Fix rabin2 -z regression
2014-11-05 09:46:11 +01:00
pancake
b833c21948
Fix another off-by-one crash in rabin2 -z
2014-11-05 00:37:58 +01:00
pancake
7eea922f35
Fix a tiny off-by-one in rabin2 -z
2014-11-05 00:17:48 +01:00
pancake
cab0c6ae49
Fix crash in r_utf8_decode
2014-11-04 23:17:52 +01:00
Fedor Sakharov
d9a78f33b4
bin: Load symbols before relocations
2014-11-04 13:59:54 +01:00
jvoisin
a60d82b800
Fix a lot of warnings for GCC
...
Less than 20 warnings remaining on my x86_64 GCC 4.9.1
2014-10-26 13:50:58 +01:00
pancake
e807868b78
Honor rabin2 -N minstrlen for -z,-zz,-zzz
2014-10-24 20:13:18 +02:00
pancake
131b9092c2
Implement rabin2 -zzz (dump strings to stdout, works on huge files)
2014-10-24 18:26:37 +02:00
pancake
da866539ee
Fix 'oo' bug (sync rcorefile and riofile lists), Better 'ob'
2014-10-17 00:04:52 +02:00
pancake
0e0dc63aa8
Fix r2 -d problem not loading syms. Redo the ASLR/PIE again
2014-10-15 15:41:02 +02:00
pancake
abd7bcda90
Hackaround for pie bins
2014-10-08 01:54:09 +02:00
pancake
9f962a05ab
Fix r2 -zz and rabin2 -zz, also set default minstrlen for ELF/ELF64
2014-10-07 22:55:10 +02:00
pancake
38a1ded448
Fix rabin2 -a arm -b32 -c ...
2014-09-26 18:13:55 +02:00
pancake
ac22f9e25c
Fix several COFF parsing crashes. Bring back /B
2014-09-20 19:28:56 +02:00
pancake
fc2bb2af7f
Fix 4GB issue file and some more warnings
2014-09-20 15:53:29 +02:00
Jonathan Neuschäfer
64574ac5fb
Fix an one-byte buffer overflow in string_scan_range
2014-09-18 18:56:57 +02:00
pancake
32173be9ee
Fix RBinInfo.static
2014-09-09 00:33:31 +02:00
pancake
8204e78c3f
Fix RBin & RLang related crashes (fix lot of memleaks and dblfrees)
2014-08-29 16:27:44 +02:00
pancake
67171b86a5
Hackaround to get r2 -B0 working.
2014-08-28 00:19:51 +02:00
Jonathan Neuschäfer
ed2470bc2c
Avoid a few out-of-bounds reads
...
* When "omr" is called without any arguments
+ instead just do nothing
* in string_scan_range
* unbounded pdj now works under ASAN.
+ But what did the +5 do there?
* on px/ without arguments
2014-08-26 03:45:14 +02:00
pancake
cda3d9c44b
Update sdb and workaround all sdb finalization issues until proper fix is done in Sdb
2014-08-25 01:10:10 +02:00
jvoisin
052d576ae6
coverifix
2014-08-24 19:40:08 +02:00
pancake
1386bbd2b8
Fix crash in elf parser (rbinfile != rbin != rbinobj)
2014-08-19 11:37:17 +02:00
jvoisin
9b99c0135d
Even more coverifix
2014-08-18 15:03:02 +02:00
pancake
4b7e3cdd3f
Fix CID 1231791
2014-08-17 20:22:30 +02:00
pancake
a0570b4144
More fixes related to paddr/vaddr on PE/ELF/XBE
2014-08-15 12:47:05 +02:00
pancake
a6ad71eccb
Implement '/B' to search for known RBin headers
2014-08-11 03:48:51 +02:00
pancake
9a55e866b0
Fix rabin2 -Z . Implement it for DEX too.
2014-08-07 01:00:04 +02:00
pancake
5f3dda2bc2
Optimize loading big binaries, mostly for PE ~20x faster
2014-08-05 01:42:22 +02:00
jvoisin
f7b05fe65d
Coverifix rampage!
2014-08-04 01:21:38 +02:00
jvoisin
d026752e4e
Add a check to plugin loading, thanks davispuh
2014-08-03 17:30:21 +02:00
pancake
314ab38a78
Fix all latest coverity issues
2014-07-21 17:51:20 +02:00