about summary refs log tree commit diff stats
path: root/example/test_jit_mips32.py
diff options
context:
space:
mode:
Diffstat (limited to 'example/test_jit_mips32.py')
-rw-r--r--example/test_jit_mips32.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/test_jit_mips32.py b/example/test_jit_mips32.py
index 5dd9175d..42188ab8 100644
--- a/example/test_jit_mips32.py
+++ b/example/test_jit_mips32.py
@@ -48,12 +48,12 @@ def jit_mips32_binary(args):
     myjit.jit.log_mn = args.log_mn
     myjit.jit.log_newbloc = args.log_newbloc
 
-    myjit.vm.vm_add_memory_page(0, PAGE_READ | PAGE_WRITE, open(filepath).read())
+    myjit.vm.add_memory_page(0, PAGE_READ | PAGE_WRITE, open(filepath).read())
     myjit.add_breakpoint(0x1337BEEF, code_sentinelle)
 
 
     # for stack
-    myjit.vm.vm_add_memory_page(0xF000, PAGE_READ | PAGE_WRITE, "\x00"*0x1000)
+    myjit.vm.add_memory_page(0xF000, PAGE_READ | PAGE_WRITE, "\x00"*0x1000)
 
     myjit.cpu.SP = 0xF800