Ayush
12037d6530
librz/bin: implement iH header info for AVR ( #5917 )
2026-02-14 16:33:08 +08:00
Ehab-24
43a52c2366
librz/il: fix memory leak caused by using wrong free function ( #5915 )
2026-02-14 13:39:49 +08:00
Premade
5f22d8b860
Add: API func to get xref comment at specific offset ( #5910 )
...
* Add `rz_core_get_xref_comment()`
* Add integration test
2026-02-14 13:38:54 +08:00
Ayush
15c9c1d8f0
Implement iH command for header output of PYC format ( #5895 )
2026-02-13 00:38:33 +08:00
Farhan Saiyed
150545d476
Xbe structure ( #5887 )
2026-02-13 00:25:15 +08:00
Anton Angelov
acd64a8802
Sort output of pfn, t and tf commands ( #5907 )
...
* Sort output of `pfn` and `t `cmds
* Fix test for `pfn`
* Sort output for `tf`
* Fix `t` and `tf` tests
2026-02-13 00:21:18 +08:00
Khairul Azhar Kasmiran
5a30814c6a
Fix duplicate "Dependency rzheap found" messages ( #5908 )
2026-02-12 21:52:11 +08:00
bubblepipe
7f57ae2c70
heap: refactor glibc heap parser ( #5880 )
2026-02-12 03:20:28 +08:00
Khairul Azhar Kasmiran
048c14653e
Fix test_vector_contains() test for s390x ( #5904 )
2026-02-11 23:55:07 +08:00
Rot127
d7111d056c
librz/util: add rz_vector_contains() and rz_vector_insert_sorted() ( #5892 )
...
* Add rz_vector_contains().
* Add rz_vector_insert_sorted().
* Pointer arithmetic fix for Windows.
2026-02-11 02:45:12 +08:00
well-mannered-goat
9140a66666
librz/bin/elf: refactor imports handling ( #5851 )
...
* Create ELF context
* Add MIPS GOT address field
* Add sections in ELF context
2026-02-11 02:42:38 +08:00
Rot127
6a8d2ecf57
Check for empty vector to prevent OOB reads and writes. ( #5591 )
...
* Check for empty vector to prevent OOB reads and writes.
* Add tests to check for OOB reads/writes.
2026-02-10 16:57:12 +00:00
Rot127
38407306b3
Fix leaks of RzILMem buffers and enabling RzILMem to take buffer ownership. ( #5739 )
...
The previous assumption of RzILMem was that the buffer is not owned by it.
This made sense, because in the beginning it only held an RzIO buffer.
But the Xtensa and Sparc RzAnalysisILInitCallback definition initializes
an additional RzILMem object. This additional RzILMem has a sparse buffer in both cases.
The Xtensa and Sparc plugin pass the sparse buffer to RzILMem with the assumption that it takes ownership.
They have to, because there is no fini() version of RzAnalysisILInitCallback in which they could free the buffer.
There are also no API functions to free the buffer in RzILMem.
So the plugins don't have a nice way to clean it up in a theoretical fini() callback.
This commit fixes the leak by splitting rz_il_mem_new() into two version.
One to taking the ownership of the buffer, one borrowing it.
This seems the most natural solution, because buffers can abstract from
all kind of backends (RzIO, a file, some memory etc.).
Each time the ownership of the buffer is different.
So the creator of rz_il_mem_new_*() can decide what buffer with what ownership they pass.
2026-02-10 15:38:51 +00:00
Ehab-24
799dd7a57b
rz-hash: allow wildcard path expansion on *nix system shells ( #5899 )
2026-02-10 23:25:31 +08:00
Anton Angelov
d68cb3db15
Warn if an input file can be opened by more than 1 bin plugin ( #5894 )
2026-02-10 23:20:18 +08:00
Rot127
73b8660489
Disable debug logs of Hexagon instruction cache completely. ( #5652 )
2026-02-10 23:17:13 +08:00
Khairul Azhar Kasmiran
2d49628aee
Remove rz_list_iter_get_data() ( #5900 )
...
* Remove rz_list_iter_get_data()
* Use rz_list_val() instead of rz_list_iter_get_data()
2026-02-10 22:03:37 +08:00
Giovanni
78574a1f2d
librz/bin: refactor bootimg to support v1-v4 structures. ( #5897 )
...
* Fixes and support for v0-v4 formats
* Remove useless check on omf
2026-02-10 02:10:22 +08:00
Khairul Azhar Kasmiran
f8aec15519
Rename rz_list_get() to rz_list_val() ( #5896 )
2026-02-09 22:47:57 +08:00
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