Machine clears due to self modifying code

Machine clears due to self modifying code

TITLE:  MACHINE_CLEARS.SMC

ISSUE_NAME:   MACHINE_CLEARS.SMC

DESCRIPTION: 

This event fires when self-modifying code is detected. This can be typically used by folks who do binary editing to force it to take certain path (e.g. hackers). This event counts the number of times that a program writes to a code section. Self-modifying code causes a severe penalty in all Intel 64 and IA-32 processors. The modified cache line is written back to the L2 and LLC caches. Also, the instructions would need to be re-loaded hence causing performance penalty.

1 条帖子 / 0 全新
如需更全面地了解编译器优化,请参阅优化注意事项