Commit graph

30147 commits

Author SHA1 Message Date
Giovanni
dfdd062f14
Rewrite of zImage bin parser & new structured data methods (#5893) 2026-02-09 19:00:42 +08:00
Rot127
dcb4acf661
Rename clean -> clear to match common API names. (#5891) 2026-02-08 15:03:52 +00:00
Anton Angelov
cae5fe0474
shell: sort output of aezv by variable name (#5890) 2026-02-08 21:38:37 +08:00
Rot127
0d5e300874
librz/util: add clean() function to hash tables and sets. (#5889) 2026-02-08 14:42:48 +08:00
Farhan Saiyed
0c68d7e09f
librz/bin: iH structure for zimg format (#5883) 2026-02-08 14:42:20 +08:00
Rot127
aaf9588c44
Constify rz_set_u/s_contains() (#5888) 2026-02-08 14:40:14 +08:00
Anton Angelov
067e319bac
Use ht_xx_size() instead of reading ht internal state (#5885) 2026-02-07 16:17:18 +00:00
Khairul Azhar Kasmiran
e640a5a1ee
rz_list.h: Use static inline funcs instead of macros (#5884) 2026-02-07 22:11:55 +08:00
Farhan Saiyed
d3bd37bcfc
librz/bin: remove RZ_PACKED use from bin_bootimg.c (#5867) 2026-02-07 19:04:05 +08:00
Farhan Saiyed
0a8fe35163
librz/bin: iH structure for dol format (#5877) 2026-02-07 02:52:30 +08:00
Khairul Azhar Kasmiran
0e6b255519
Remove deprecated rz_list_get_next() (#5879) 2026-02-06 21:57:33 +08:00
Alok Kumar Mishra
d5bccae8e1
shell: add support for multiple paths in rz-find (#5875)
* rz-find: support multiple input paths

Fix multipath exit status, JSON framing, recursive error propagation; docs/tests. Also route rz-find to rz_main_rz_find in main dispatcher.
2026-02-06 21:56:30 +08:00
AppleMangoOrange
e380a4489a
librz/bin: add relocations for AVR (#5790)
* Add relocation conversion for AVR
* Add relocation patching for AVR
* Add tests for AVR relocation
2026-02-06 21:55:22 +08:00
NOT XVilka
89956fcb09
Remove old SPARC GNU remnants (#5876)
Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2026-02-06 03:31:35 +08:00
Sergey Fedorov
0bfc15ea4e
Fix condition for libproc in xnu_debug.h (#5871)
libproc exists since 10.5, it is supported for powerpc in 10.5-10.6.
xnu_threads.c uses PROC_PIDTHREADINFO which needs libproc header.
This fixes the build on 10.6 for ppc.
2026-02-05 23:02:05 +08:00
Giovanni
0e8b3b4372
Fix const-string/jumbo to parse unsigned value (#5874)
* Fix const-string/jumbo to parse unsigned value

https://cs.android.com/android/platform/superproject/main/+/main:art/libdexfile/dex/dex_instruction-inl.h;l=392;drc=61197364367c9e404c7da6900658f1b16c42d0da;bpv=0
2026-02-05 23:01:42 +08:00
tnias
8a07e56526
Use .ARM.attributes section to improve asm.cpu autodetection (#5832)
* ARM: Add macros defining tags in the public attributes subsection

Each tag's value is defined as a null-terminated string or a
uleb128-encoded number. This info will be required while
searching for "TAG_CPU_ARCH" and "Tag_CPU_ARCH_PROFILE" in
the "ARM_TAG_FILE" sub-subsection.

* ARM: Add macros for ARM CPU arch version and profile
* Reference documentation as source for constants
* Add tests for ARM `asm.cpu`
2026-02-05 23:00:46 +08:00
bubblepipe
4aab82b9b2
heap: jemalloc parser refactor, add FreeBSD support (#5864) 2026-02-05 00:44:27 +08:00
Khairul Azhar Kasmiran
171172efcc
Bump timeout of emulateme.arm32 RzIL test to 60s (#5868) 2026-02-03 22:56:47 +08:00
Rot127
7b129bc98d
analysis: fix leaks of analysis op. (#5858) 2026-02-02 11:44:35 +08:00
Anton Kochkov
20769eaaa7 ci: fix macOS package creation 2026-02-01 20:29:59 +08:00
Anton Kochkov
6cacb99e98 hppa: use capstone disassembler 2026-02-01 18:23:12 +08:00
Anton Kochkov
ac6276d220 hppa: remove GNU plugin 2026-02-01 18:23:12 +08:00
Arya H R
88cd68cb52
shell: escape reverse-search and forward search with the Esc key 2026-02-01 16:00:42 +08:00
Khairul Azhar Kasmiran
f4f27fb59e
rz-test: Actually revert to cwd if db/ dir not found (#5852) 2026-01-31 07:26:34 +08:00
well-mannered-goat
d0a0b6eab1
Add RzRelocBase field (#5799) 2026-01-29 16:02:13 +08:00
Rot127
17de98e372
shell: fix leak of iterator in help command (#5848) 2026-01-29 12:14:34 +08:00
Naren Sirigere
fff40f8ccb
librz/arch: make 6502 magic constant configurable (#5817)
* Add config for magic number, fix logic of an opcode
2026-01-28 22:00:22 +08:00
Naren Sirigere
f6c4f76380
Updated to pcre2 10.47 (#5830) 2026-01-27 14:44:51 +00:00
bubblepipe
dca635cde9
Arch-agnostic jemalloc heap parser (#5828) 2026-01-27 15:31:48 +08:00
NOT XVilka
3ed43c4c77
Update Capstone v6 from Alpha5 to Alpha6 (#5842)
Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2026-01-27 12:08:05 +08:00
Anton Angelov
0ff186d8e2
Improve performance of mem.c::read_n_bits() (#5819)
* Add micro benchmark
* Add implementation for rz_bv_set_from_buffer_*()
* Implementation for BE host
* Fix incorrect size parameter when calling rz_bv_set_from_buffer
* Warning when reading beyond ST64_MAX
2026-01-26 12:19:21 +08:00
Rot127
65ef6e3ed9
Fix return type description. (#5838) 2026-01-25 13:11:11 +00:00
Giovanni
5b3d3c1e7d
Fix entrypoint, nomenclature & comments in bin_dol.c (#5840) 2026-01-25 19:29:31 +08:00
Farhanhusein Saiyed
77c02cb0a4
Remove RZ_PACKED from DOL parser (#5831) 2026-01-25 16:40:44 +08:00
bubblepipe
cf0bed93d7
Fix CI tests broken by rizin-testbin update (#5837)
Co-authored-by: Khairul Azhar Kasmiran <kazarmy@gmail.com>
2026-01-24 15:14:08 +00:00
Rot127
4675f5cafe
Add getter for the current log level. (#5807)
The getter is useful if a module outputs debug logs buts also some updated status update in a single line with rz_cons_printf("\r...").
The status update should not happen if the log level is below warning.
2026-01-23 18:52:45 +00:00
Ayush
7d34c4d914
librz/bin: add structured data output for OMF format (iH) (#5781) 2026-01-24 00:33:59 +08:00
Rot127
521353b6fe
Forbid usage of AI tools for good-first-issues. (#5829)
Co-authored-by: Reid Kleckner <rnk@google.com>
2026-01-23 13:06:24 +08:00
Khairul Azhar Kasmiran
d9f41e8074
Shorten rz_list_iter_has_prev/next() to rz_list_has_prev/next() (#5822)
* Shorten rz_list_iter_has_prev() to rz_list_has_prev()

* Shorten rz_list_iter_has_next() to rz_list_has_next()
2026-01-21 13:53:43 +00:00
Premade
86435b1e80
Add signatures and imports in RzCoreAnalysisStatsItem (#5821) 2026-01-20 19:08:46 +08:00
Khairul Azhar Kasmiran
07c3db05e2
Simplify rz_list_iter_get() to rz_list_get() (#5812) 2026-01-20 18:24:23 +08:00
bubblepipe
f28915f246
heap: refactor jemalloc 4.5.0 heap parser (#5800) 2026-01-19 23:45:20 +08:00
bubblepipe
2ee0d4a42b
heap: add support for jemalloc v5.3.0 heap parsing (#5744) 2026-01-18 16:44:57 +08:00
Farhanhusein Saiyed
50d4ec3901
shell: improve help of table commands output. (#5811) 2026-01-18 03:36:10 +08:00
Giovanni
d7b2f85c89
Remove RzIO brainfuck/rzweb/rzpipe & RzDebug brainfuck (#5810) 2026-01-17 22:55:47 +08:00
Khairul Azhar Kasmiran
2fe648f541
Remove rz_list_iter_next() (#5809) 2026-01-17 17:14:24 +08:00
Khairul Azhar Kasmiran
8494ae3c47
Remove rz_list_iter_cur() (#5808)
* Remove rz_list_iter_cur()
* Remove `rz_list_delete(bp->traces, .)` comment
2026-01-17 14:29:50 +08:00
Arya H R
96f0c97bcc
Refactored output modes to use type RzOutputMode (#5750) 2026-01-17 14:29:20 +08:00
Rot127
3c44884a9b
Fix semantical IL bug of unconditional jumps executing NOP in delayed slot. (#5764) 2026-01-16 22:47:51 +08:00