Aneesh Dogra
236fc3213d
Fix protype warnings for pe checksum.
2016-03-13 01:35:20 +01:00
Álvaro Felipe Melchor
879e7f411f
Fix build
2016-03-12 13:38:17 +01:00
Álvaro Felipe Melchor
bbd597228e
Fix segfaults in pe checksum
2016-03-12 13:30:41 +01:00
Aneesh Dogra
5c3f5904ea
Add a way to compare claimed CRC (in header) of PE files with the actual CRC.
2016-03-12 11:22:55 +01:00
pancake
977aeb8173
Show entrypoint type info in rabin2 -e and ie
2016-03-12 11:16:42 +01:00
Aneesh Dogra
0e3d4bf773
PE: Add support for parsing TLS and add TLS callback addresses to the list of entry points.
...
Only add the address if its valid.
2016-03-12 11:04:25 +01:00
Álvaro Felipe Melchor
b567b72171
added IFDBG on version info code to avoid those annoying messages
2016-03-09 23:15:43 +01:00
Jeffrey Crowell
f6739ec3be
fix memleak in elf.c
2016-03-09 00:55:16 -05:00
Álvaro Felipe Melchor
19068d41d6
Fix oob read improving version info code elf - thanks @revskills
2016-03-08 22:16:10 +01:00
Maijin
e25992278c
Add cabinet.dll ordinal file
2016-03-07 17:58:29 +01:00
pancake
02abba69f1
Fix #4253 - 1 byte oob read in mach0
2016-03-07 13:23:01 +01:00
pancake
588e264f9f
Fix latest COVs
2016-03-07 12:54:40 +01:00
pancake
f7e99c93e7
Fix #4241 - OOB read in rabin2 -V (versioninfo for ELF)
2016-03-07 00:37:27 +01:00
Matthieu Tardy
bb84bbc276
Fix memory leaks in rabin2 and libr
2016-03-06 23:17:44 +01:00
pancake
92ad561fea
Fix latest coverities
2016-03-05 20:46:04 +01:00
pancake
bb79d30444
Fix two infinite loops in the version info parsing for ELF
2016-03-04 16:15:00 +01:00
pancake
36d7e5a412
Fix warns in smd bin plug
2016-03-04 15:45:54 +01:00
pancake
6c9a44baf1
Fix oob reads in versioninfo for ELF
2016-03-04 12:08:29 +01:00
pancake
cacef87fcb
Fix crash introduced in the rabin2 -V thing
2016-03-04 02:19:30 +01:00
pancake
b7ed999581
Use eprintf in the rabin2 -V versioninfo (for now)
2016-03-04 01:25:04 +01:00
Adr1
611c3d1752
RBin: Display File Version info
2016-03-04 01:15:56 +01:00
pancake
3624931cde
Use proper endianness in SMD plugin
2016-03-03 14:15:17 +01:00
pancake
7a1993b057
Fix str_case regression
2016-03-03 11:45:04 +01:00
pancake
5234d3c1ac
Do not use size_t for iterators
2016-03-03 11:29:41 +01:00
pancake
c4e8864e7d
Build fixes
2016-02-29 00:04:31 +01:00
Martin Heistermann
ba9657df83
Fix relocation parsing for malformed files.
2016-02-28 02:43:25 +01:00
Martin Heistermann
fbd0905c56
Add initial indirect relocation (irel, ifunc) support.
2016-02-28 02:43:25 +01:00
Martin Heistermann
e528ce8dfe
Refactor elf_specs.h to use the original glibc 2.22 elf.h.
...
Previously, elf_specs.h was an old(!) copy of glibc's elf.h with a few
additions accumulated over time.
This commit introduces a clear separation between an unmodified (save
one explanatory comment and a removed #include) copy of elf.h called
glibc_elf.h (elf.h already exists here), and elf_specs.h, which includes
the former file and only contains the required changes.
Updating glibc_elf.h in the future should be as easy as copying the file
from glibc and potentially deleting obsoleted parts of elf_specs.h.
2016-02-28 02:43:25 +01:00
Anton Kochkov
faf789b4e8
Fix CID 1351416
2016-02-25 13:21:06 +03:00
pancake
3e1590f4d9
More fixes for MIPS and ESIL emulation
2016-02-22 01:43:45 +01:00
pancake
100df3bb32
Better MIPS32BE ELF relocs, add Rx regs in mips.cs and add scr.wheelnkey, nN defaults to flag now
2016-02-21 01:56:50 +01:00
pancake
3c1a4eb040
Implement relocs for MIPS32 big endian ELF binaries (openwrt)
2016-02-21 00:56:01 +01:00
Riccardo Schirone
5d08aee9af
bin/demangle: fix possible SEGV when dereferencing binfile
2016-02-18 13:52:31 +01:00
William Robinet
0c7cacc2dc
Fix typos
2016-02-16 23:21:24 +01:00
pancake
3140749266
Fix #4095 - Export RBinSection info for mach0.la_symbol_ptr
2016-02-16 02:58:29 +01:00
pancake
384cfb1042
Fix last coverities
2016-02-16 02:08:09 +01:00
pancake
a93805475d
Add VideoCore support in RBin.ELF
2016-02-15 16:04:37 +01:00
pancake
d8ab2fb55f
Handle LANAI in the ELF plugin
2016-02-15 14:12:30 +01:00
Álvaro Felipe Melchor
feaaab517b
demangle afl and disassembly
2016-02-11 01:32:36 -06:00
Jeffrey Crowell
aaf92c4e8e
Gesmdis isn't a thing. Should be Genesis.
2016-02-10 13:16:08 -05:00
pancake
d0f0629655
Remove unnecessary memcpy
2016-02-06 22:44:51 +01:00
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
Jeffrey Crowell
20d1886a5a
fix a bunch of memleaks
2015-11-01 00:47:16 -04:00
Anton Kochkov
f52d25e6f9
Fix build
2015-10-31 23:55:43 +03:00
Anton Kochkov
17a709537c
Fix Cygwin build
2015-10-31 23:48:09 +03:00
pancake
0648cea3e5
Refactoring of the minidump code for portability and -1500LOC
2015-10-31 17:27:46 +01:00
pancake
a9cbb745aa
Fix mdmp linkage
2015-10-31 12:05:10 +01:00
pancake
dced145038
Fix RBin.SMS warns
2015-10-31 11:59:14 +01:00
Dāvis
0494d5fce8
Add support for Windows Minidump (mdmp) files
2015-10-31 11:59:09 +01:00
Anton Kochkov
20c8b7a815
Fix the build
2015-10-31 01:31:19 +03:00
shengdi
d336072850
Initial support for SMS roms
2015-10-30 20:16:12 +01:00
pancake
f88b35afba
Fixes for asm.riscv
2015-10-30 00:06:38 +01:00
qnix
09f1ea9856
Initial RISC-V support (32,64bit disasm)
2015-10-29 23:57:22 +01:00
Álvaro Felipe Melchor
5543f73cb1
Fix some covs
2015-10-29 23:39:49 +01:00
pancake
f03a2a80c8
Some more fixes for SMD and m68k
2015-10-29 14:16:30 +01:00
pancake
97233ecbae
Fix #3431 - Implement support for SMD roms
2015-10-29 13:55:03 +01:00
Álvaro Felipe Melchor
7404abda73
Fix crash a84c559 by revskills
2015-10-29 12:57:06 +01:00
Álvaro Felipe Melchor
7498ddff58
Fix crash demangle in objc reported by revskills
2015-10-29 12:57:06 +01:00
pancake
4756e610d9
Add RBin.srcdir and dir.source for asm.dwarf
2015-10-29 12:37:14 +01:00
Kevin Grandemange
6dc0526b0a
Do not print warning for dynamic section if we are a static bin
2015-10-29 01:59:32 +01:00
Kevin Grandemange
fd6310f108
add microblaze arch to elf
2015-10-28 10:13:18 +01:00
pancake
52cfe459a0
Enhance te command. Autocomplete and partial args working
2015-10-27 12:41:09 +01:00
xambroz
d448260816
build cleanup focused on possibility to control the lib directories with the build parameters
...
needed mainly for RedHat/Fedora builds
2015-10-27 03:26:45 +01:00
Álvaro Felipe Melchor
13fd1d0673
Fix omf crash 605d
2015-10-27 03:26:17 +01:00
pancake
02e719fafe
Aim to fix eeaf87ece627fe94f92f836ac3467ffd @revskills dyldcache crash
2015-10-26 03:45:54 +01:00
Álvaro Felipe Melchor
6a710d6119
Fix pe crash 9288a from revskills
2015-10-25 20:14:04 +01:00
Álvaro Felipe Melchor
40ba826074
Fix pe crash bf83856 by revskills
2015-10-24 23:39:39 +02:00
pancake
17c58bdb01
Fix bf8385 PE parser crash (thx @revskills)
2015-10-24 13:24:38 +02: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
condret
c39f33bc77
fix a -Wunused warning
2015-10-22 00:40:29 +00:00
pancake
366ba23b30
Fix ab88f42f9b mach0 crash (reported by @revskills)
2015-10-21 23:46:41 +02:00
pancake
aaf386d023
Fix the last mach0 crash
2015-10-21 22:29:49 +02:00
pancake
5d440365af
Fix 55c9c9 mach0 relocs segfault
2015-10-21 22:20:36 +02:00
Álvaro Felipe Melchor
9d5f7c44a0
Fix mach crash 45d2d1309807e95422006abb97462bc6
2015-10-21 19:35:14 +02:00
pancake
5fece33093
RBin.PE: Error -> Warning
2015-10-21 15:59:17 +02:00
pancake
45d58b78ec
Fix crash regression
2015-10-21 15:33:33 +02:00
pancake
78cb412a6d
Fix a null deref in some class fuzz case
2015-10-21 12:48:16 +02:00
pancake
461b714503
Fix objc heap overflow class parsing bug
2015-10-21 12:19:19 +02:00
Álvaro Felipe Melchor
748564683e
Fix #3518
2015-10-20 23:52:34 +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
45c7c923af
Better dtc, demangling support. Handle RABIN2_LANG, and more c++ autodetect
...
* r_name_filter(len:-1) strlens the string
* Show symbol names in `dtc` (calltracer)
2015-10-19 13:21:12 +02:00
pancake
1b5cd887ce
Disobey rabin2 -B if bin is not pie, enhace dmm* and mach0
2015-10-19 02:41:21 +02:00
Álvaro Felipe Melchor
d4f45dd0df
Fix oob in pe.c
2015-10-18 22:23:19 +02:00
Álvaro Felipe Melchor
c5d5ee70da
Fix oob in mach0.c
2015-10-18 22:23:19 +02:00
Álvaro Felipe Melchor
fc5c56edd2
Fix oob in xbe
2015-10-18 22:23:18 +02:00
pancake
91dc7b96ec
Fix #3497 - Fix make install for bin/d
2015-10-18 18:03:25 +02:00
Jeffrey Crowell
4d4fc1eb08
fix null deref in elf
...
thanks @bspar for the fuzz-a-ton
2015-10-14 20:18:59 -04:00
pancake
6e40a70a9f
Show warning when cannot find w32 ordinal module dbs
2015-10-14 22:27:27 +02:00
pancake
60b60aa50a
Fix #3444 - Fix infinite loop in PE parser
2015-10-12 19:42:44 +02:00
Ben Gardiner
8d4ad47210
Add bin.maxstrbuf and RABIN2_MAXSTRBUF, update manpage
2015-10-11 03:47:32 +02:00
XVilka
720341c2df
Improve -fPIC handling, take 2
2015-10-09 22:24:15 +03:00
pancake
be0538a6a8
Fix some windows build warnings
2015-10-08 11:14:10 +02:00
Anton Kochkov
a8b8361a77
Do not declare enum variables in header
2015-10-07 02:05:45 +03:00
Álvaro Felipe Melchor
93a721f614
Fix #1846 - full and partial relro elf
2015-10-06 18:27:42 +02:00
Anton Kochkov
c4bf5ae8be
Fix PDB compilation with TCC
2015-10-06 01:46:06 +03:00
Anton Kochkov
82eed6f2a5
More standard C and TCC fixes
2015-10-06 01:29:26 +03:00
pancake
afb96ab64e
Two minor fixes for rabin2 -zzz and webui/m
2015-10-05 02:01:12 +02:00
pancake
9712a62b62
Fix #3296 - Identify main in thumb-elf bins
2015-10-03 14:16:08 +02:00
Álvaro Felipe Melchor
3423bedc1d
Fix covs
2015-10-01 18:36:46 +02:00
pancake
1f165c6012
Fix some compilation warnings
2015-10-01 18:33:37 +02:00
pancake
8c445baa19
Better MBN/SBL header checks
2015-09-29 00:52:05 +02:00
pancake
5ecd98305e
Add support for MBN/SBL roms, fix 11acb8392, binsect->has_strings
2015-09-29 00:42:31 +02:00
pancake
ce1087999c
Fix another infinite loop in PE #3369
2015-09-28 13:06:51 +02:00
pancake
06f159239a
Fix mz crash reported by @jvoisin
2015-09-28 02:52:56 +02:00
pancake
c7c0961071
Fix #3369 - omf parser crash
2015-09-28 02:32:38 +02:00
Maijin
b73fb41cfc
Add mem to nes plugin
2015-09-27 17:44:10 +02:00
pancake
8f79f82048
Fix 0576be2359
2015-09-25 10:49:27 +02:00
jvoisin
3abab8526b
Fix some possible NULL-deref under memory-pressure
2015-09-25 02:13:58 +02:00
jvoisin
0576be2359
Small optimizations and coverity--
2015-09-25 01:51:29 +02:00
pancake
cd767ccaf4
Fix Android build
2015-09-24 03:36:06 +02:00
pancake
ae2713e944
Fix PE regression
2015-09-23 15:23:36 +02:00
pancake
d1f3dc3e08
Some more fixes for exports and PE
2015-09-23 15:01:36 +02:00
pancake
46f8561986
Fix rabin2 -E crash and filter in elf
2015-09-23 13:24:10 +02:00
Maijin
d298ca5dbc
Initial support for NES file
2015-09-20 20:10:03 +02:00
pancake
ec0b19e5f8
Fix thumb entry assumption (thx @ret2libc)
2015-09-17 11:13:34 +02:00
Jeffrey Crowell
9f892f1eed
fix some COV
2015-09-17 00:48:07 -04:00
pancake
f10c8ec075
Fix #3296 - Thumb ELF entrypoint assumption
2015-09-17 01:32:13 +02:00
pancake
ae3af810a6
Initial support for Wii/GC DOL binaries
2015-09-16 12:59:52 +02:00
pancake
b86bf19c85
Fix #3051 - Honor CFLAGS everywhere and fix some windows/android warnings
2015-09-14 20:43:11 +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
jvoisin
9db340a0a8
Fix some malloc(A*B) overflow detected by clang-analyzer
2015-09-09 21:44:06 +02:00
jvoisin
d4893718da
Fix a bunch of dead assignements
2015-09-09 21:12:36 +02:00
pancake
d9c934f6b4
Fix some recent covs
2015-09-09 11:16:49 +02:00
inisisder
d2af97de2b
objc_parser: refactor code related to class name allocation and etc
2015-09-08 23:49:08 +02:00
Riccardo Schirone
6a517aa66b
bin/p: add CGC bin format plugin
2015-09-08 23:22:07 +02:00
Riccardo Schirone
ce14b20974
bin/format/elf: remove Elf_ prefix from static functions
2015-09-08 23:22:07 +02:00
pancake
318dc1da11
Honor Thumb vaddr in objc parser
2015-09-07 19:00:11 +02:00
pancake
868a97788e
Only export has_crypto in mach0 when cryptid is set
2015-09-07 01:33:42 +02:00
pancake
fa9028f19d
Remove unnecessary dwarf warning when no line-no info is found
2015-09-06 22:52:09 +02:00
jvoisin
f7e426d281
Minor fixes for the previous commit
2015-09-04 15:35:37 +02:00
jvoisin
fbe8b6d938
Once again, clang-analyzer strikes!
2015-09-04 15:12:42 +02:00
pancake
346cc8e758
Fix latest covs
2015-09-03 12:23:49 +02:00
pancake
7fcb8e081d
Remove last GPL headers and move old.rarc2 into r2e
2015-09-02 16:06:57 +02:00
jvoisin
dba909b1dd
Fix yet-another-batch of clang-analyzer issues
2015-09-01 23:24:11 +02:00
pancake
a5655dff9b
A bit dsojson leak just to avoid a crash
2015-09-01 18:44:37 +02:00
inisisder
ed6835a976
some small refactor
2015-09-01 14:25:25 +02:00
pancake
7157cf92b7
Fix some covs
2015-09-01 11:24:09 +02:00
pancake
58d6827bbb
Honor R_SYS_BITS in r2 -
2015-09-01 03:41:08 +02:00
inisisder
14760f4763
add check is it binary encrypted
2015-08-31 11:56:32 +02:00
jvoisin
b270e92021
Refactor a bit bin_pe_parse_imports
2015-08-29 23:30:16 +02:00
jvoisin
4261075d60
Misc fixes to make clang-analyser even more happy
2015-08-29 18:08:38 +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