mirror of
https://github.com/rizinorg/rizin.git
synced 2026-10-11 22:19:51 +00:00
perf(golang): optimize string recovery and basic block scanning
- Refactor rz_core_analysis_resolve_golang_strings to maintain persistent dynamically resized basic block and string buffers, eliminating per-block malloc/free churn - Unify multi-instruction signature matching across all 8 architectures with fast bitmask pre-filtering before decode callbacks - Implement table-driven GoSignatureTable dispatch and const-qualify GoAsmPattern and GoSignature definitions - Reuse basic block instruction offsets (block->ninstr) to avoid redundant instruction disassembly during string recovery - Guard rz_io_nread_at against errors and short reads, and reject invalid candidate addresses in decode callbacks
This commit is contained in:
+354
-322
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user