about summary refs log tree commit diff stats
path: root/example/jitter/sandbox_call.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2018-07-02 17:31:59 +0200
committerAjax <commial@gmail.com>2018-07-03 14:28:18 +0200
commit68fac2e86cc61eba9adfe520fa0e04a7e8943450 (patch)
tree2be74a21b54a3111f3c18746badfb0cf1ed41149 /example/jitter/sandbox_call.py
parent6ef8dbb2223d0847e3822b545b249511e96a1f9b (diff)
downloadmiasm-68fac2e86cc61eba9adfe520fa0e04a7e8943450.tar.gz
miasm-68fac2e86cc61eba9adfe520fa0e04a7e8943450.zip
symbol_pool -> loc_db
Diffstat (limited to 'example/jitter/sandbox_call.py')
-rw-r--r--example/jitter/sandbox_call.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/jitter/sandbox_call.py b/example/jitter/sandbox_call.py
index 7a9fd946..5fc50a9c 100644
--- a/example/jitter/sandbox_call.py
+++ b/example/jitter/sandbox_call.py
@@ -15,8 +15,8 @@ sb = Sandbox_Linux_arml(options.filename, options, globals())
 
 with open(options.filename, "rb") as fdesc:
     cont = Container.from_stream(fdesc)
-    loc_key = cont.symbol_pool.getby_name("md5_starts")
-    addr_to_call = cont.symbol_pool.loc_key_to_offset(loc_key)
+    loc_key = cont.loc_db.getby_name("md5_starts")
+    addr_to_call = cont.loc_db.loc_key_to_offset(loc_key)
 
 # Calling md5_starts(malloc(0x64))
 addr = linobjs.heap.alloc(sb.jitter, 0x64)