Luc Tielen
ce837063cb
Improve handling of nindirectsyms for corrupt macho binaries ##bin
...
Simply changing `nindirectsyms` from `int` -> `ut32` did not help.
A value that was negative previously, would now try to allocate a very large
amount of memory. The previous change was reverted, and a check was
added to see if `nindirectsyms` is a positive number.
2023-05-01 18:54:52 +02:00
Luc Tielen
08d339acc2
Migrate 6502_cs plugin ##arch
2023-05-01 16:32:19 +02:00
Luc Tielen
4dd203c40d
Migrate m68k_cs plugin ##arch
2023-05-01 15:27:37 +02:00
pancake
792767010c
Fix oobread bug in asn1/pkcs7 parser ##crash
2023-04-30 07:45:51 +02:00
Luc Tielen
c1806fed41
Fix crash due to int overflow loading mach0 ##bin
2023-04-28 19:25:28 +02:00
Luc Tielen
65196c2616
Refactor / improve loading of ELF symbols + imports ##bin
2023-04-28 18:02:54 +02:00
Luc Tielen
25127266b9
Refactor global state in loongarch plugin ##arch
2023-04-28 15:28:22 +02:00
Luc Tielen
d9cb35b33b
Migrate loongarch plugin ##arch
2023-04-28 15:28:22 +02:00
pancake
e3b2b951c6
Faster aap on large empty maps ##search
...
* A fuzzed bin for testing takes 1s instead of 15s
2023-04-27 15:13:33 +02:00
pancake
f1cfa98ae7
Few patches coming from the recursefails PR
2023-04-27 13:35:26 +02:00
pancake
954b8f236d
Fix #21658 - Fix zoom mode glitch in panels ##visual
2023-04-27 12:10:41 +02:00
pancake
af6c84188a
Fix R_SYS_ARCH name for native s390x ##build
2023-04-27 11:48:33 +02:00
pancake
62006c0adf
Move the memset to fix the dex regression
2023-04-26 21:37:09 +02:00
pancake
63ed3cd558
Fix uninitialized field accesses on corrupted DEX ##crash
2023-04-26 20:03:30 +02:00
pancake
27744e8d80
Fix UB with uninitialized read in dwarf parser ##crash
2023-04-26 20:00:57 +02:00
pancake
150b41e368
Fix two UB bugs doing left-shift on signed type ##dalvik
2023-04-26 19:46:58 +02:00
Leopold
3facbcd5c5
Fix wrong json key string (refs to name) in anal_axg ##json
2023-04-26 10:03:03 +02:00
pancake
76c970a9b6
Pick minor jmptbl patch reducing memrefs in arch checks
2023-04-26 08:41:43 +02:00
pancake
c0c412b6fe
Fix UB in signed type shift left on arm64 assembler ##asm
2023-04-25 21:23:58 +02:00
pancake
41a9cea596
Handle RArch.getRegProfile() from RAnal.setRegProfile ##arch
2023-04-25 19:00:48 +02:00
pancake
e9941bc6d1
Fix the wrong plugin used after failed arch.encoding ##arch
...
* Better fallback strategies
2023-04-25 18:59:23 +02:00
pancake
9fae879a0a
Rename arch.arm plugin 'arch.arm.nz' ##arch
2023-04-25 14:28:41 +02:00
pancake
655d0d0e61
RAnal.cur can be now set to NULL ##anal
2023-04-25 14:26:31 +02:00
pancake
92983f21cf
Autocomplete -e<tab> inside r2 ##shell
2023-04-25 13:58:37 +02:00
rgc
3b85115dd3
Deprecate r_str_cmp() ##api
...
* Use strcmp or r_str_startswith instead
2023-04-25 13:44:15 +02:00
CorruptedVor
af41019b29
Prefix tar flags with a dash for portability reasons ##r2pm
...
This breaks the tar I use, seems this "dashless" syntax is GNU-specific
2023-04-25 12:27:26 +02:00
Francesco Tamagni
71b67a3a17
Fix aae logic for mem read xrefs ##anal
2023-04-25 12:23:37 +02:00
pancake
f864a4c22c
Use plugin name instead of arch name to fallback ##arch
2023-04-25 12:23:10 +02:00
pancake
b3f58be128
Propagate endian settings ##arch
2023-04-25 11:29:06 +02:00
pancake
db9ba628ff
Shorten path on invalid fatmachos fixing a recent null precondition check ##bin
2023-04-25 11:21:31 +02:00
pancake
ede1f1f504
Honor RArch.setBits via RAnal.setBits ##arch
2023-04-25 10:20:06 +02:00
pancake
7c9a05c407
Support fatmachos with slices using arch plugins ##arch
...
* Patch 'r_core_bin_set_arch_bits' worked only for anal ones
2023-04-25 01:50:42 +02:00
pancake
b422b095b4
Minor code quality improvements in core/cio.c
2023-04-25 01:43:41 +02:00
pancake
f49d00ad35
Improve automatch plugin with encoder support ##arch
2023-04-25 01:41:53 +02:00
pancake
0620d7b47f
Resolve ${arch}.nz as fallback when finding an assembler peer ##arch
2023-04-25 01:31:27 +02:00
pancake
1834fc2e98
Boolify a little bit more the esil internal api
2023-04-25 00:36:31 +02:00
pancake
90e8510f3c
Remove '#' sign before immediates in the snes9x disassembler ##arch
2023-04-25 00:36:31 +02:00
pancake
685c8d6503
Better use of preconditions and r_log in fatmach0 ##bin
2023-04-25 00:36:31 +02:00
pancake
3ff139e042
Fix infinite loading time in minidump file ##crash
2023-04-24 18:05:27 +02:00
Sylvain Pelissier
56687226c1
Use r_sys_getenv_asbool in r2pm
2023-04-24 13:51:19 +02:00
Ildar
6e70a4c79e
Replace strtok by thread-safe r_str_tok_r
2023-04-22 20:52:23 +02:00
R
253990ebdd
Sync output from rax2 -r and r2's ? val ##shell
2023-04-22 16:06:51 +02:00
Sylvain Pelissier
bce60971bf
Restore R2PM_OFFLINE flag in r2pm
2023-04-22 11:58:53 +02:00
pancake
e2d7fa7822
Add elf hash planned for r2-5.9.0 ##hash
2023-04-21 10:31:02 +02:00
pancake
f58bfd7d86
Fix unaligned pointer access in sha256 ##crash
2023-04-21 00:18:02 +02:00
pancake
5650768823
Allow 'dcu main' even if there's a 'db main' already set ##debug
2023-04-20 22:23:28 +02:00
pancake
ae8613c51e
Implement jq command as an alias for !jq ##shell
2023-04-20 22:17:45 +02:00
pancake
eefcb84e68
Implement dtj command to list debug traces in JSON format ##debug
2023-04-20 22:15:30 +02:00
pancake
f27fd3300b
Fix null deref in dtd when the process is dead ##debug
2023-04-20 22:04:34 +02:00
Luc Tielen
5ba6676d8b
Refactor loading of elf fields ##bin
2023-04-20 16:55:18 +02:00