mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 10:21:20 +00:00
adds self-modifying-code checks to all guest code taken from mappings which are not file backed, but omits checks in code from file backed mappings. This has the effect of giving complete smc-coverage of JIT generated code -- since that is invariably generated into anonymous mapped areas -- without burdening non-JIT generated code with such checks. Running Firefox 6, --smc-check=all-non-file reduces by a factor of between 3 and 10 the number of translations requiring a self check, compared to --smc-check=all. These changes depend on the vex interface changes in r2158. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11798