100 Commits
Author SHA1 Message Date
Khairul Azhar Kasmiran ef7ca0ba03 Upgrade Docker build to Debian 12 ("bookworm") (#6843) 2026-10-09 23:08:33 +08:00
Khairul Azhar Kasmiran 460a9f51e6 Run http test on Windows (#6839)
* Run http test on Windows
* Install `psutil` whenever `requests` is installed
* Use `psutil` 6.1.1 on CentOS 7
* Install `python3-devel` on CentOS 7
* Install `py3-psutil` on Alpine
* Use `Python314-x64` in `clang_cl_64_dyn` build
2026-10-06 19:37:30 +08:00
Khairul Azhar Kasmiran 2b8aa1a5f2 Run http test on woodpecker (#6820) 2026-10-01 18:08:08 +08:00
Khairul Azhar Kasmiran 9b5eb2c639 Fix http test if body lags behind header (#6806)
* Fix code correctness when actual read < Content-Length
* Set recv timeout to 10 seconds
2026-09-29 18:36:17 +08:00
Khairul Azhar Kasmiran 6db1c80315 Fix http test if partial read with complete header (#6785) 2026-09-26 20:45:37 +08:00
Khairul Azhar Kasmiran a14cb2f0ba http test: Continue on timeout and confirm psutil import (#6768)
* kill_http_server.py: Print confirmation
* http_server.py: Continue on TimeoutError
* kill_http_server.py: Continue on psutil.AccessDenied
* Install `psutil` on bsd ci
* kill_http_server.py: Print error message if http.server process not found
* kill_http_server.py: Add psutil.NoSuchProcess to exception list
2026-09-21 12:07:42 +00:00
Khairul Azhar Kasmiran 165fa91c1c Add cleanup to http test (#6745) 2026-09-15 21:35:58 +08:00
Khairul Azhar Kasmiran 4efde3ccce Increase block size in http test (#6735) 2026-09-14 17:53:20 +08:00
Khairul Azhar Kasmiran f90d8e18e4 ci: fix tms320 tests on s390x (#6730) 2026-09-12 23:54:43 +08:00
Khairul Azhar Kasmiran 0e34b1b74f Add Meson cross build definition file for s390x (#6729) 2026-09-12 12:45:28 +08:00
Khairul Azhar Kasmiran bceffc3e9f Fix missing "RUN" in db/rzil/x86 (#6652) 2026-08-01 10:27:02 +08:00
Khairul Azhar Kasmiran 5d699e8feb Allow seek to flag realnames (#6593)
Flags are sorted into the name hashtable with their realnames as well.
Refcounting is used to prevent double-free and similar issues that would
be caused by this.
2026-07-14 16:12:05 +02:00
Khairul Azhar Kasmiran 4897885c5c Uniquify function flag realnames (#6601) 2026-07-05 22:33:25 +08:00
Khairul Azhar Kasmiran 6249c2e5f2 Fix tn- <flag> (#6589) 2026-07-04 11:51:58 +08:00
Khairul Azhar Kasmiran 90a2b56509 Fix tn- <hex_number> (#6585) 2026-07-02 11:11:28 +08:00
Khairul Azhar Kasmiran 43cb43ed18 Add reliable http:// test (#6509)
* Add reliable http:// test
* REUSE.toml: Add `test/www/**` entry
* Use `cwd` instead to work around old http.server in Python 3.6
* Move test to `not-windows-any`
* NetBSD: Add `python3` symbolic link
* Prevent test from running on woodpecker
2026-06-18 07:01:00 +08:00
Khairul Azhar Kasmiran 3aebd94478 Generalize #6501 fix (#6503)
* Generalize #6501 fix
* Fix is_filtered_flag() leak
2026-06-13 21:36:45 +08:00
Khairul Azhar Kasmiran 8abb4ca4d3 Prevent dup flag cmt if scr.color > 0 (#6501) 2026-06-13 14:30:24 +08:00
Khairul Azhar Kasmiran 447990092b Support asm.flags.real wrt xrefs from fcn (#6494) 2026-06-10 19:42:26 +08:00
Khairul Azhar Kasmiran f19a29442b Support asm.flags.real wrt xrefs not from fcn (#6488) 2026-06-10 03:22:43 +08:00
Khairul Azhar Kasmiran 1ce9cc9073 set_jump_realname: Prioritize import flags over section flags (#6479) 2026-06-07 23:26:40 +08:00
Khairul Azhar Kasmiran 7362637334 Bump project version to 25 due to asm.demangle removal (#6461) 2026-06-04 22:39:57 +08:00
Khairul Azhar Kasmiran 0374f28e03 Remove asm.demangle (#6460) 2026-06-04 06:17:33 +08:00
Khairul Azhar Kasmiran 0dfb7b9189 Don't show ; -1 comment if ahi is used (#6451) 2026-06-01 11:38:11 +08:00
Khairul Azhar Kasmiran 8e53f7d9ec Docker: Install zlib (#6444)
* Docker: Install zlib
* Use `ENV key=value` format instead
* Use system zlib for Rizin as well
2026-05-31 21:03:16 +08:00
Khairul Azhar Kasmiran 486dc11548 Rename capstone-6.0.0-alpha8 patch dir to capstone-6.0.0-alpha9 (#6446) 2026-05-31 20:52:43 +08:00
Khairul Azhar Kasmiran b784b167e0 Don't show offset comment if ahi is used (#6435) 2026-05-30 20:50:59 +08:00
Khairul Azhar Kasmiran 4036da4576 Fix "gdbserver dp" test (#6424) 2026-05-30 07:14:18 +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
Khairul Azhar Kasmiran 60f39e2df5 librz/bin/pe: discard incomplete section headers (#6397)
* PE: discard incomplete section headers
* Invert logic
2026-05-24 01:11:43 +08:00
Khairul Azhar Kasmiran c969056558 Fix bb refcount when bb is overlength (#6358) 2026-05-16 13:02:26 +08:00
Khairul Azhar Kasmiran 17fd3815c6 Use -1 with tiny test (#6352) 2026-05-15 18:00:11 +08:00
Khairul Azhar Kasmiran 263a4b1b49 Fix afb-* (#6347)
* Base test output
* Fix `afb-*`
2026-05-14 00:52:20 +08:00
Khairul Azhar Kasmiran 27f0be61fe pdq: Downgrade "Failed to read chunk" msg from error to warning (#6332) 2026-05-11 15:31:17 +08:00
Khairul Azhar Kasmiran bc2ee4c1f8 test: make consistent sysz regs test output (#6326) 2026-05-08 22:33:00 +08:00
Khairul Azhar Kasmiran cbe820a2e0 log.level help: Don't show 0:DEBUG on Release builds (#6319)
* log.level help: Don't show `0:DEBUG` on Release builds
* Use `choco install python310` instead
2026-05-07 22:33:46 +08:00
Khairul Azhar Kasmiran b5be64f6df Remove rz_range (#6303) 2026-05-03 20:10:35 +08:00
Khairul Azhar Kasmiran af6dade945 elf: Simplify phdr checking code (#6302) 2026-05-02 18:53:53 +08:00
Khairul Azhar Kasmiran c1e26fee02 librz/bin: add more ELF header warning detail (#6301) 2026-05-02 16:43:28 +08:00
Khairul Azhar Kasmiran c3e24708a0 rz-bindgen: Test with rz-test (#6299) 2026-05-01 12:44:05 +08:00
Khairul Azhar Kasmiran 241a9f1321 tools/rz: Revert weird-looking test (#6288)
* tools/rz: Revert weird-looking test
* Do `dos2unix` on whole file
2026-04-26 16:25:56 +08:00
Khairul Azhar Kasmiranandcheese-cakee 212b9dadae bin/mbn: remove invalid bindgen type comment on image_id (#6279)
Co-authored-by: cheese-cakee <[email protected]>
2026-04-23 21:07:34 +08:00
Khairul Azhar Kasmiran 3204f0c405 Use stdint types for ut64 and friends (#6276)
* Use `stdint` types for `ut64` and friends
* Use `inttypes.h` format specifiers
2026-04-22 21:43:04 +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
Khairul Azhar Kasmiran ebf20e5da1 leaks.yml: Run only on pull requests (#6244) 2026-04-16 23:21:46 +08:00
Khairul Azhar Kasmiran 8492f42097 rz_graph.h: Add extern "C" (#6227) 2026-04-13 21:39:27 +08:00
Khairul Azhar Kasmiran fbbf6866fa RzAnalysis: Add rz_analysis_get_plugins() (#6223) 2026-04-13 17:54:35 +08:00
Khairul Azhar Kasmiran 05b0755212 Simplify relative #include to windows_heap_types.h (#6211)
* Simplify relative `#include` to `windows_heap_types.h`
* windows_heap_live_debug.c: `#include <rz_windows_heap.h>`
2026-04-11 23:25:15 +08:00
Khairul Azhar Kasmiran 1fe7507c0f Increase codecov timeout to 75 mins (#6207) 2026-04-11 14:28:19 +08:00
Khairul Azhar Kasmiran 74bd5a44a4 elf: Don't abort header parsing on 0 sections (#6202) 2026-04-11 12:31:36 +08:00
Khairul Azhar Kasmiran 4848dd9850 Rename cmd_plF test to cmd_pl_capital_f (#6150) 2026-04-04 10:14:22 +00: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
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
Khairul Azhar Kasmiran e0ec191f97 meson: Fix include_directories sandbox violation (#6119) 2026-03-29 17:44:45 +08:00
Khairul Azhar Kasmiran 37d35d3d69 appveyor.yml: Install special py packages only on vs2017 (#6114) 2026-03-28 14:58:31 +08:00
Khairul Azhar Kasmiran e1542ed0e5 appveyor.yml: Remove BUILD_DIR (#6110) 2026-03-27 21:03:20 +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
Khairul Azhar Kasmiran 2c306c53ce vs2017: Patch retry mechanism into meson git calls (#6078) 2026-03-24 13:45:14 +08:00
Khairul Azhar Kasmiran 033cf58272 Bump min meson version to 0.58.0 (#6065) 2026-03-22 14:19:44 +08:00
Khairul Azhar Kasmiran 492be32193 meson: Fix duplicate checks for -Wno-unused-result (#6053) 2026-03-19 20:46:00 +08:00
Khairul Azhar Kasmiran 690daa2f54 ht_inc: Rename slots to slots_ (#6021) 2026-03-10 22:33:12 +08:00
Khairul Azhar Kasmiran f319ce1dff Implement afv- * (#5969) 2026-02-26 20:46:36 +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
Khairul Azhar Kasmiran def5fbbce2 Update linux-x64 dbg tests to the Ubuntu 24.04 (20260209) image (#5924) 2026-02-15 17:47:02 +08:00
Khairul Azhar Kasmiran 93ace74a55 Remove ASAN debug test fail->broken conversion (#5923) 2026-02-15 15:42:15 +08:00
Khairul Azhar Kasmiran 272c8d1015 glibc_versions.h: Work around MSVC error C4576 (#5919) 2026-02-14 23:37:33 +08:00
Khairul Azhar Kasmiran 236f933f31 Cast some RzHeapChunkLayout initializer values for shiboken6 (#5918) 2026-02-14 18:59:23 +08:00
Khairul Azhar Kasmiran 5a30814c6a Fix duplicate "Dependency rzheap found" messages (#5908) 2026-02-12 21:52:11 +08:00
Khairul Azhar Kasmiran 048c14653e Fix test_vector_contains() test for s390x (#5904) 2026-02-11 23:55:07 +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
Khairul Azhar Kasmiran f8aec15519 Rename rz_list_get() to rz_list_val() (#5896) 2026-02-09 22:47:57 +08:00
Khairul Azhar Kasmiran e640a5a1ee rz_list.h: Use static inline funcs instead of macros (#5884) 2026-02-07 22:11:55 +08:00
Khairul Azhar Kasmiran 0e6b255519 Remove deprecated rz_list_get_next() (#5879) 2026-02-06 21:57:33 +08:00
Khairul Azhar Kasmiran 171172efcc Bump timeout of emulateme.arm32 RzIL test to 60s (#5868) 2026-02-03 22:56:47 +08:00
Khairul Azhar Kasmiran f4f27fb59e rz-test: Actually revert to cwd if db/ dir not found (#5852) 2026-01-31 07:26:34 +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
Khairul Azhar Kasmiran 07c3db05e2 Simplify rz_list_iter_get() to rz_list_get() (#5812) 2026-01-20 18:24:23 +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
Khairul Azhar Kasmiran 77b9282791 rz_assert: Show follow-up action in rz_return macros (#5804) 2026-01-16 21:11:59 +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
Khairul Azhar Kasmiran e737733460 rz_assert: Order macros consistently (#5786) 2026-01-14 22:24:47 +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
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
Khairul Azhar Kasmiran e07ddae375 rz_goto_if_fail: Add "jumping to ..." msg (#5766) 2026-01-10 14:51:49 +08:00
Khairul Azhar Kasmiran e4ed1d3436 Fix "exeeds" typo (#5760) 2026-01-09 21:26:26 +08:00
Khairul Azhar Kasmiran f935f96323 Update DEVELOPERS.md with REUSE.toml file (#5733) 2026-01-05 21:32:34 +08:00
Khairul Azhar Kasmiran 2729fc1f1e Use rz_goto_if_fail() for some code (#5721)
* Use rz_goto_if_fail() for some code
* Fix rz_goto_if_fail() for checks_level=3
2026-01-03 12:43:41 +08:00
Khairul Azhar Kasmiran 37d2e2ff41 Readd deprecated rz_list_get_next() for rz-bindgen (#5718) 2026-01-01 23:54:53 +08:00
Khairul Azhar Kasmiran ca47373fb7 Shorten rz_list_safe_prev/next to rz_list_prev/next (#5710) 2025-12-30 22:03:11 +08:00
Khairul Azhar Kasmiran 11ae0c9b23 Have only 1 def of rz_line_hist_sdb_up/down() (#5703) 2025-12-29 23:33:04 +08:00
Khairul Azhar Kasmiran 24f9e33db9 meson: Install man/rz-test.1 (#5697) 2025-12-28 23:24:00 +08:00
Khairul Azhar Kasmiran 2eac3fce25 Use macro versions of rz_list_iter_get_prev/next() instead (#5696)
* Add rz_list_safe_prev/next macros
* Remove rz_list_iter_get_prev/next() functions
* Use rz_list_safe_prev() macro instead of rz_list_iter_get_prev() function
* Use rz_list_safe_next() macro instead of rz_list_iter_get_next() function
2025-12-28 21:05:49 +08:00
Khairul Azhar Kasmiran bd29b70793 Touch up rz_list_find() doc (#5693) 2025-12-27 22:38:52 +08:00
Khairul Azhar Kasmiran edfe7d3380 rz_list_contains: Return bool instead of iter (#5692) 2025-12-27 18:59:36 +08:00
Khairul Azhar Kasmiran 80f357dc4c rz_list_(delete/find)_val: Rename ptr to val in C header decl (#5691) 2025-12-27 16:50:17 +08:00
Khairul Azhar Kasmiran 35a9dfbefc NetBSD: Upgrade to Python 3.10 (#5686) 2025-12-27 00:02:58 +08:00
Khairul Azhar Kasmiran c93841de48 Remove rz_list_split() and rz_list_split_iter() (#5678)
* Remove rz_list_split() and rz_list_split_iter()
* Add RZ_OWN tag to rz_list_delete()
2025-12-26 22:32:24 +08:00