diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2017-06-27 13:58:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-27 13:58:48 +0200 |
| commit | 4202a41f13ad0968025c64d1a0481913f675880f (patch) | |
| tree | 17d4f1e9112257ca1a3ee38e9471bf100f8061fc /test/arch/x86/unit/asm_test.py | |
| parent | 4c1a445b1062cd154ed3fc11ed9887f94c008479 (diff) | |
| parent | 04fc16be01be380b4b25d795f271c38e8dabc79f (diff) | |
| download | miasm-4202a41f13ad0968025c64d1a0481913f675880f.tar.gz miasm-4202a41f13ad0968025c64d1a0481913f675880f.zip | |
Merge pull request #573 from commial/feature/llvm-128div
Feature/llvm 128div
Diffstat (limited to 'test/arch/x86/unit/asm_test.py')
| -rw-r--r-- | test/arch/x86/unit/asm_test.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/arch/x86/unit/asm_test.py b/test/arch/x86/unit/asm_test.py index aba47df1..8a6b215c 100644 --- a/test/arch/x86/unit/asm_test.py +++ b/test/arch/x86/unit/asm_test.py @@ -90,3 +90,13 @@ class Asm_Test_16(Asm_Test): self.myjit.vm.add_memory_page(self.run_addr, PAGE_READ | PAGE_WRITE, self.assembly) self.myjit.push_uint16_t(self.ret_addr) self.myjit.add_breakpoint(self.ret_addr, lambda x:False) + +class Asm_Test_64(Asm_Test): + arch_name = "x86_64" + arch_attrib = 64 + ret_addr = 0x1337beef + + def init_machine(self): + self.myjit.vm.add_memory_page(self.run_addr, PAGE_READ | PAGE_WRITE, self.assembly) + self.myjit.push_uint64_t(self.ret_addr) + self.myjit.add_breakpoint(self.ret_addr, lambda x:False) |