about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2019-10-07 09:01:17 +0200
committerGitHub <noreply@github.com>2019-10-07 09:01:17 +0200
commitec03b34a736d1ca68218fb5e6083e2d1e153d245 (patch)
tree97511b2913338ea59a07ba598c6b14bfe6aacb57
parent88b714154312948979488e142726fd18680b6220 (diff)
parent259914c5d835421e2785d4b6bcff74f1ce5532b3 (diff)
downloadmiasm-ec03b34a736d1ca68218fb5e6083e2d1e153d245.tar.gz
miasm-ec03b34a736d1ca68218fb5e6083e2d1e153d245.zip
Merge pull request #1071 from htfy96/ud2-break-flow
arch: x86: make UD2 break control flow
Diffstat (limited to '')
-rw-r--r--miasm/arch/x86/arch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/arch/x86/arch.py b/miasm/arch/x86/arch.py
index 3053301a..df6fa8b7 100644
--- a/miasm/arch/x86/arch.py
+++ b/miasm/arch/x86/arch.py
@@ -496,7 +496,7 @@ class instruction_x86(instruction):
             return True
         if self.name.startswith('SYS'):
             return True
-        return self.name in ['CALL', 'HLT', 'IRET', 'IRETD', 'IRETQ', 'ICEBP']
+        return self.name in ['CALL', 'HLT', 'IRET', 'IRETD', 'IRETQ', 'ICEBP', 'UD2']
 
     def splitflow(self):
         if self.name in conditional_branch: