Commit graph

30119 commits

Author SHA1 Message Date
Naren Sirigere
f6c4f76380
Updated to pcre2 10.47 (#5830) 2026-01-27 14:44:51 +00:00
bubblepipe
dca635cde9
Arch-agnostic jemalloc heap parser (#5828) 2026-01-27 15:31:48 +08:00
NOT XVilka
3ed43c4c77
Update Capstone v6 from Alpha5 to Alpha6 (#5842)
Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2026-01-27 12:08:05 +08:00
Anton Angelov
0ff186d8e2
Improve performance of mem.c::read_n_bits() (#5819)
* Add micro benchmark
* Add implementation for rz_bv_set_from_buffer_*()
* Implementation for BE host
* Fix incorrect size parameter when calling rz_bv_set_from_buffer
* Warning when reading beyond ST64_MAX
2026-01-26 12:19:21 +08:00
Rot127
65ef6e3ed9
Fix return type description. (#5838) 2026-01-25 13:11:11 +00: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
Rot127
4675f5cafe
Add getter for the current log level. (#5807)
The getter is useful if a module outputs debug logs buts also some updated status update in a single line with rz_cons_printf("\r...").
The status update should not happen if the log level is below warning.
2026-01-23 18:52:45 +00:00
Ayush
7d34c4d914
librz/bin: add structured data output for OMF format (iH) (#5781) 2026-01-24 00:33:59 +08:00
Rot127
521353b6fe
Forbid usage of AI tools for good-first-issues. (#5829)
Co-authored-by: Reid Kleckner <rnk@google.com>
2026-01-23 13:06:24 +08:00
Khairul Azhar Kasmiran
d9f41e8074
Shorten rz_list_iter_has_prev/next() to rz_list_has_prev/next() (#5822)
* Shorten rz_list_iter_has_prev() to rz_list_has_prev()

* Shorten rz_list_iter_has_next() to rz_list_has_next()
2026-01-21 13:53:43 +00:00
Premade
86435b1e80
Add signatures and imports in RzCoreAnalysisStatsItem (#5821) 2026-01-20 19:08:46 +08:00
Khairul Azhar Kasmiran
07c3db05e2
Simplify rz_list_iter_get() to rz_list_get() (#5812) 2026-01-20 18:24:23 +08:00
bubblepipe
f28915f246
heap: refactor jemalloc 4.5.0 heap parser (#5800) 2026-01-19 23:45:20 +08:00
bubblepipe
2ee0d4a42b
heap: add support for jemalloc v5.3.0 heap parsing (#5744) 2026-01-18 16:44:57 +08:00
Farhanhusein Saiyed
50d4ec3901
shell: improve help of table commands output. (#5811) 2026-01-18 03:36:10 +08:00
Giovanni
d7b2f85c89
Remove RzIO brainfuck/rzweb/rzpipe & RzDebug brainfuck (#5810) 2026-01-17 22:55:47 +08:00
Khairul Azhar Kasmiran
2fe648f541
Remove rz_list_iter_next() (#5809) 2026-01-17 17:14:24 +08:00
Khairul Azhar Kasmiran
8494ae3c47
Remove rz_list_iter_cur() (#5808)
* Remove rz_list_iter_cur()
* Remove `rz_list_delete(bp->traces, .)` comment
2026-01-17 14:29:50 +08:00
Arya H R
96f0c97bcc
Refactored output modes to use type RzOutputMode (#5750) 2026-01-17 14:29:20 +08:00
Rot127
3c44884a9b
Fix semantical IL bug of unconditional jumps executing NOP in delayed slot. (#5764) 2026-01-16 22:47:51 +08:00
Khairul Azhar Kasmiran
77b9282791
rz_assert: Show follow-up action in rz_return macros (#5804) 2026-01-16 21:11:59 +08:00
well-mannered-goat
5d688d799a
bin/elf: improve x86 family relocations handling (#5752)
* Patch more x86 relocations
* Add tests for x86 relocations
* Add handling and patching for more x86_64 relocations
2026-01-16 11:50:47 +08:00
Khairul Azhar Kasmiran
ebc49001c3
rz_assert: Restore control flow to rz_return assert-based macros (#5801) 2026-01-16 00:25:19 +08:00
Rot127
341e59a629
Fix error case of Hexagon asm/analysis plugin. (#5797)
Before it always returned a positive number,
even if the instruction didn't decode properly due to an error.
2026-01-15 23:38:11 +08:00
Ayush
0378d8f893
Fix memory leak in RzMagicLine: free test_string and name fields (#5782) 2026-01-15 13:37:04 +00:00
Zapper9982
6918e510bd
Add GNS1 binary format loader for C4000 baseband firmware (#5628) 2026-01-15 08:48:45 +00:00
Florian Märkl
c594b413ff
Swap argument order of rz_bv_copy* (#5793)
This brings these copy functions in line with the more common order of
dst, src as used in memcpy and rz_bv_*_inplace functions.
This is a breaking change and callers of rz_bv_copy() and
rz_bv_copy_nbits() must adjust to the new order.
2026-01-14 23:18:34 +08:00
Giovanni
5e4078f5f5
Fix LE calling rz_bin_reloc_free when list values are LE_reloc (#5795)
* Fix LE calling rz_bin_reloc_free when list values are LE_reloc
* Fix type in descriptions
2026-01-14 23:18:19 +08:00
Premade
39f3e9f312
shell: fix typo in drA command description (#5792) 2026-01-14 23:17:51 +08:00
Khairul Azhar Kasmiran
e737733460
rz_assert: Order macros consistently (#5786) 2026-01-14 22:24:47 +08:00
Naren Sirigere
ad5c36fa59
Added support for extended 6502 opcodes (#5748) 2026-01-14 11:18:43 +08:00
Rot127
f665dde999
Fix leak of data in get_call() (#5789) 2026-01-13 14:03:45 +00:00
Florian Märkl
328356f933
Fix color reset after afvl (variable display) (#5788)
ctx->func_var_addr may contain a color, which has to be reset after the
line has been printed.
2026-01-12 19:45:57 +01:00
Anton Angelov
602781b2dc
Implement rz_sys_backtrace() for Windows/MSVC (#5784)
* Implement rz_sys_backtrace for Windows/MSVC
* Add dbghelp.lib to dependency list
2026-01-13 00:55:20 +08:00
Rot127
c0817b895c
Always fallback to subproject if use_sys_pcre2 is unset. (#5787)
This should prevent dependency confusions if an OS
(FreeBSD in this case) has multiple different PCRE2 libraries.
2026-01-13 00:54:54 +08:00
Khairul Azhar Kasmiran
4092c26edd
rz_goto_if_fail: Make it a no-op under RZ_CHECKS_LEVEL 0 (#5783) 2026-01-12 18:25:26 +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
NOT XVilka
b1666054da
ci: fix AppVeyor VS2017 certificate error (#5763)
* ci: fix AppVeyor VS2017 certificate error
* ci: install Python 3.10 for AppVeyor VS2017 jobs

---------

Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2026-01-11 21:36:02 +08:00
Giovanni
383636a5b2
Remove call of rz_io_nread_at from rz_arch (#5778) 2026-01-11 21:16:18 +08:00
Anton Angelov
c066d81d38
Revert changes for rz_read_be128 and rz_write_be128 (#5779) 2026-01-11 18:06:02 +08:00
Khairul Azhar Kasmiran
7c01de49d3
Set analysis.nopskip to false for fuzz tests (#5776) 2026-01-11 16:10:55 +08:00
Khairul Azhar Kasmiran
24983985f3
rz_assert: Add rz_break_if_reached/fail() (#5769) 2026-01-11 10:07:37 +08:00
Anton Angelov
d6524f7114
Use memcpy for endian read/write function for native endianness (#5757) 2026-01-11 00:21:43 +00:00
Anton Angelov
b2fb8bbec5
Improve performance of rz_bv_add_inplace() (#5751)
* Add rz_bv_add_inplace benchmark for 256-bit vectors

* Improve performance of rz_bv_add

* Simplify helper function and fix bug

* Minor changes
2026-01-11 00:14:19 +00:00
Giovanni
99b87b2023
Remove unused le_fixups (#5774)
* Remove unused le_fixups

* Fix missing free to list
2026-01-11 00:10:25 +00:00
Giovanni
41ea75d5b0
Fix wrong max count of chained segments. (#5770)
max_count should be nsegs but it must be limited to to what is allocated
2026-01-10 21:35:23 +08:00
Siddhartha Rajbongshi
7c1b965937
doc: fix various typos and documentation issues (#5771)
BUILDING.md: fix formatting and path typo
gdb.md: fix multiple grammatical errors and typos
siol.md: fix spelling errors
rzshell.md: fix grammar
debug-internals.md: remove internal notes and references to missing files
2026-01-10 21:33:54 +08:00
Giovanni
6dd0dba9ff
Cleanup egg code from unused code. (#5767) 2026-01-10 17:02:38 +08:00