Commit Graph

1856 Commits

Author SHA1 Message Date
pancake
0db8170801 Fix latest covs 2016-09-03 17:26:56 +02:00
Álvaro Felipe Melchor
41a584b91b cache symbols and imports from phdr 2016-09-03 16:58:36 +02:00
Álvaro Felipe Melchor
76d2e3e74f fix uaf introduced in faster load elf 2016-09-03 16:29:16 +02:00
Álvaro Felipe Melchor
bdd8708429 Load ELF files faster caching symbols and imports 2016-09-03 13:57:35 +02:00
pancake
c397cda15d Fix #5667 - Override SHDR symbols with PHDR ones 2016-09-03 05:05:25 +02:00
pancake
e18b2b81f1 Fix pdb regression and more syntax cleanup 2016-09-01 14:30:12 +02:00
pancake
945d6690f9 Fix latest coverities 2016-09-01 12:39:32 +02:00
pancake
12a6469bbd Various fixes for the debug register state on XNU for ARM and x86 2016-08-31 01:57:36 +02:00
pancake
e04498ac02 Add rabin2 -X and r_bin_package for FAT and ZIP 2016-08-30 04:26:20 +02:00
Riccardo Schirone
530ee2d06f bin: fix elf program header name INERP -> INTERP
core/cmd_print: update pf help message
2016-08-29 12:29:30 +02:00
pancake
6d040b2f71 Syntax indentation fixes in mach0 and cbin 2016-08-29 01:09:10 +02:00
pancake
0e39492148 Make dalvik method/field names consistent again 2016-08-28 13:53:59 +02:00
pancake
0b32cf7c90 Fix recent regressions for DEX, fix entrypoints, {s,i}fields and lot of segfaults! 2016-08-28 13:19:04 +02:00
Damien Zammit
e9e8ae3629 Bigendian fixes: DEX parser (#5588) 2016-08-27 01:34:45 +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
Wladimir J. van der Laan
fb196362e1 Handle NULL strings in r_bin_demangle (#5587) 2016-08-23 13:11:30 +02:00
pancake
e0e15baa6c 2x speedup in objc mach0 parsing with memoication 2016-08-19 13:53:11 +02:00
pancake
4eafce512f Remove noisy printf for mach0 2016-08-16 19:54:29 +02:00
pancake
0b4c00440a Remove some unused vars from the ms demangler 2016-08-16 14:46:32 +02:00
Damien Zammit
8efaec0832 Big Endian fixes, mainly for ELF (WIP) (#5535) 2016-08-16 14:22:26 +02:00
dx
4b263b3475 Fix a handful of boring leaks (#5518)
Valgrinding to get exp. Testing with "r2 -Aqcq /bin/ls"

Before:

       definitely lost: 22,735 bytes in 250 blocks
       indirectly lost: 23,542 bytes in 605 blocks
         possibly lost: 2,464 bytes in 7 blocks
       still reachable: 3,876,216 bytes in 80,761 blocks

After:

       definitely lost: 25,216 bytes in 58 blocks
       indirectly lost: 24,830 bytes in 739 blocks
         possibly lost: 0 bytes in 0 blocks
       still reachable: 20,105 bytes in 34 blocks

The "goto beach" (named like that for consistency) change resulted in
freeing most of the "still reachable" stuff on quit, which also moved
stuff out of "possibly lost", so.. it looks like it's leaking more now.
Yay.
2016-08-16 00:45:33 +02:00
pancake
55a76c29e6 Fix iV tests 2016-08-15 09:53:15 +02:00
Daniel L. Polanco
97f3a46100 Add final dll mfc90u to close issue 5486 (#5514)
This is an empty file because I (DanTheColoradan) was unable to
obtain any ordinal information. I tried two versions:

-  9.0.30729.1
-  9.0.30729.6161

Both were downloaded from dll-files.com. I also tried a version
from MS Windows 10, but I don't know what version it was.

This change should close #5486.
2016-08-14 22:42:45 -04:00
pancake
e33a6acbe7 Fix version info section sizes 2016-08-15 03:09:27 +02:00
pancake
771acc81f6 Fix huge load times for fuzzed versioninfo bins 2016-08-15 02:37:24 +02:00
pancake
3495e98545 Fix Warning: Too big version thing in some ELFs 2016-08-14 19:48:29 +02:00
pancake
f8fa41bac8 Add gsprop32 and spr32d70 in bin/d/Makefile 2016-08-14 02:09:38 +02:00
Daniel L. Polanco
5d551c68fb Add spr32d70 and gsprop32 sdb for issue 5486 (#5491)
As per Maijin's request, I have added two out of the three dlls
I need to run radare2 on an exe I'm trying to disassemble. I was
unable to get any useful function exports for the third file,
mfc90u.
2016-08-14 02:08:53 +02:00
pancake
059ad1a51c Differentiate methods from functions in objc parser 2016-08-09 01:40:12 +02:00
pancake
bf63107f9a Fix uninitialized entry field for MZ bins (jman issue) 2016-08-08 10:45:32 +02:00
Álvaro Felipe Melchor
32335f7635 fix regression 2016-08-07 19:16:02 +02:00
Álvaro Felipe Melchor
b765f0e786 Fix #4639 - Problem with arm32 2016-08-07 18:00:40 +02:00
Álvaro Felipe Melchor
0bc983027f improve arm/thumb in elf file format and disasm 2016-08-07 17:38:34 +02:00
Álvaro Felipe Melchor
d0032b08ea fix crash in dex 2016-08-07 12:54:29 +02:00
pancake
bc0f5fe119 Parse fields and statics in DEX 2016-08-06 03:10:56 +02:00
pancake
2f339144f4 Fix some latest covs 2016-08-05 13:25:20 +02:00
pancake
cc01682132 Some playground with DEX 2016-08-05 13:11:30 +02:00
pancake
e553fc2bec Fix method names glitch in DEX 2016-08-05 00:27:01 +02:00
pancake
7b0622f85d Fix latest covs 2016-08-01 14:46:17 +02:00
pancake
2bf4dc7ffc Fix #5426 - r_bin_list uses RCons now 2016-07-30 19:17:17 +02:00
pancake
f2ac0a1d52 Enhance ignore call warning message and minor refactor in mach0 entitlements parser 2016-07-28 11:33:53 +02:00
Maijin
7938640445 Move all /t/ from r2 to r2r 2016-07-27 19:19:30 +02:00
pancake
f2c0ad9edb Fix null de-refs in GNU C++ demangler 2016-07-27 12:22:49 +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
e62aac49f3 Update C++ demangler from the latest GNU binutils 2016-07-26 18:57:57 +02:00
pancake
2638b07571 Fix r2 -d mame on OSX asm.bits=16 problem 2016-07-26 15:30:26 +02:00
pancake
0cffcb981e Fix vsize=0 issue in PE parser (fixes asm68k.exe issue) 2016-07-25 00:03:20 +02:00
Álvaro Felipe Melchor
965c0400d2 refix dwarf crash 2016-07-17 19:20:48 +02:00
Álvaro Felipe Melchor
0d42b6c017 fix crash in dwarf fuzzed test 2016-07-17 18:42:22 +02:00
Álvaro Felipe Melchor
890526f776 fix minor things in mach0.c 2016-07-14 23:11:04 +02:00