diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2019-02-05 23:37:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-05 23:37:54 +0100 |
| commit | 5cfdeb7ab8d889232044bb93f2505cfb23c4f92f (patch) | |
| tree | 29903f4208266f342c4f0aac55dc4c6788acb9ba /miasm2/arch/x86/sem.py | |
| parent | ca6cdc24302fd065b0bdde41573ffe077c5ddcaf (diff) | |
| parent | 4b9858ef4fef46f730a55ec2fdca1211078153c8 (diff) | |
| download | miasm-5cfdeb7ab8d889232044bb93f2505cfb23c4f92f.tar.gz miasm-5cfdeb7ab8d889232044bb93f2505cfb23c4f92f.zip | |
Merge pull request #960 from WilliamBruneau/add_endbr
Add ENDBR64 and ENDBR32 instructions
Diffstat (limited to 'miasm2/arch/x86/sem.py')
| -rw-r--r-- | miasm2/arch/x86/sem.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py index 862240e5..aa3da43d 100644 --- a/miasm2/arch/x86/sem.py +++ b/miasm2/arch/x86/sem.py @@ -4938,6 +4938,14 @@ def emms(ir, instr): # Implemented as a NOP return [], [] +def endbr64(ir, instr): + # Implemented as a NOP + return [], [] + +def endbr32(ir, instr): + # Implemented as a NOP + return [], [] + # Common value without too many option, 0x1fa0 STMXCSR_VALUE = 0x1fa0 def stmxcsr(ir, instr, dst): @@ -5584,6 +5592,8 @@ mnemo_func = {'mov': mov, "movmskpd": movmskpd, "stmxcsr": stmxcsr, "ldmxcsr": ldmxcsr, + "endbr64": endbr64, + "endbr32": endbr32, } |