Commit Graph

1640 Commits

Author SHA1 Message Date
pancake
f2079db4ad Fix fatmach0 2016-02-04 18:02:09 +01:00
pancake
f5181c4d90 Initial rework for dyldcache 2016-02-04 15:44:49 +01:00
pancake
b08892dbb3 Fix Tricore warnings and handle in ELF 2016-01-30 02:58:45 +01:00
pancake
7d91280e5c Handle EM_XTENSA bit in ELF header 2016-01-29 00:06:28 +01:00
deffi420
0113d2a0d3 Add missing quotation mark in elf_version enum
Silences a warning on loading ELF definitions
2016-01-28 23:17:44 +01:00
pancake
44a86928cc Fix some of the warnings in #4013 2016-01-27 03:14:19 +01:00
Jeff Muizelaar
995409bfe2 Parse SHORT PDB type 2016-01-26 21:51:03 +01:00
deffi420
f4bce2b425 Handle elf_phdr/elf_shdr enums in elf.c
... and refactor a little.
2016-01-26 09:39:22 +01:00
deffi420
028df44c9d Add type and flags enums to elf_[ps]hdr structs 2016-01-26 09:39:22 +01:00
pancake
dcab698e65 Fix Thumb detection in ELF shared libraries 2016-01-25 23:01:40 +01:00
pancake
1fc7dd4cf6 Check mallocs in PE 2016-01-22 15:16:27 +01:00
Maijin
94c4b5de11 Fix issue with cached dll 2016-01-17 22:10:46 +01:00
Maijin
5b4745d7d2 Cached dll ordinals are now lowercase Fix #3962 2016-01-17 21:17:07 +01:00
Maijin
d72683204f Add several missing cached dll ordinals 2016-01-17 13:07:32 +01:00
Maijin
05a0c139fa Add KERNEL32.sdb #3965 2016-01-17 11:57:33 +01:00
Maijin
dec50ae9d4 Add is_vb6 check in bin_pe 2016-01-15 16:37:14 +01:00
pancake
666d457708 Add rabin2 -O e/new-entrypoint-address (ELF only atm) 2016-01-14 14:42:36 +01:00
pancake
a362dcf6d9 Update sdb and fix more null derefs caused by mem exhaustion 2016-01-11 00:24:18 +01:00
Maijin
ce7fe3bc3c Add MSVBVM60.sdb.txt 2016-01-10 21:25:51 +01:00
Alberto Ortega
dbb199e4a5 New bin plugin with initial Nintendo 3DS support. It loads decrypted FIRM files. 2016-01-04 01:08:32 +01:00
pancake
42acaa7596 Softly kill boolt type 2016-01-03 02:05:26 +01:00
pancake
5132a499c2 Fix many coverities 2015-12-31 17:10:02 +01:00
pancake
efc01fe6c0 Aim to fix #3870 - dwarf crash 2015-12-29 18:11:14 +01:00
pancake
b728b48123 Native tvOS/WatchOS support, non-fat libr.a and mach0 identification for them 2015-12-28 20:40:18 +01:00
pancake
e56be2fbd5 More multi-arch static build archive fixes for iOS/OSX/tvOS/WatchOS/*OS 2015-12-28 18:31:05 +01:00
pancake
1d8b761ca1 Various static and iOS related build issues are now fixed 2015-12-28 02:01:45 +01:00
Maijin
776aee4dcc ROM section is now executable
ROM section is now executable
2015-12-25 22:18:19 +01:00
DZ_ruyk
51ae0129c7 Fixed PE export functions address calculation 2015-12-24 16:04:59 +01:00
pancake
bf813c252c Fix null-terminated strings issue in bootimg rbin plugin 2015-12-19 17:29:48 +01:00
Judge Dredd (key 6E23685A)
746f2dcc34 Fix oa double free #3858 2015-12-19 16:52:29 +01:00
pancake
65aef74a73 Initial support for Android BOOT images 2015-12-18 20:08:05 +01:00
alvaro_fe
a6e4d6b93e Fix #838 2015-12-16 11:40:23 +01:00
pancake
965d789c4a Update indentation in some more random files 2015-12-14 14:32:18 +01:00
Jaume Delclòs Coll
37e793f58e proper virtual address for GBA ROMs 2015-12-12 11:36:19 +01:00
Álvaro Felipe Melchor
32c743dd98 Fix #3774 2015-12-09 19:33:36 +01:00
pancake
5ce1194dab Keep root class address when meta class is found 2015-12-09 16:56:26 +01:00
pancake
3961728eaf Fix objc regression and initial metaclass support 2015-12-09 16:54:05 +01:00
pancake
c6ebab5f19 Some more objc parsing endian fixes and refactor 2015-12-09 16:01:51 +01:00
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
Dima Turchenkov
c086a74e8f additional checks for architectures to detect endianness 2015-12-08 17:29:36 +01:00
Dima Turchenkov
d21d19c450 strange delphi artifact in PE header causes this bug 2015-12-08 17:29:36 +01:00
pancake
0880d7d4f5 Some refactor/cleanup for agf and io cache (wip) 2015-12-08 14:59:30 +01:00
Álvaro Felipe Melchor
7f95042491 workaround for #3774 2015-12-07 18:56:25 +01:00
Álvaro Felipe Melchor
0537a72e9b cleanup elf and fix #3774 2015-12-05 21:00:51 +01:00
pancake
327597f949 Some objc code cleanup, still looking for a bug 2015-12-04 13:14:55 +01:00
pancake
40e08dbd89 Get rid of _Bool 2015-12-01 12:39:12 +01:00
pancake
c4e0ac2885 Fix rabin2 -O sync issue and update manpage 2015-11-30 00:10:28 +01:00
Ricardo Quesada
e4182b943d More symbols for the VSF file format parser
- removed verbose debug eprints
- Fixes warnings and compilations errors
- more symbols: SID and VIC
- removes NMI/IRQ symbols.
- removes IRQ entry
2015-11-29 12:18:00 +01:00
Ricardo Quesada
f5c65f5da8 Adds VSF (VICE Snapshot File) support as a bin format
VICE is the most popular C64/C128 emulator and allows
users to save snapshots of the games.

Analyzing VICE snapshots are more useful than
analyzing .prg (the "standard" c64 program)
because usually all .prg are compressed, and
are decompressed in runtime.

commit 796297c6cd3a099fd17ad3715b4ed5646a6a9e65
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Fri Nov 27 12:28:58 2015 -0800

    no sbd for the moment

commit c785b22318c3cacf7771ab21198aa759777224af
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Fri Nov 27 10:06:12 2015 -0800

    bank 0 and bank 1

commit 63304876b6f84df001c39f5b35084ff6e61bc01b
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Fri Nov 27 09:47:12 2015 -0800

    c128 includes basic, monitor and editor sections

commit 1a8995a644df6d9e871a586e57c3cd8e00cce7ae
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Thu Nov 26 14:45:36 2015 -0800

    c128 roms...

    uses sdb which is not used at all
    more vic symbols

commit 8a29c3c7736fcf689b9248e65093277347ae38bc
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Tue Nov 24 10:39:44 2015 -0800

    ram last entry

commit fca46301b2fd68e230cf547047a5278e098c9340
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Tue Nov 24 00:10:20 2015 -0800

    more tidy code

commit 03b8a12b319bd0eb9f21b60d882da2030c2c35f1
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Mon Nov 23 22:52:20 2015 -0800

    VSF works for C64... still many things to fix

commit a118a930cb40441b412db916deb4c0ca30e30309
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Mon Nov 23 13:37:32 2015 -0800

    initial commit... compiles and detects VICE

    but nothing more
2015-11-29 12:17:05 +01:00
pancake
ad6baf0824 Add rpath and scnperm in rabin2 -O 2015-11-27 20:37:27 +01:00
Maijin
6baaace502 Add entrypoint for SPC700 loader
Add entrypoint for SPC700 loader
2015-11-27 14:03:55 +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
Maijin
e68ed8dd91 Add support for SPC700 file format 2015-11-27 13:03:18 +01:00
Jeffrey Crowell
8878a357a1 fix leak reported by COV 2015-11-27 00:45:06 -05:00
pancake
dd8b7b1e04 Handle PIC field in ART file format 2015-11-26 13:18:11 +01:00
pancake
bfb49516e1 Some minor code cleanup for ART 2015-11-26 12:56:07 +01:00
pancake
615dffca0e Fix w32 build 2015-11-23 21:08:04 +01:00
Dax
412934d20e Initial PSX Executable Support
PSX Plugin: Deleted useless file
PSX Plugin: Adjusted coding style, minor fixes
PSX Plugin: Removed typo, adjusted makefile, call check_bytes with correct parameters
2015-11-23 20:56:19 +01:00
Álvaro Felipe Melchor
893b094cf7 Fix ffc9406 crash by revskills 2015-11-23 19:00:57 +01:00
pancake
a31cd1101e Initial import of the VAX asm/anal/bin support 2015-11-23 12:34:53 +01:00
pancake
25ec4623b4 Fix 3757ca.. objc mach0 crash from @revskills 2015-11-22 23:08:53 +01:00
pancake
7abb81f22a Fix 054164 objc parser crash by @revskills 2015-11-22 23:03:31 +01:00
pancake
41ef4a008f Fix 3496c4 sample from @revskills 2015-11-22 22:06:53 +01:00
pancake
b5333accaa Fix objc demangle crash (thx @revskills) 2015-11-22 21:56:23 +01:00
pancake
ccfee9fcca Fix many important issues reported by clang-analyzer 2015-11-22 11:27:45 +01:00
pancake
88038a85ad Fix some RBinSymbol->name issues and drop null defs (-211LOC) 2015-11-22 01:09:02 +01:00
pancake
94089be030 Fix bin.smd loading 2015-11-12 12:58:33 +01:00
Álvaro Felipe Melchor
d3a5065a23 Fix a heap use after free 2015-11-19 23:05:09 +01:00
Álvaro Felipe Melchor
50b2e62552 Fix crash in mach0 loader 2015-11-19 23:05:09 +01:00
pancake
b35b830446 Fix mach0 regression introduced in 081ba8343 2015-11-18 11:40:34 +01:00
Álvaro Felipe Melchor
081ba83431 Fix crash 6f29967c0 by revskill 2015-11-17 22:44:48 +01:00
pancake
a50d671b4e Drop some unnecessary warning messages 2015-11-17 13:30:02 +01:00
pancake
0556a14402 Fix #3697 - Only thumb align in thumb and code segments 2015-11-17 12:51:37 +01:00
pancake
04cd1250c2 Add alignment for AVR code 2015-11-15 00:29:33 +01:00
Jeffrey Crowell
6ea16a56f4 fix some crashes in the NES bin
cc @mossberg
2015-11-12 13:46:56 -05:00
pancake
7901b57803 Fix #3684 - Do not flag LOCAL NOTYPE ELF symbols 2015-11-12 10:06:16 +01:00
pancake
ad74a6ec6b Move msil and mdmp into radare2-extras, add r2pm pkgs 2015-11-11 11:07:32 +01:00
pancake
495d209a61 Fixes for elf64-pie main identification 2015-11-10 13:00:19 +01:00
pancake
b701626cfc Fix some clang-analyzer issues 2015-11-10 12:18:27 +01:00
Álvaro Felipe Melchor
9a87db5b06 Fix warning when loading fatmach from r2r 2015-11-09 21:47:43 +01:00
pancake
2e9cc2f1b2 Fix issues with DEX flags and class methods 2015-11-09 21:47:11 +01:00
pancake
e37ada9096 Fix some asan issues with latest rbin changes in dex 2015-11-09 18:51:45 +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
pancake
9c9bb2dbd5 Memory optimization for flags (-70%) + some warnfixes + sdb-sync 2015-11-08 23:38:42 +01:00
pancake
b3b5221e1e Add cryptheader sdb mach0 field 2015-11-06 11:21:48 +01:00
pancake
8f48a3b9a7 Fix AVR disasm regression and bin.elf=avr forces 16bit mode 2015-11-05 09:20:47 +01:00
pancake
3d43555a06 Fix #3649 - minidump segfault 2015-11-05 01:47:29 +01:00
Álvaro Felipe Melchor
c3034a0a63 Fix malformed fatmach 2015-11-05 01:00:57 +01:00
pancake
f735557b4e Fix @revskills 0d27cc crash in bin.sms 2015-11-04 19:33:04 +01:00
Anton Kochkov
51a204868c Fix Cygwin64 building 2015-11-03 14:16:08 +03:00
pancake
b22ed19aa1 Some CA fixes related to OMF 2015-11-02 12:58:01 +01:00
pancake
dd47aba9a2 Fixes for sys/static.sh 2015-11-01 10:26:38 +01:00