Commit Graph

1528 Commits

Author SHA1 Message Date
pancake
3548e2e8a4 Final mingw fixes 2021-10-19 12:52:00 +02:00
Sergi Àlvarez i Capilla
4020dfe52a Fix reopen regression on Windows 2021-10-12 20:24:32 +02:00
Lazula
0747bcd8e2 Fix new defects in various files
* Remove unnecessary NULL check in __demangleAs()
* Remove unnecessary NULL check in r_io_fd_seek()
* Add missing break in ARM32 COFF case and fix test
* Add missing NULL checks for r_io_bank_get() result
* Add missing NULL checks in r_bin_demangle()
* Add missing NULL check for r_io_submap_new() result
* Fix improper failure check in risv_assemble()
* Add missing break in open command
* Document fall-through case in dalvik anal
2021-10-08 01:31:17 +02:00
Sergi Àlvarez i Capilla
e9339bc4c9 Handle the ARM32 COFF case ##bin 2021-10-05 13:22:06 +02:00
pancake
4a4946cd89
Initial implementation of the HUNK file parser ##bin 2021-09-29 12:34:44 +02:00
pancake
c2e064de08
Detect canary on statically linked RT and stripped PEs ##bin
* Add tests and support 32 and 64bit canaries
2021-09-29 12:08:50 +02:00
pancake
1398432e97
Fix #19043 - Fix loading MZ with text < bsize aka 1byte ##bin (#19115) 2021-09-20 00:20:35 +02:00
pancake
ba375f5702 Code cleanup, somewhat related to windows code 2021-08-27 03:03:34 +02:00
pancake
84e323334c Fix recent android build regression 2021-08-19 18:26:22 +02:00
pancake
fa2e1f9f5a
Fix #18783 - Support ELFs with phnum > 0xFFFF ##bin
* Useful for loading qemu coredumps
2021-08-19 12:12:43 +02:00
pancake
18011597c4
Fix more sign bugs spotted by vs (#18990) 2021-08-17 23:12:22 +02:00
pancake
b235bcbb32
Allow RBinPlugins to use RBinFile at check() ##bin 2021-08-01 12:39:51 +02:00
pancake
5399c90173
Initial support for the TIC-80 Fantasy Computer cartridges ##bin 2021-07-31 02:52:26 +02:00
pancake
352630295e
Polish some asserts here and there (#18927) 2021-07-23 09:36:10 +02:00
pancake
c778d8cf4b Fix more asan issues in charset api and recently introduced memleaks 2021-05-25 11:27:32 +02:00
pancake
3db250f73a
Add initial toy IBM S390 Object File Format parser ##bin (#18747) 2021-05-24 21:17:13 +02:00
pancake
d90510f951 Fix more recently introduced memleaks 2021-05-21 11:17:32 +02:00
Murphy
7f64b235be
Fix/minor fixes to wad plugin (#18709)
* Remove Debug Message
* Fix wad_header_load to parse header info
* Fix lumplumps type in wad_header_fields parsing
* Verify r_buf_fread_at return value at wad_header_load
2021-05-19 17:43:34 +02:00
pancake
df3f035079 Fix last covs 2021-05-18 20:10:34 +02:00
pancake
374037a4d2 Fix warnings 2021-05-18 19:34:23 +02:00
Murphy
fb141bdb0d
Add WAD file parsing (#18659) ##bin 2021-05-18 18:06:40 +02:00
pancake
049de62730 Fix #18679 - UAF when parsing corrupted pyc files ##bin 2021-05-11 23:54:01 +02:00
pancake
a8b13483af Fix another bound for dex 2021-05-11 23:41:47 +02:00
pancake
f47f58d8f4
Fix last covs (#18674) 2021-05-11 14:49:48 +02:00
pancake
a07dedb804 Fix #18667 - division by zero in the macho parser ##bin 2021-05-07 18:44:49 +02:00
pancake
be248ddc1b
Fix some Leaks in Dex (#18613)
Co-authored-by: Florian Märkl <info@florianmaerkl.de>
2021-04-21 18:52:47 +02:00
pancake
bfcc61b48f
Fix OOB read crash in dex parser (#18609) 2021-04-21 13:24:50 +02:00
Francesco Tamagni
52b4598d11 Honor value_add when estimating dyldcache slide ##bin
macOS caches have `value_add` set to a non-zero value, and
`estimate_slide` wasn't taking it into account resultin in a wrong side
estimation.
2021-04-17 20:14:36 +02:00
meme
0745702234
Support x86_64 and macOS dyld caches (#18570) ##bin
Co-authored-by: meme <meme@users.noreply.github.com>
2021-04-11 04:09:20 +02:00
pancake
3f7d6b1760
Use r_bin_import_free() as <free> cb for imports list (#893) ##bin (#18563) 2021-04-11 01:49:00 +02:00
pancake
4c8aa2bf2e
Fix last covs I got by mail (#18531) 2021-04-03 03:50:08 +02:00
Francesco Tamagni
3b9f63e506 Fix NULL dereference 2021-04-01 21:48:39 +02:00
Francesco Tamagni
7e2941d017 Fix Mach-O related coverity issues ##bin 2021-04-01 21:48:39 +02:00
Francesco Tamagni
c4bbe4996c
Fix coverity issues in xnu kernelcache ##bin (#18514) 2021-03-30 16:00:59 +02:00
pancake
a7c08c15ce Don't scream out WARNINGs, capitalizing it is enough 2021-03-19 11:02:54 +01:00
pancake
e3b5991774 Fix oobread bug in r_str_(ndup|nlen) APIs spotted by ASAN in SMD parser ##bin 2021-03-15 12:26:01 +01:00
Paul I
1e8a80c553 Set free method for relocs on mdmp and coff 2021-03-15 06:09:21 +01:00
Paul I
902d12b5ec Free objects allocated by rz_syscall_get() 2021-03-15 02:24:16 +01:00
wargio
8b1037a9a1 null argument issues 2021-03-15 01:48:59 +01:00
condret
eb48818342 Rename r_io_map_get to r_io_map_get_at ##io 2021-03-12 17:56:46 +01:00
pancake
f566769dc0
Minor ELF cleanup, using more size_t and ut64.max instead of 0 ##bin (#18389) 2021-03-01 20:57:48 +01:00
Francesco Tamagni
5535d96399
Add Support for new CoreSymbolication element format ##bin (#18392) 2021-03-01 10:44:44 +01:00
pancake
00a0d05e68
Fix warning message when loading files with relocs ##bin (#18379) 2021-02-23 01:09:27 +01:00
pancake
0a155498bc Fix c89 warnings 2021-02-11 16:01:48 +01:00
Francesco Tamagni
4c572bca1d
Replace HtPP with more suitable types in bin_dyldcache.c (#518) (#18339)
Co-authored-by: Paul I <pelijah@users.noreply.github.com>
2021-02-08 23:41:26 +01:00
pancake
306d6aa996 Fix few warnings and sort w command switch 2021-01-31 19:51:25 +01:00
pancake
eb09312b83
Fix iCj for mach0 ##bin (#18298) 2021-01-27 00:34:14 +01:00
pancake
320f322da3
Fix #18256 - Double free in RBin.DEX.libs (#18286) 2021-01-25 12:39:48 +01:00
Briand Djoko
f57677b554 Add additional ELF header fields to rz-bin output (#372) 2021-01-25 00:34:58 +01:00
pancake
ce4e941043
Fix HUGE bottleneck in the WebAssembly pseudo disassembler and analyzer ##disasm (#18269) 2021-01-24 18:30:36 +01:00