Commit graph

30250 commits

Author SHA1 Message Date
Rot127
964335bcf6
librz/bin/elf: Add R_PPC64_RELATIVE and R_PPC64_ADDR64. (#6058) 2026-03-21 13:50:43 +08:00
Ashish Kumar
882ca0c6fb
rz-find: add -R option to execute rizin commands (#5981)
`-E` option now executes shell commands instead
2026-03-21 13:49:58 +08:00
billow
004653cc87
bump rz-libdemangle to ba048810ee76da1f2b4c62e408f13d5bcb937b87 (#6056) 2026-03-21 02:47:43 +08:00
bubblepipe
c76a987287
shell: move all heap parsing commands under dmh (#6050) 2026-03-21 02:44:59 +08:00
Giovanni
16558a06f4
Implement various cpus profiles & features (#6030) 2026-03-20 20:08:05 +08:00
Khairul Azhar Kasmiran
492be32193
meson: Fix duplicate checks for -Wno-unused-result (#6053) 2026-03-19 20:46:00 +08:00
dependabot[bot]
737434ace9
build(deps): bump dorny/paths-filter from 3 to 4 (#6048)
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter) from 3 to 4.
- [Release notes](https://github.com/dorny/paths-filter/releases)
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dorny/paths-filter/compare/v3...v4)

---
updated-dependencies:
- dependency-name: dorny/paths-filter
  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-18 22:10:39 +08:00
dependabot[bot]
a8f0680c44
build(deps): bump actions/checkout from 4 to 6 (#6047)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-18 22:01:28 +08:00
Alok Kumar Mishra
1ba0cb22c6
fix: resolve endless loop (#6049) 2026-03-18 20:52:14 +08:00
Alok Kumar Mishra
470b1b1eb7
rz-ar: add archive extraction utility (#6036) 2026-03-18 03:51:18 +08:00
Farhan Saiyed
6e016eee9c
librz/core: Add ica, ics, pfa commands (#6039)
- `ica` applies the class flags at given address
- `ics` generates type definitions from classes (class as C struct)
- `pfa` applies format string at given address and define flags for each field
2026-03-17 22:56:24 +08:00
bubblepipe
21d4084af0
Add support for dm commands in core dump mode. (#5930)
* add support for relative path core dump

---------

Co-authored-by: NOT XVilka <notxvilka@proton.me>
2026-03-17 10:01:20 +00:00
Ayush
33d0dcbeb2
Added iH header structure support for BIOS bin plugin (#5979) 2026-03-16 19:36:35 +08:00
Giovanni
961b6510fa
Simplify CODEOWNERS (#6040)
* Simplify CODEOWNERS

* Add b1llow
2026-03-15 15:52:16 +00:00
WhiteBai1
10e97a0876
Fix/mandoc manpages (#6027) 2026-03-15 21:01:56 +08:00
Rot127
c187aeeb5b
Remove possibly vulnerable LLM check workflow. (#6032) 2026-03-13 17:19:34 +00:00
Rot127
a0da72a5c9
Add AGENTS.md with requirement to disclose agent authorship and flag PRs with detected AI usage. (#6025)
* Add AGENTS.md with requirement to disclose agent authorship.
* Check for edits to AGENTS.md
* Add PR label on detected AI authorship.

This PR adds an automated check if a contributor used an AI Agent to generate code.

It does this by:
- Adding an AGENT.md requesting the Agent to add a "co-authored by" line to each commit message it generates.
- An added workflow (`llm_check.yml`) runs to check for any commit having such a matched line in it.
- If it finds it, it adds the `AI/LLM` label. The label IS NOT removed automatically if a force push changes the commit message.

The additional `get_real_pr_shas.yml` is a requirement sadly.
It is currently impossible to get the commit the PR is based on via Github APIs.
The variables `github.base_ref` or `github.pull_request.base.sha` either return the commit hash when the PR was created (breaks after rebase) or the new HEAD of the base branch after something unrelated was merged (see: https://github.com/actions/runner/issues/1689).

This makes it effectively impossible to get the output of `git log actual_pr_base..HEAD` via the Github API.
2026-03-13 15:00:14 +00:00
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