diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2020-04-15 14:54:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-15 14:54:27 +0200 |
| commit | cdb64fcd6bb2db4b9e70812a66f01b321a74738c (patch) | |
| tree | 33ec7a3bc8f3917587f81abe395e2bfbb41230fc | |
| parent | 5b33db2100c1c3cad3be9fbe12c2e9286d007323 (diff) | |
| parent | 99fe136826465389c87dec99d9a8d1b727e4ed71 (diff) | |
| download | miasm-cdb64fcd6bb2db4b9e70812a66f01b321a74738c.tar.gz miasm-cdb64fcd6bb2db4b9e70812a66f01b321a74738c.zip | |
Merge pull request #1184 from WilliamBruneau/cpu_set_mem
Fix cpu.set_mem() -> vm.set_mem()
| -rw-r--r-- | miasm/os_dep/linux/syscall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/os_dep/linux/syscall.py b/miasm/os_dep/linux/syscall.py index c45f4b22..3b1275aa 100644 --- a/miasm/os_dep/linux/syscall.py +++ b/miasm/os_dep/linux/syscall.py @@ -401,7 +401,7 @@ def sys_x86_64_arch_prctl(jitter, linux_env): jitter.cpu.set_segm_base(jitter.cpu.FS, addr) elif code == 0x3001: # CET status (disabled) - jitter.cpu.set_mem(addr, pck64(0)) + jitter.vm.set_mem(addr, pck64(0)) else: raise RuntimeError("Not implemented") jitter.cpu.RAX = 0 |