mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-20 12:13:57 +00:00
01b1d422d9c1b87e047633e011b0d4c2b30f9b93
Unicorn hooks are expensive. It seems to iterate all hooks every time an instruction is executed. Therefore more hooks -> slower execution. Instead, we'll have one hook. Within that hook we'll check if the address is within a mapped binary. If so, we then check if it is and export and log when true. That's far more efficient than checking all hooks every time.
emulator
Description
Languages
C++
85.2%
TypeScript
9.9%
Rust
2.6%
CMake
1.4%
CSS
0.3%
Other
0.5%