lifting-bits / grr

High-throughput fuzzer and emulator of DECREE binaries
Apache License 2.0
241 stars 32 forks source link

Basic block deduplication in the code cache #2

Open pgoodman opened 8 years ago

pgoodman commented 8 years ago

When the page hash is invalidated (e.g. because of a JIT), then all further executed code after a re-hash is triggered will be translated without consideration for whether or not code pages unrelated to the modified pages are different. Deduplication should only happen on the block level and not the trace level, and it should not be applied to blocks ending in conditional branches.