Commit Graph

31521 Commits

Author SHA1 Message Date
pancake
c75ad89e5f Implement scansets support in RStr.scanf ##util 2024-02-07 19:18:13 +01:00
pancake
64aa644ab5 Implement %p in r_str_scanf and add more tests for it 2024-02-07 10:35:45 +01:00
pancake
098669591c
Initial import of our custom and safe r_str_scanf ##util
* %s requires length via %.s
* cant use %*s for backward compat reasons (printf vs scanf inconsistencies)
* support %Lx as a portable ut64 modifier
* add some unit tests
* Implement wide string support
2024-02-06 20:23:30 +01:00
pancake
1009f69cc2 Fixes for large numeric values in base64 and clz64 2024-02-06 20:22:20 +01:00
pancake
ce1170c293 Fixes for macppc support 2024-02-06 20:11:35 +01:00
pancake
88580023d3 Old shells expect number for test -gt 2024-02-06 18:51:28 +01:00
pancake
086c36c582 Maybe comparing empty string with -gt 2024-02-06 16:40:36 +01:00
pancake
26bd034a3a
Fix glitch in asm.bytes.space ##disasm 2024-02-06 12:40:54 +01:00
Lars Haukli
7d8bad5ba1 Flip boolean condition for di 2024-02-05 03:52:33 +01:00
Yiheng Cao
72bf3a486f Fix oob write for dwarf with abbrev with count 0 2024-02-04 10:55:13 +01:00
pancake
f1d368e012 Add the tricky 'tmp' register in the arm64 debugger protilfe
* Many arm64 instructions use the tmp register
2024-02-03 15:15:27 +09:00
pancake
89924b494c A bit faster internal_esil_reg_write 2024-02-03 15:08:13 +09:00
pancake
579d66e858 Esil.stackFree is no longer accepting null 2024-02-03 15:08:13 +09:00
pancake
7e62c6caf3 A bit verboser esil eq operation 2024-02-03 15:08:13 +09:00
pancake
8f2001f5e7 Faster REsil.use() when the plugin is already set 2024-02-03 15:08:13 +09:00
pancake
a7d5507220 Minor code cleanup in esil.c 2024-02-03 15:08:13 +09:00
pancake
7d73bf0d72 Refactor iA and io outside the info loop 2024-02-03 15:07:48 +09:00
pancake
5b71b07c6a Refactor ik outside the i loop 2024-02-03 15:07:48 +09:00
Francesco Tamagni
28988bc888 Fix rebasing of dyld cache pointers at page boundary ##bin 2024-02-01 04:06:39 +09:00
Francesco Tamagni
f1ee89e611 Add support for iOS Simulator dyld caches ##bin 2024-02-01 04:06:39 +09:00
Murphy
e167df4fda
Mangled function signatures for za ##zignatures
Co-authored-by: pancake <pancake@nopcode.org>
2024-02-01 01:56:24 +09:00
Murphy
e9ab6af50d
Fix/respect bin demangle macho c++ bins v3 ##bin
* Add test demangling ELF & Mach0 symbols
* Fix tests
* Fix mangled symbols management for cpp binaries
2024-02-01 00:02:22 +09:00
Francesco Tamagni
5ba31f5a1f Walk Mach-O exports from LC_DYLD_EXPORTS_TRIE too ##bin 2024-01-30 20:44:01 +09:00
pancake
82fbc2fdb4 Oops fix master 2024-01-24 12:07:25 +01:00
pancake
da62c26636 Fix #22549 - all warnings spotted by infer 2024-01-24 11:35:29 +01:00
pancake
df96c0008e Fix infinite loop exposed in iaito when selecting mcore ##arch 2024-01-23 19:55:24 +01:00
gogolovefish
b3e6327db0
Fix memleak in sign.c 2024-01-23 18:30:02 +01:00
Dennis Goodlett
faafedf22c
Update pyc magic detection ##bin
* Add const to everything
* Mark new functions with R_IPI
* Update linter to accept cmp( with R_IPI
2024-01-23 18:29:37 +01:00
pancake
7180005db0 Use strbuf_newf instead of new+setf 2024-01-19 17:17:15 +01:00
pancake
d944017218
Fix #22539 - Remove 2044 max hard limit in string scan ##bin 2024-01-19 16:59:05 +01:00
pancake
b85616ae25 Bump the capstone5 commit hash, just minor fixes 2024-01-19 16:19:56 +01:00
pancake
79c201b378 Add anfl command and anal.slow to bring back the old autoname functionality ##analysis 2024-01-19 10:44:30 +01:00
pancake
1fc4ff8dfe Add help for the single quote command prefix 2024-01-19 09:21:02 +01:00
pancake
314499adea Fix diff command ##util 2024-01-16 18:31:36 +01:00
pancake
ec806064c7 Implement the ciE command to compare exports between two objects ##bin 2024-01-16 18:15:52 +01:00
pancake
dbc4e17120 Slightly reduce wasm builds 2024-01-15 13:12:48 +01:00
pancake
0c877230c5
Fix op_pos oobread crash in ollvm'd binary ##crash (#22535)
Thanks @apkunpacker for reporting
2024-01-14 19:19:37 +01:00
pancake
f18282c36a Minor dm command help cleanup 2024-01-11 19:11:30 +01:00
Francesco Tamagni
7c0c74195a Check cons->line is there in scr.demo setter ##config
In this way it doesn't crash for NULL dereference if `e scr.demo=false`
is run within a `r_core_task` like it happens in Iaito when running
scripts from the GUI.
2024-01-11 13:01:07 +01:00
pancake
27f66b350b Add ed-! and make it prompt by default before deleting your radare2rc 2024-01-11 08:51:07 +01:00
pancake
72e00141b3 Fix dangling pointer use in the rvec implementation 2024-01-09 20:15:34 +01:00
pancake
b9d7b1da80 Missing R2_BINDIR definition for mingw builds 2024-01-09 10:16:07 +01:00
pancake
3bc91d275c Add missing R2_BINDIR in r2 -H 2024-01-08 11:34:38 +01:00
pancake
8ba101fc21 Load script plugins from system directories, and cleanup logic 2024-01-08 11:34:26 +01:00
pancake
84e37b3a8c Use RTLD_GLOBAL only for penguin-pythonic libraries
* Fixes loading the lang-python plugin on Debian
* Consider this a conservative/experimental patch
2024-01-08 10:50:24 +01:00
pancake
18e9bd7345
Implement RFile.newf() ##api 2024-01-08 10:37:35 +01:00
pancake
e215ba1d5a Make R2PM_PLUGDIR point to the system directory in global mode ##r2pm 2024-01-07 21:03:17 +01:00
pancake
0e4818031b Add R2PM_GLOBAL as a temporary workaround to deprecate the naked GLOBAL 2024-01-07 21:03:12 +01:00
Francesco Tamagni
b6d4999e6e
Add initial support for vsf dialect produced by C64 Debugger app ##bin 2024-01-07 16:00:41 +01:00
pancake
fd105ec924 Fix #22520 - scrolling beyond the expected address in panels cursor down 2024-01-05 01:41:12 +01:00