1744 Commits

Author SHA1 Message Date
pancake
f5cb1db49b Fix identifying classes#.dex as DEX (not a BIOS) 2016-06-14 17:00:42 +02:00
pancake
e4af7f9b23 Fixes for ELF/Thumb detection handling 2016-06-14 14:36:03 +02:00
pancake
69e7b3df28 Fix UAF in bin.psxexe 2016-06-14 02:44:52 +02:00
pancake
59f94c63aa Fix some critical COVs in RBin 2016-06-14 02:42:24 +02:00
pancake
b25c520428 Do not realign non-code ARM symbols (strings and such) 2016-06-10 12:18:32 +02:00
pancake
24aec5be8c Fix all latest COVs 2016-06-07 10:03:04 +02:00
pancake
0845add4cf Implement relocs for ELF-powerpc 2016-06-07 00:12:45 +02:00
pancake
e8b8831b83 Fix elf-ppc endian bit 2016-06-06 23:18:21 +02:00
Álvaro Felipe Melchor
ecb0734988 Fix #5069 2016-06-06 22:58:07 +02:00
pancake
eb9feef231 Fixes for powerpc endian in mach0 and other issues 2016-06-06 22:57:22 +02:00
pancake
6b3fea1344 Fix #5068 - stack overflow in bin.xbe 2016-06-06 17:42:56 +02:00
oblique
f06e11b6f4 Fix warnings (#5078)
* Fix gcc warnings

* Fix strtoull return
2016-06-06 00:33:11 +02:00
pancake
2702c3f346 Initial regload support for linux-x32/64 coredumps 2016-06-02 14:16:57 +02:00
pancake
88b71663c0 Fix more trailing spaces in dwarf and comments 2016-05-31 23:37:17 +02:00
Álvaro Felipe Melchor
fa15260d21 some refactoring in pe format code (#5039) 2016-05-31 12:16:57 +02:00
Álvaro Felipe Melchor
8939958569 Fix #5040
oob read in init_dynamic_section elf format code
2016-05-30 21:51:18 +02:00
Sven Steinbauer
547f8bbc5c Infer fixes Round 2 (#4993) 2016-05-24 22:22:15 +02:00
pancake
d9636a9738 Fix some more clang analyzer warnings and cleanup 2016-05-24 14:54:34 +02:00
Anton Kochkov
9ff4056539 Fix CID 1356017 2016-05-24 08:59:26 +03:00
Anton Kochkov
5bc6323591 Fix CID 1356008 2016-05-24 08:57:36 +03:00
andrey.torsunov
2c25a8d503 Reduce memory leak for commands: oo, doo 2016-05-23 20:17:41 +02:00
Sven Steinbauer
8da8ad740f Cleanup fixes
* For commit comments and compiler errors
* Fixes for PR comments
* fix some "infer fixes" commits

Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-23 11:25:44 +02:00
Sven Steinbauer
5cbcdf1da7 Infer fixes for bin
Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-23 11:25:44 +02:00
pancake
5ae9f9b17f Fix endian issue in the ELF parser 2016-05-19 17:28:01 +02:00
pancake
f11eac73a9 Fix calloc(0) in mach0 spotted by clang-analyzer 2016-05-17 12:23:39 +02:00
Álvaro Felipe Melchor
6ea6301846 fix indentation mach-o/loader.h 2016-05-15 23:41:39 +02:00
Álvaro Felipe Melchor
aad08a0002 fix oob parse_signature in mach 2016-05-15 23:41:39 +02:00
Álvaro Felipe Melchor
647b4f29b5 Fix #4808 2016-05-13 21:52:28 +02:00
pancake
d898e8e201 Fix segfault in swift demangler 2016-05-13 17:53:31 +02:00
Álvaro Felipe Melchor
56099e9b67 fix issue when checking for oob - coverity scan 2016-05-11 23:14:51 +02:00
pancake
1b135bc93a Fix #4710 - Fix command injection in swift-demangle 2016-05-10 00:50:09 +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
Damien Zammit
5e1ad580db build: fix warnings 2016-05-08 12:21:11 +02:00
pancake
cafc19f5a3 Demangle two more tests in Swift 2016-05-08 00:09:14 +02:00
Jeffrey Crowell
056f8a7efa fix div by 0 and memleak in elf.c
CID 1338361
CID 1355149
2016-05-07 00:39:28 -04:00
Álvaro Felipe Melchor
6c7d91c5c4 Fix #4749 - fix parsing dynamic section 2016-05-06 22:24:41 +02:00
pancake
51955396c2 Add comparator demangling in swift-sd 2016-05-06 10:39:44 +02:00
Damien Zammit
af0a865d9f WIP - Totally remove host endianness dependence
- Adds endian aware functions
- Removes references to host endian
- Uses binary detected endianness else tries LE and restricts by RAsmPlugin
- Fixes gdb debugger endianness when debugging BE qemu gdbserver

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-04 23:42:17 +10:00
pancake
1b29487ba6 Fix all swift demangler oob reads 2016-05-04 15:32:57 +02:00
pancake
32fc67d63e Add support to demangle function extensions for Swift 2016-05-03 22:25:40 +02:00
pancake
bac256c65c Add support for protocol extension in Swift demangler 2016-05-03 05:26:23 +02:00
pancake
5014da9f1c Fix crash and autodetection in Swift demangler 2016-05-03 04:45:17 +02:00
pancake
6261fe32fb bugfixes + testsuite for the Internal Swift demangler 2016-05-03 04:31:36 +02:00
Álvaro Felipe Melchor
149c7567ed improve arm/thumb detection for .so 2016-05-02 23:00:53 +02:00
Álvaro Felipe Melchor
e805d701db Fix #4649 2016-05-02 18:24:34 +02:00
Riccardo Schirone
26fc8f92ef libr: remove some unused variables and functions 2016-04-27 12:59:45 +02:00
iessa alkuwari
cf39e0f12b load_omf_lname: char overflow 2016-04-25 19:05:58 +02:00
pancake
2b52b9a3e6 Demangle Swift classnames in rabin2 -c 2016-04-25 18:59:27 +02:00
pancake
d2fb776e8f Enhancements in demangler performance and for relocs 2016-04-23 02:02:03 +02:00
pancake
41cfbde641 Check once for xcrun/swift-demangle in PATH 2016-04-23 01:01:22 +02:00