diff options
| author | William Bruneau <william.bruneau@epfedu.fr> | 2020-04-10 15:26:42 +0200 |
|---|---|---|
| committer | William Bruneau <william.bruneau@epfedu.fr> | 2020-04-10 15:29:51 +0200 |
| commit | 99fe136826465389c87dec99d9a8d1b727e4ed71 (patch) | |
| tree | 0c29d74ceb1dabe848ebd1bb7e325328331528b4 | |
| parent | 9f052f39ca4c72c1b6146d445f7764c57876013a (diff) | |
| download | miasm-99fe136826465389c87dec99d9a8d1b727e4ed71.tar.gz miasm-99fe136826465389c87dec99d9a8d1b727e4ed71.zip | |
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 |