beehive-lab / mambo

A low-overhead dynamic binary instrumentation and modification tool for ARM (both AArch32 and AArch64 support) and RISC-V (RV64GC).
Apache License 2.0
320 stars 69 forks source link

RISC-V Inline Hash Lookup #81

Closed jkressel closed 1 year ago

jkressel commented 2 years ago

This commit adds IHL via the function riscv_inline_hash_lookup(). BRANCH_FSPACE has been increased to accommodate IHL. Additionally, free space checks have been added to register jump instructions handled in the scanner.