Commit graph

1774 commits

Author SHA1 Message Date
Anton Angelov
95f94ae258
refactor: SwissTable implementation for ht (#5860)
* Add ht benchmarks
* Initial implementation
* Finalize native per-group lookup support
* Lookup SSE2 implementation
* Improve hashing
* Add support for custom elem_size
* Avoid double h2 hashing when reserving slot
* Make custom elem_size support conditional
* Fix issues with bitwise and default lookup implementations
* Implement deletion trick optimization
* Track growth_size instead of deleted_slots
* Refactor SDB to access ht via API instead of internals
* Modify SDB tests which rely on hashtable order
* Fix SDB build warnings
* Fix bug with finding next power of two
* foreach_kv to return a bool result
* Change SDB diff order expected by serialize_analysis unit test
* Fix bug in the bitwise lookup implementation
* Remove second call to rz_core_init() which causes memory leaks
* Update some regression tests to accept reordered output
* Adapt ht clear to new implementation
* Use fini_kv_pair and fix 1 potential leak on malloc failure
* Fix cmd/types test after merge
* Avoid second call to calsize_key and avoid iter leaks on malloc failure
* Improve hash distribution
* Extend benchmark suite
* Fix bug with string hashing
* Branchless write to mirrored ctrl bytes
* Simplify string hash and remove potential UB
* Move RZ_PREFETCH macro to rz_types.h
* Add SSE2 discovery in Meson
* Forward SDB string hash function to ht string hash
* Try to revert test_cpu_profiles() to avoid relying on a baked SDB file
* Revert SDB/CDB hash function change
* Fix SDB reference to HT hash function instead of CDB hash
* Change calloc to malloc
* Avoid storing/checking key_len and key_value if they are ut64
* Improve string hash function
* Rename default hash functions
* Improve bench code
* linter.yml: set clang-path to point to llvm-18
2026-03-02 12:31:35 +08:00
Giovanni
00fba1dd53
Add support to MIPS & Alpha ECOFF 32/64 (#5447) 2026-02-28 23:37:55 +08:00
Ashish Kumar
732a5d6185
librz/hash: Add sha3 (incl. keccak) support (#5886) 2026-02-28 20:16:13 +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
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
Giovanni
17e19ac887
Log an error when endianness change is not compatible with arch (#5945) 2026-02-23 11:06:41 +08:00
Farhan Saiyed
88d861db6f
librz/bin: fix missing strings in izx output (#5950) 2026-02-23 00:53:46 +08:00
StefBisti
176c071603
Add amiga hunk format support (#5911) 2026-02-22 22:07:09 +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
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
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
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
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
Jagath P
4dc8d92f5b
librz/bin: add iH header information to bFLT format (#5916) 2026-02-15 02:32:01 +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
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
bubblepipe
7f57ae2c70
heap: refactor glibc heap parser (#5880) 2026-02-12 03:20:28 +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
Giovanni
dfdd062f14
Rewrite of zImage bin parser & new structured data methods (#5893) 2026-02-09 19:00:42 +08:00
Anton Angelov
cae5fe0474
shell: sort output of aezv by variable name (#5890) 2026-02-08 21:38:37 +08:00
Farhan Saiyed
0c68d7e09f
librz/bin: iH structure for zimg format (#5883) 2026-02-08 14:42:20 +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
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
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
Anton Kochkov
6cacb99e98 hppa: use capstone disassembler 2026-02-01 18:23:12 +08:00
well-mannered-goat
d0a0b6eab1
Add RzRelocBase field (#5799) 2026-01-29 16:02:13 +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
bubblepipe
dca635cde9
Arch-agnostic jemalloc heap parser (#5828) 2026-01-27 15:31:48 +08: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