Sergi Àlvarez i Capilla
0f656c90a4
Fix oobread crash in DWARF parser (tests_64922) ##crash
...
Reported by giantbranch of NSFOCUS TIANJI Lab
2021-11-01 10:35:33 +01:00
Sergi Àlvarez i Capilla
03322e7614
Fix oobread crash in dwarf parser with non-null terminated strings ##crash
2021-11-01 08:43:44 +01:00
Sergi Àlvarez i Capilla
637f4bd1af
Fix oobread crash in DWARF parser (tests_64924) ##crash
...
Reported by giantbranch of NSFOCUS TIANJI Lab
2021-11-01 00:49:50 +01:00
Sergi Àlvarez i Capilla
0f770102a5
Fix crash when elf symbol initialization fails ##bin
...
Reported by giantbranch of NSFOCUS TIANJI Lab
2021-10-30 16:53:20 +02:00
Francesco Tamagni
bf3dd3ce15
Always init Mach-O options with defaults ##bin
2021-10-29 12:02:57 +02:00
Francesco Tamagni
09e20cd53d
Add Support For dyld4 Atlas-style Shared Library Caches ##bin
...
* Fix signed overflow in r_buf_fread_at ##util
* Tweak "malformed export trie" debug logs
2021-10-28 12:46:38 +02:00
condret
fe87ab37a0
Remove redundant RPVector maps from RIO
2021-10-26 00:16:09 +02:00
pancake
19588146de
Fix some of the last covs
2021-10-22 10:57:58 +02:00
Jose Antonio Romero
082ded9571
Add MSX rom/bin parser plugin and test ##bin
2021-10-20 11:55:50 +02:00
pancake
e8d4e5cc9f
Fix the windows build regressions
2021-10-19 22:17:47 +02:00
pancake
3548e2e8a4
Final mingw fixes
2021-10-19 12:52:00 +02:00
pancake
c6c9f4fbce
Fix some null checks around the open_many apis ##bin
2021-10-16 14:36:08 +02:00
Sergi Àlvarez i Capilla
4020dfe52a
Fix reopen regression on Windows
2021-10-12 20:24:32 +02:00
Antoni Viciano
88d8b622bf
Fix #19094 - RBinOptions renamed to RBinFileOptions
2021-10-10 20:52:46 +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
Sergi Àlvarez i Capilla
6969ee42ee
Sync swift demangler syntax with Apple one and force trylib=0 in r2r.c
2021-10-05 10:10:32 +02:00
pancake
f427fc77cd
Improve swift demangler and add bin.demangle.trylib config ##bin
...
- May fix the macos testsuite as long as latest macOS comes with libSwift
2021-10-05 09:05:49 +02:00
0mhu
a337ed42e0
Fix #19149 : Prevent NULL pointer dereference in line_header_fini() ( #19150 )
...
hdr->file_names is set to NULL.
However, the corresponding count variable is not set to zero.
It might stay on a non-zero value and
cause the code in line_header_fini() to dereference the NULL pointer.
Setting hdr->file_names_count to zero solves that issue.
2021-09-30 20:07:33 +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
d092285bff
Fix #19129 - RBin.getImports() list is unowned
2021-09-23 13:15:41 +02:00
pancake
1398432e97
Fix #19043 - Fix loading MZ with text < bsize aka 1byte ##bin ( #19115 )
2021-09-20 00:20:35 +02:00
Giovanni
2f3009bcb1
Check for int overflow before allocating segments
2021-09-12 12:26:04 +02:00
Giovanni
eecb66ad04
Fixed OOB read in mach0.c
2021-09-12 12:24:26 +02:00
pancake
eda30ad40b
Fix #19061 - Handle ARM COFF files ##bin
2021-09-09 12:37:35 +02:00
guest177
1be3ed58a3
Correct MZ size when bytes_in_last_block = 0 ##bin
2021-09-02 10:06:48 +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
0acb19b68a
Fix some warnings spotted by visual studio ( #18985 )
...
Co-authored-by: pancake <pancake@nopcode.org>
2021-08-16 20:45:17 +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
f1c81abd53
Improve dupped symbol filter logic
2021-07-29 21:09:08 +02:00
Paul I
a7a26b4f13
Replace SDB with HtPU in RBin.filter_name() ##bin
2021-07-29 21:09:08 +02:00
pancake
e622272d29
Honor Flag.maxLength in more RName.filter calls
2021-07-29 19:53:50 +02:00
pancake
3e90cc00ed
Fix memleaks spotted by coverity
2021-07-29 19:53:50 +02:00
pancake
67d43c4865
Fix memleaks in RCons.grep
2021-07-26 12:40:25 +02:00
pancake
352630295e
Polish some asserts here and there ( #18927 )
2021-07-23 09:36:10 +02:00
pancake
d7ea20fb2e
Fix #18923 - Fix resource exhaustion bug in LE binary ( #18926 )
2021-07-23 09:29:54 +02:00
pancake
b37c354565
Fully de-assert the codebase. Instead use r_return_if_fail
2021-07-13 01:23:30 +02:00
pancake
90ecd4ea2e
Implement ELF relocs for VAX ##bin
2021-06-20 17:13:28 +02:00
pancake
4a2e846943
Dont trust the unaligned rich PEs ##bin
2021-05-31 01:12:52 +02:00
pancake
d2070b7484
Remove empty databases and its references from libr/bin/d/dll ( #18762 )
2021-05-27 20:43:59 +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
cb8fe1f388
Fix #18724 - Use RCharset in rabin2 -z ##bin ( #18743 )
...
* Dont show the offset as its misleading
2021-05-24 18:53:36 +02:00
pancake
d90510f951
Fix more recently introduced memleaks
2021-05-21 11:17:32 +02:00
Murphy
0fbb20a5b3
Remove sdb_fmt references in mach0.c ( #18723 )
2021-05-20 18:50:22 +02:00