Commit graph

339 commits

Author SHA1 Message Date
Farhan Saiyed
d2859bbfdd
Update cconfig.c to make =? behave like =?? (#6546) 2026-07-09 09:58:26 +08:00
NOT XVilka
070c004e0c
rz-find: flush output to avoid undeterminism (#6527)
Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2026-06-18 14:56:02 +08:00
NOT XVilka
8fde88fd9e
rz-asm: show an error when -m arg is invalid (#6519)
Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2026-06-17 11:22:17 +08:00
Giovanni
c6ba6eed9a
Implement lcs-roll distance (myers+fastcdc) (#6512) 2026-06-15 23:23:54 +08:00
Khairul Azhar Kasmiran
0374f28e03
Remove asm.demangle (#6460) 2026-06-04 06:17:33 +08:00
wargio
f366095030 Implement special compare for bytes and always compare mem-aligned. 2026-06-01 01:45:59 +08:00
NOT XVilka
308d53c9f7
main/rizin: free RzCore on early-exit paths in rz_main_rizin (#6437)
Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2026-05-31 01:44:28 +08:00
Khairul Azhar Kasmiran
1abe2dce99
Prevent RzBuffer's Oxff_priv from overriding io.0xff (#6371)
* Prevent RzBuffer's `Oxff_priv` from overriding `io.0xff`
* Use io from RZ_BUFFER_IO and RZ_BUFFER_IO_FD buffers
* Add `RzIO *` param to rz_buf_new_mmap()
* pe: Discard incomplete import directory
2026-05-27 06:18:45 +08:00
Rot127
045fff363b
Fix double free and reject invalid values for search.in (#6327) 2026-05-11 13:01:53 +08:00
Giovanni
bd44250fd6
Add new implementation of RzConfig (#5820) 2026-05-03 15:34:48 +08:00
Khairul Azhar Kasmiran
c8878d3139
Convert %ll format specifiers to PFMT64 (#6267)
* Convert `%ll` format specifiers to PFMT64
* Remove ` ""` at end of some PFMT64
2026-04-22 05:57:04 +08:00
Alok Kumar Mishra
fa430f0cbb
rz-diff: make visual resize state replacement allocation-safe (#6222) 2026-04-12 19:32:16 +08:00
Giovanni
daeee9ac1a
Fix ISO C23 warnings related the usage of strstr & strchr (#6182) 2026-04-08 22:04:39 +08:00
Giovanni
6131a0e187
Fix RZ_IPI usage on public headers & fix memory leak in the ROP code. (#6171)
* Fix RZ_IPI declaration on public api for rz_pdb

* Fix RZ_IPI declaration on public api for jemalloc/glibc

* Fix RZ_IPI declaration on public api for rz_io

* Remove functions from public header for rz_panels

* Fix public functions not following rizin nomenclature in rz_graph

* Fix public functions not following rizin nomenclature in rz_rop

* move resolve_fcn_name into rz_analysis

* Fix public functions not following rizin nomenclature in rz_ascii_table

* Fix leak in rop code

* Rewrite parser for rop

* Add doxygen comment
2026-04-08 13:37:17 +08: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
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
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
Giovanni
106e2c1234
Remove addrbytes from RzIO which is always 1 and never changes. (#6084) 2026-03-24 16:11:50 +08:00
Arya H R
3247c3e97f
refactor: output legacy integer mode to use RzOutputMode (#5815) 2026-03-24 06:12: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
Alok Kumar Mishra
470b1b1eb7
rz-ar: add archive extraction utility (#6036) 2026-03-18 03:51:18 +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
Giovanni
17e19ac887
Log an error when endianness change is not compatible with arch (#5945) 2026-02-23 11:06:41 +08:00
Ehab-24
799dd7a57b
rz-hash: allow wildcard path expansion on *nix system shells (#5899) 2026-02-10 23:25:31 +08:00
Khairul Azhar Kasmiran
2d49628aee
Remove rz_list_iter_get_data() (#5900)
* Remove rz_list_iter_get_data()
* Use rz_list_val() instead of rz_list_iter_get_data()
2026-02-10 22:03:37 +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
Giovanni
141f05b126
Remove rz_io_read_at and use only rz_io_read_at_mapped (#5777) 2026-01-11 22:50:50 +08:00
Giovanni
6926b6a65d
Rewrite C compiler code for rz-gg (#5761) 2026-01-10 13:36:51 +08:00
Giovanni
ea21a4a7b4
Implement colors for tables and move RzListInfo out of table.c (#5729) 2026-01-05 21:34:41 +08:00
Khairul Azhar Kasmiran
b96202ad48
Rename rz_list_first() / rz_list_last() to rz_list_first_val() / rz_list_last_val() (#5654) 2025-12-20 17:08:59 +08:00
Zapper9982
fe14cdf1b5
rz-find: add -V (verbose) CLI flag (#5621) 2025-12-15 16:49:53 +08:00
Muhammed Answar C K
61f06f07ee
Fix rz-find ignoring RZ_LOGLEVEL. (#5592) 2025-12-10 14:51:06 +08:00
Giovanni
2f97762b09
librz/core: Remove rizin command output (#5540)
* Remove RIZIN command output for the old projects

* Fix cmeta.c

* Fix ik command

* Revert back pc*

* fix formatting cmd_descs_generate.py

* Fix rz_cons_pal_list_as_css

* Fill all info about colors for ec commands.

* Fix all tests
2025-11-28 23:41:47 +08:00
Khairul Azhar Kasmiran
f150e1859b
Fix quite and relocatons typos (#5549)
* Fix quite -> quiet typo

* Fix relocatons -> relocations typo
2025-11-25 12:04:11 +08:00
Khairul Azhar Kasmiran
58ab58962f
Touch up rz-run -h (#5450) 2025-10-11 12:25:32 +08:00
Khairul Azhar Kasmiran
397f03b2a8
Touch up rz-sign -h (#5443) 2025-10-09 21:34:53 +08:00
Khairul Azhar Kasmiran
7223d182ef
Remove brackets from args in rz-gg -h (#5441) 2025-10-08 10:03:44 +08:00
Khairul Azhar Kasmiran
04714648bb
Remove arg for -X in rz-gg -h (#5440) 2025-10-07 21:43:06 +08:00
Khairul Azhar Kasmiran
1edfc2f7c1
Remove brackets from args in rz-find -h (#5439) 2025-10-06 21:17:27 +08:00
Khairul Azhar Kasmiran
65752add5e
Remove brackets from args in rz-diff -h (#5438) 2025-10-05 22:13:35 +08:00
Khairul Azhar Kasmiran
deeaa15c90
Remove brackets from non-optional args in rz-bin -h (#5430) 2025-10-04 21:52:28 +08:00
Khairul Azhar Kasmiran
c65f79fff5
Remove -X from rz-bin -h (#5429) 2025-10-04 16:58:52 +08:00
Khairul Azhar Kasmiran
ff79a14c04
-h: Refactor out colored help printing code (#5421) 2025-10-01 06:02:15 +08:00
Khairul Azhar Kasmiran
3a4134280f
-h: Refactor out column width code (#5420) 2025-09-30 17:46:45 +08:00
Khairul Azhar Kasmiran
697bfa8b70
Update -h handling code to be consistent with latest (#5419)
* Rename `totalFlagAndArgLength` to `flagAndArgLength`
* Rename `maxOptionAndArgLength` to `maxFlagAndArgLength`
* Rename `optionLength` to `flagLength`
* Rename `totalLength` to `flagAndArgLength`
* Replace `sizeof(options) / sizeof(options[0])` with `RZ_ARRAY_SIZE(options)`
2025-09-28 22:36:07 +08:00
Khairul Azhar Kasmiran
a60c32b46e
Colorify rz-ax -h (#5413)
* Colorify `rz-ax -h`
* Hardcode `rz-find` binary name
2025-09-27 16:24:11 +08:00
Rot127
e7c0714b9a
Remove bin.debase64 option. (#5405) 2025-09-23 00:59:12 +08:00
Khairul Azhar Kasmiran
c538df45aa
Touch up rz-ax -h (#5401) 2025-09-21 19:01:09 +08:00