From 80e40a3d2ca735db955807ad0605b43ca22e4e35 Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Sat, 22 Aug 2020 12:47:01 +0200 Subject: Avoid generate default locationdb --- test/jitter/vm_mngr.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/jitter/vm_mngr.py') diff --git a/test/jitter/vm_mngr.py b/test/jitter/vm_mngr.py index 0fec1734..404d20fe 100644 --- a/test/jitter/vm_mngr.py +++ b/test/jitter/vm_mngr.py @@ -1,8 +1,10 @@ import sys from miasm.jitter.csts import PAGE_READ, PAGE_WRITE from miasm.analysis.machine import Machine +from miasm.core.locationdb import LocationDB -myjit = Machine("x86_32").jitter(sys.argv[1]) +loc_db = LocationDB() +myjit = Machine("x86_32").jitter(loc_db, sys.argv[1]) base_addr = 0x13371337 page_size = 0x1000 -- cgit 1.4.1