Commit graph

30233 commits

Author SHA1 Message Date
Giovanni
d2494fac4a
librz/bin/{coff,ecoff}: fix various Coverity issues (#6023)
* Fix Coverity issues on ecoff
* Fix Alpha bitness
* Fix memleak in coff.c
* Fix tests
2026-03-13 00:44:59 +08:00
dependabot[bot]
e0068f5433
build(deps): bump docker/setup-buildx-action from 3 to 4 (#6020)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3 to 4.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-12 18:17:13 +08:00
dependabot[bot]
c5683c4b22
build(deps): bump docker/metadata-action from 5 to 6 (#6019)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 5 to 6.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-12 18:16:06 +08:00
dependabot[bot]
25c8369c31
build(deps): bump docker/setup-qemu-action from 3 to 4 (#6018)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 3 to 4.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-12 18:14:17 +08:00
dependabot[bot]
228e9d7a8f
build(deps): bump docker/build-push-action from 6 to 7 (#6017)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6 to 7.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6...v7)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-12 18:12:49 +08:00
dependabot[bot]
6f2d147257
build(deps): bump docker/login-action from 3 to 4 (#6016)
Bumps [docker/login-action](https://github.com/docker/login-action) from 3 to 4.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-12 18:11:28 +08:00
NOT XVilka
6c77211f44
librz/arch: remove unused ESIL remnants from Dalvik (#6024)
Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2026-03-12 03:07:07 +08:00
Ehab-24
9f85d684a1
Emacs style case conversions (#5898)
This PR introduces the following changes to rizin shell:

- Use Meta-L to lowercase the following word
- Use Meta-U to uppercase the following word
- Use Meta-C to capitalize the following word

The behavior of these actions is the same as in zsh.
2026-03-11 16:52:52 +00:00
Giovanni
70fdd67278
Allow rizin tools to run as standalone binaries (#6011)
* Implement TOOL/ENVS/EXIT_STATUS for rz-test

* update readme
2026-03-11 16:24:23 +00:00
Khairul Azhar Kasmiran
690daa2f54
ht_inc: Rename slots to slots_ (#6021) 2026-03-10 22:33:12 +08:00
Anton Angelov
98670969eb
Build the benchmarks as part of the CI (#5965)
* Build the benchmarks as part of 'linux-meson-gcc-tests' step
* Fix bench_il build error
* Add macro to avoid compiler optimization on benchmarked code
* Fix incorrect format specifier
* Cast to uint64_t
2026-03-08 13:15:18 +08:00
Mohammed Muqeet Us Salam
5bc6c7e30e
Add blake2 in .gitignore (#6008) 2026-03-08 11:08:47 +08:00
Rot127
2b58fae646
Make RzAnalysisMetaType an integer enum. (#5839) 2026-03-08 03:18:40 +08:00
Anton Angelov
f6651af904
librz/util: new CTZ implementation (#5963) 2026-03-08 03:18:07 +08:00
Ayush
5fab5584e2
librz/bin: add CaRT container format support (#5964)
* Add CaRT extractor plugin
* Update cmd_list expected output for CaRT extractor plugin

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-03-07 20:51:50 +08:00
dependabot[bot]
7bac9f75fa
build(deps): bump actions/download-artifact from 7 to 8 (#5985)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-07 17:23:25 +08:00
dependabot[bot]
59cb7a8338
build(deps): bump actions/upload-artifact from 6 to 7 (#5986)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-07 17:21:07 +08:00
Farhan Saiyed
e4464a1c55
blake2 hash support (#5995) 2026-03-06 22:17:59 +08:00
Anton Angelov
d6f278e1a5
Enable SSE2 on targets where it's supported (#5990) 2026-03-04 23:54:18 +08:00
Ehab-24
d1b628b0a6
fix use-after-free in txl command (#5980)
* fix use-after-free in txl command

* add cmd_txl test

---------

Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>
2026-03-04 14:33:08 +00:00
Twilight
3da3a22603
refactor: add enum vairables in TUI define.c (#5959) 2026-03-04 12:30:34 +08:00
مصطفي محمود كمال الدين
fe2891edb4
librz/bin/elf: use a macro that won't be removed in release builds (#5989) 2026-03-04 12:23:47 +08:00
Suleif
5897f30c25
Fix a buffer overflow in gdbr_parse_processes_xml (#5973)
* Fix a buffer overflow in gdbr_parse_processes_xml, and added a regression test for it
2026-03-04 01:27:08 +08:00
Anton Angelov
5a2e57b828
Use rz_read_le instead of memcpy in rz_default_hash_string() (#5983) 2026-03-02 16:59:28 +08:00
Ayush
6880cb44f7
add iH support for for bf (#5943) 2026-03-02 16:44:26 +08:00
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
Ehab-24
492addb3a1
Enc: add unicode case mappings (#5956) 2026-03-01 15:06:28 +00: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
Rot127
ec02889e9c
RzIL: Hash Pure variable names to make them more suitable as hash table keys. (#5971)
* Pre-compute DJB2 hash of VAR name for internal hash map key usage.

* IL VARS hash: Hash variable name.

* Add tests
2026-02-27 11:51:35 +00:00
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