Thomas Strömberg
a65be1e6cd
Fix Illumos/Solaris platform support ( #5972 )
2026-02-27 13:01:40 +08:00
Khairul Azhar Kasmiran
f319ce1dff
Implement afv- * ( #5969 )
2026-02-26 20:46:36 +08:00
NOT XVilka
2b163fa69b
Revert "Revert back linux-x64 dbg tests to Ubuntu 24.04 (20260201) ( #5948 )" ( #5967 )
...
This reverts commit 2eb28f9cce .
Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2026-02-26 12:42:14 +08:00
مصطفي محمود كمال الدين
3112994017
RISCV: Make analysis function set mnemonic field to enable ROP search ( #5952 )
...
* Make analysis function set mnemonic field to enablre ROP search
* Add tests
2026-02-26 12:17:46 +08:00
مصطفي محمود كمال الدين
8d459b218d
librz/bin: fix patching relocations for RISC-V ELFs
...
* fix unused return value in patch_relocs_riscv and unreachable code in extension parser
2026-02-26 12:17:03 +08:00
Ehab-24
09cab090f6
RziL: fix incorrect naming of fabs as fpos ( #5955 )
...
* rzil: fix incorrect output
* update test cases
2026-02-25 16:04:45 +00:00
Ayush
d6b5340cda
librz/bin: add iH header printing support for CGC format ( #5962 )
2026-02-25 21:12:40 +08:00
Naren Sirigere
ab82fc9fa3
Add SerenityOS Support ( #5905 )
...
* Add serenity to librt whitelist
This patch adds serenity to the list of operating systems that dont require librt to be explicity linked
* Disable PCRE2 JIT compilation
* Remove resolve_heap_tcache implementation
Serenity doesn't implement thread caching in its memory allocator, so tcache resolution is not applicable.
* Define rz_sys_pipe as pipe2 for serenity
* Add serenity identifier to rz_types.h
Define serenity as __UNIX__ like, and set RZ_SYS_OS to 'serenity' if __serenity__ identifier is defined
* Add zlib dependency for libzip
2026-02-23 16:34:05 +00:00
Giovanni
17e19ac887
Log an error when endianness change is not compatible with arch ( #5945 )
2026-02-23 11:06:41 +08:00
Rot127
42dbdd7900
Fix meson build warning about empty config data. ( #5957 )
2026-02-22 21:10:09 +00:00
Farhan Saiyed
88d861db6f
librz/bin: fix missing strings in izx output ( #5950 )
2026-02-23 00:53:46 +08:00
Thiago Mucci
71640c8cdd
fix(io): unify R! command usage formatting ( #5954 )
2026-02-23 00:01:33 +08:00
StefBisti
176c071603
Add amiga hunk format support ( #5911 )
2026-02-22 22:07:09 +08:00
billow
2718026d27
Update libdemangle to revision 2d1d726 ( #5949 )
2026-02-21 03:15:18 +08:00
Khairul Azhar Kasmiran
2eb28f9cce
Revert back linux-x64 dbg tests to Ubuntu 24.04 (20260201) ( #5948 )
2026-02-20 21:00:38 +08:00
Farhan Saiyed
90573979f2
test: add unit test for read_*_leb128() functions ( #5931 )
2026-02-20 04:24:59 +08:00
Giovanni
7f55442dc2
Fix endianness issues on s390x ( #5940 )
...
* Refactor of bflt to guess arch & fix m68k code
* Fix endianness issues
* Always cleanup at the end on travis ci
2026-02-19 23:13:18 +08:00
Giovanni
1e33f52ed3
Fix demangler meson.build ( #5942 )
2026-02-19 16:40:13 +08:00
billow
b4ca5641e6
Update libdemangle ( #5850 )
...
* Update libdemangle to revision 37f9e9e
* Fix: C++ demangler plugin definition
* Fix: update tests
2026-02-19 12:20:29 +08:00
Ayush
3db19a4c30
librz/bin/wasm: fix memory leaks. ( #5941 )
2026-02-19 12:03:46 +08:00
Naren Sirigere
ddc361ceba
librz/arch: fix 6808 naming and add CPU aliases for 6802, 6803, 6808 ( #5939 )
2026-02-19 00:54:35 +08:00
مصطفي محمود كمال الدين
6a9eef646a
build: split tricore and riscv build condition Meson
2026-02-18 11:47:15 +08:00
Giovanni
4c3230cfa4
test: remove test_auto_analysis.c as incorrect ( #5934 )
...
* Remove wrong and broken test that never worked.
2026-02-17 22:38:03 +08:00
Giovanni
693dff153b
Move arch config into function ( #5902 )
2026-02-17 18:19:40 +08:00
مصطفي محمود كمال الدين
158765163a
librz/arch: rewrite the RISC-V support to use Capstone ( #5482 )
...
* remove GNU plugin and remove the pseudo-assembly test
* modernize Capstone-based RISC-V plugin and add huge test coverage
2026-02-17 03:35:37 +08:00
Giovanni
719e410593
Refactor of SMD format ( #5929 )
2026-02-16 22:07:10 +08:00
Giovanni
31d21ea2fe
Fix h8300 cpu detection ( #5925 )
2026-02-16 21:40:02 +08:00
Farhan Saiyed
3a68ec601d
librz/bin: PEF support ( #5921 )
2026-02-16 14:43:27 +08:00
Giovanni
18c2985d28
librz/bin: refactor GameBoy binary parser ( #5926 )
2026-02-16 02:37:20 +08:00
Farhan Saiyed
ae8e7115bc
librz/bin: add iH header structure for WASM format ( #5914 )
2026-02-15 21:44:58 +08:00
Khairul Azhar Kasmiran
def5fbbce2
Update linux-x64 dbg tests to the Ubuntu 24.04 (20260209) image ( #5924 )
2026-02-15 17:47:02 +08:00
Khairul Azhar Kasmiran
93ace74a55
Remove ASAN debug test fail->broken conversion ( #5923 )
2026-02-15 15:42:15 +08:00
Jagath P
4dc8d92f5b
librz/bin: add iH header information to bFLT format ( #5916 )
2026-02-15 02:32:01 +08:00
Anton Angelov
9c7ecaf48d
Fix random leaks ( #5920 )
2026-02-14 15:46:43 +00:00
Khairul Azhar Kasmiran
272c8d1015
glibc_versions.h: Work around MSVC error C4576 ( #5919 )
2026-02-14 23:37:33 +08:00
Khairul Azhar Kasmiran
236f933f31
Cast some RzHeapChunkLayout initializer values for shiboken6 ( #5918 )
2026-02-14 18:59:23 +08:00
Farhan Saiyed
bdfe92ad74
librz/bin: add header information iH support for DEX ( #5903 )
2026-02-14 16:46:50 +08:00
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