Commit graph

30308 commits

Author SHA1 Message Date
Rot127
d7bc9584e2
Fix rz-bindgen build for latest rz_analysis_t refactor. (#6168)
* Move typedef to the top to fix rz-bindgen parsing.

* Fix order of endif (cpp must be second to last).
2026-04-07 03:20:02 +08:00
Rot127
b961360d13
Remove unused declaration (#6165) 2026-04-06 17:58:34 +00:00
Giovanni
b5fee3471c
Move RzAnalysis as private and force usage of C API (#6123)
* Hide RzAnalysis structure to force the usage of the C APIs.

* Fix rop code & test

* Fix linter

* Fix rz_analysis_free to return void
2026-04-06 16:07:53 +00:00
Florian Märkl
995f73b1ad
Add inplace variants for rz_bv_(un)signed_cast() (#6164) 2026-04-06 17:09:05 +02:00
SSharshunov
f007f5f309
Fix leak of CS structs in librz/arch/p/analysis/analysis_riscv_cs.c (#6133) 2026-04-06 11:58:25 +00:00
Mohammed Muqeet Us Salam
c177cce9d4
Add rz_str_replace_regex for regex based string replacement (#6151) 2026-04-06 11:52:52 +00:00
Florian Märkl
babba5f428
librz/util: fix fill_bit in rz_bv_cast_inplace for small vectors (#6163)
Resulting bitvector contents for fill_bit = true were incorrect. In
particular, when extending, the new bits were not set and when
shrinking, the cut off bits were set to the fill_bit, even though they
would be out of range.
2026-04-06 02:46:34 +08:00
Shreyas Sangarshan S
e184f35992
fix: remove windows debugger compilation warnings (#6140) 2026-04-05 16:27:46 +08:00
Farhan Saiyed
c79a077d1c
Add a note regarding verbose mode in benchmark (#6157)
* Workflows run updated

* Adding note regarding verbose mode in benchmarks
2026-04-05 08:20:01 +08:00
SSharshunov
fcfb984235
Luac 5.0-5.5 support (#6142) 2026-04-05 08:12:55 +08:00
Rot127
f84510dc08
Add rz_set_u_take(). (#6137) 2026-04-04 12:04:25 +00:00
Mohammed Muqeet Us Salam
7226d50637
Omitted reflines when internal grep ~ is used (#6062) 2026-04-04 12:03:06 +00:00
Rot127
a1012b5305
Improve performance of rz_bv_set_from_Xt64() at least for the value 0. (#6147) 2026-04-04 12:01:44 +00:00
Khairul Azhar Kasmiran
4848dd9850
Rename cmd_plF test to cmd_pl_capital_f (#6150) 2026-04-04 10:14:22 +00:00
Ehab-24
96ddda19ed
test: enforce bits and endianness in plF tests (#6149) 2026-04-04 16:01:39 +08:00
Giovanni
29803d9e34
Fix implementation of rz_core_analysis_[bytes/op_chunk_iter] (#6145) 2026-04-04 15:32:47 +08:00
Arya H R
f8b945a56d
librz/disasm: remov printing function from public RZ_API (#6143) 2026-04-04 03:06:39 +08:00
Riccardo Schirone
f2f18c4fdd
librz/debug: clean core->dbg fields when rz_debug_use errors (#6138)
* librz/debug: clean core->dbg fields when rz_debug_use errors
* librz/debug: call fini to avoid leaks
* librz/debug: deallocate the current dbg plugin on free
2026-04-04 03:06:05 +08:00
Ehab-24
0b1905f507
shell: add plF unicode RzIL print command (#5936) 2026-04-04 02:57:31 +08:00
Khairul Azhar Kasmiran
dbb6133249
Add const to suitable rz_asm funcs (#6144)
* Add `const` to suitable rz_asm funcs
* Use RZ_STR_ISEMPTY() instead
2026-04-04 00:11:53 +08:00
SSharshunov
7eb9cdfe75
Fix leak in test/unit/test_analysis_op.c (#6134) 2026-04-02 18:36:13 +08:00
MrQuantum1915
75b038d867
Fix missing _64 bit enum checks in analysis_mips_cs.c (#6122) 2026-04-02 15:14:28 +08:00
Khairul Azhar Kasmiran
815c86a8f7
Inline rz_list_iter_set_data() and shorten it to rz_list_set_val() (#6131) 2026-04-02 06:04:54 +08:00
Shessaanand Siva Sivamurugan
7ad49c41c2
hash: add jenkins non-cryptographic hash (#6121) 2026-04-02 01:42:23 +08:00
dependabot[bot]
2fe2696ac3
build(deps): bump codecov/codecov-action from 5 to 6 (#6124)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5 to 6.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: codecov/codecov-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-31 19:40:42 +08:00
cheese-cakee
64a32b8481
bin/nes: implement iH header structure (#6099) 2026-03-29 19:40:00 +08:00
loki
8fcf3e736b
Fix aav.aav.* naming #2205 (#6079) 2026-03-29 17:49:04 +08:00
Khairul Azhar Kasmiran
e0ec191f97
meson: Fix include_directories sandbox violation (#6119) 2026-03-29 17:44:45 +08:00
Rot127
c6d566a44a
Fix failing of workflow if a PR or the base branch has more than 10 commits. (#6117)
I tried several ways to fix this issue more elegantly.
But I either was too stupid, too tired to do it right, or it got too complex.
The script fails because the PR "base" branch and the PR HEAD
have no merge-base commit in the shallow clone Github does.

If a PR has more than 10 commits, the workflow fails because
the fetching didn't get enough commits to reach the merge-base.

Anyways, this is the simple solution.
Fetch 200 commits at once and done.
The workflow will fail if a PR has more than 200 commits
or the base branch has 200+ commits since creation of the
PR. But this rare and almost always requires a rebase
anyways. So this is the simplest fix.
2026-03-29 09:49:03 +08:00
Khairul Azhar Kasmiran
37d35d3d69
appveyor.yml: Install special py packages only on vs2017 (#6114) 2026-03-28 14:58:31 +08:00
cheese-cakee
ca2fd3b954
hash: add xxhash64 algorithm (#6098) 2026-03-28 05:16:44 +08:00
Ayman
1b18421d73
analysis: improve function splitting heuristics for inner functions (#5975) 2026-03-27 15:24:14 +00:00
Khairul Azhar Kasmiran
e1542ed0e5
appveyor.yml: Remove BUILD_DIR (#6110) 2026-03-27 21:03:20 +08:00
Rot127
d8fec294f7
librz/arch: update Hexagon to v81 + HMX Extension (#6041)
* Update to v81
* Add HMX tests
* Add HMX extension instructions.
* Update patterns with more special register names.
* Fix and extend token patterns.
* Regenerate with RzIL
* Add missing extension description.
2026-03-27 13:36:03 +08:00
Rot127
6d50c5ac14
Fix leaks of table (#6106) 2026-03-27 11:25:27 +08:00
Farhan Saiyed
7bfdd4230d
Test optimization of abi/compilers (#6082) 2026-03-27 11:24:51 +08:00
Khairul Azhar Kasmiran
c8f69ceafb
appveyor.yml: Test on APPVEYOR_BUILD_WORKER_IMAGE to reduce repetition (#6102) 2026-03-27 06:07:57 +08:00
Khairul Azhar Kasmiran
30d8d2c3b2
Filter dm/fl@F:maps wrt vvar/vdso size (#6104) 2026-03-27 01:31:46 +08:00
Rot127
e675b5efa6
Fix leaks of keyword list and venv (#6094) 2026-03-26 01:58:42 +08:00
Giovanni
4712c82435
refactor: remove RzAsm struct from the public APIs (#6089)
* Remove RzAsm struct from the public APIs
* Forbid plugins from changing RzAsm contents
* Implement archinfo for RX
* Rename archinfo for SH
* Fix tests to use the new output
2026-03-26 01:57:42 +08:00
Rot127
5d15b1295e
Move get_boundary functions without module dependencies to RzIO. (#5508)
* Add boundary getter tests.
2026-03-25 14:34:07 +00:00
NOT XVilka
e9dd764f87
refactor: remove unused mpc subproject (#6091)
Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2026-03-25 20:30:15 +08:00
Ashish Kumar
f6344debf8
librz/hash: add murmur3 hash function (without keys support) (#6002) 2026-03-25 15:46:37 +08:00
Anton Kochkov
cc8a02949e test: force little endian on cBPF test 2026-03-25 05:00:05 +08:00
Anton Kochkov
7f1be3d94a build: compile cBPF plugin only for capstone>=6 2026-03-25 05:00:05 +08:00
Jagath P
3e39942e70
Added disassembly support for cBPF (#5988)
* Added disassembly support for BPF

* Added the analysis plugin file and test file for classic bpf
2026-03-24 16:56:25 +00:00
MrQuantum1915
54e4404391
Merge aek- regression test into previous one (#6077) 2026-03-24 22:22:10 +08:00
NOT XVilka
7d889002bf
Remove remnants of printing Rizin commands (#6085)
Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2026-03-24 22:15:47 +08:00
NOT XVilka
e26ed3a0ff
librz/util: remove unused rz_range functions (#6083)
Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2026-03-24 16:44:22 +08:00
Giovanni
106e2c1234
Remove addrbytes from RzIO which is always 1 and never changes. (#6084) 2026-03-24 16:11:50 +08:00