diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-12-30 15:31:56 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-12-30 16:46:55 +0100 |
| commit | 2df9301ba6af51f16724358517e4942e2152a87e (patch) | |
| tree | 160a4efe69cea2184d241f5960d0522cedeaba8c /miasm2/arch/x86/arch.py | |
| parent | 1ef1c5024ab361d2a38237b9d3752ea7d66a1165 (diff) | |
| download | miasm-2df9301ba6af51f16724358517e4942e2152a87e.tar.gz miasm-2df9301ba6af51f16724358517e4942e2152a87e.zip | |
X86: add mfence/sfence/prefetch
Diffstat (limited to '')
| -rw-r--r-- | miasm2/arch/x86/arch.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/miasm2/arch/x86/arch.py b/miasm2/arch/x86/arch.py index 6725f5bc..55dc653b 100644 --- a/miasm2/arch/x86/arch.py +++ b/miasm2/arch/x86/arch.py @@ -3645,6 +3645,8 @@ addop("lgdt", [bs8(0x0f), bs8(0x01)] + rmmod(d2, modrm=mod_mem)) addop("lidt", [bs8(0x0f), bs8(0x01)] + rmmod(d3, modrm=mod_mem)) addop("lfence", [bs8(0x0f), bs8(0xae), bs8(0xe8)]) +addop("mfence", [bs8(0x0f), bs8(0xae), bs8(0xf0)]) +addop("sfence", [bs8(0x0f), bs8(0xae), bs8(0xf8)]) addop("leave", [bs8(0xc9), stk]) |