about summary refs log tree commit diff stats
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rwxr-xr-xexample/jitter/mips32.py2
-rw-r--r--example/jitter/sandbox_elf_aarch64l.py2
-rw-r--r--example/jitter/sandbox_pe_x86_32.py2
-rw-r--r--example/jitter/sandbox_pe_x86_64.py2
-rw-r--r--example/jitter/test_x86_32_seh.py2
-rw-r--r--example/jitter/trace.py2
-rw-r--r--example/jitter/unpack_upx.py2
-rw-r--r--example/jitter/x86_32.py2
-rw-r--r--example/jitter/x86_64.py2
-rw-r--r--example/symbol_exec/dse_strategies.py5
10 files changed, 11 insertions, 12 deletions
diff --git a/example/jitter/mips32.py b/example/jitter/mips32.py
index b84dc4e5..0e0c334e 100755
--- a/example/jitter/mips32.py
+++ b/example/jitter/mips32.py
@@ -31,7 +31,7 @@ parser.add_argument("addr",
 machine = Machine("mips32l")
 
 def code_sentinelle(jitter):
-    jitter.run = False
+    jitter.running = False
     jitter.pc = 0
     return True
 
diff --git a/example/jitter/sandbox_elf_aarch64l.py b/example/jitter/sandbox_elf_aarch64l.py
index 7ad91118..e3daf53e 100644
--- a/example/jitter/sandbox_elf_aarch64l.py
+++ b/example/jitter/sandbox_elf_aarch64l.py
@@ -20,4 +20,4 @@ log_func.setLevel(logging.ERROR)
 # Run
 sb.run()
 
-assert(sb.jitter.run is False)
+assert(sb.jitter.running is False)
diff --git a/example/jitter/sandbox_pe_x86_32.py b/example/jitter/sandbox_pe_x86_32.py
index de7af95d..934dd505 100644
--- a/example/jitter/sandbox_pe_x86_32.py
+++ b/example/jitter/sandbox_pe_x86_32.py
@@ -15,4 +15,4 @@ sb = Sandbox_Win_x86_32(loc_db, options.filename, options, globals())
 # Run
 sb.run()
 
-assert(sb.jitter.run is False)
+assert(sb.jitter.running is False)
diff --git a/example/jitter/sandbox_pe_x86_64.py b/example/jitter/sandbox_pe_x86_64.py
index a168c325..98426078 100644
--- a/example/jitter/sandbox_pe_x86_64.py
+++ b/example/jitter/sandbox_pe_x86_64.py
@@ -16,4 +16,4 @@ sb = Sandbox_Win_x86_64(loc_db, options.filename, options, globals())
 # Run
 sb.run()
 
-assert(sb.jitter.run is False)
+assert(sb.jitter.running is False)
diff --git a/example/jitter/test_x86_32_seh.py b/example/jitter/test_x86_32_seh.py
index e2c354a0..65a211e0 100644
--- a/example/jitter/test_x86_32_seh.py
+++ b/example/jitter/test_x86_32_seh.py
@@ -59,4 +59,4 @@ sb.jitter.add_breakpoint(win_api_x86_32_seh.return_from_exception, return_from_s
 # Run
 sb.run()
 
-assert(sb.jitter.run is False)
+assert(sb.jitter.running is False)
diff --git a/example/jitter/trace.py b/example/jitter/trace.py
index 968626f4..92134f33 100644
--- a/example/jitter/trace.py
+++ b/example/jitter/trace.py
@@ -58,5 +58,5 @@ start_time = time.time()
 sb.run()
 stop_time = time.time()
 
-assert sb.jitter.run is False
+assert sb.jitter.running is False
 print("Instr speed: %02.f / sec" % (instr_count / (stop_time - start_time)))
diff --git a/example/jitter/unpack_upx.py b/example/jitter/unpack_upx.py
index 59f7389a..502d6844 100644
--- a/example/jitter/unpack_upx.py
+++ b/example/jitter/unpack_upx.py
@@ -84,7 +84,7 @@ def stop(jitter):
     logging.info('OEP reached')
 
     # Stop execution
-    jitter.run = False
+    jitter.running = False
     return False
 
 # Set callbacks
diff --git a/example/jitter/x86_32.py b/example/jitter/x86_32.py
index 427cd021..da9e375b 100644
--- a/example/jitter/x86_32.py
+++ b/example/jitter/x86_32.py
@@ -13,7 +13,7 @@ parser.add_argument("-j", "--jitter",
 args = parser.parse_args()
 
 def code_sentinelle(jitter):
-    jitter.run = False
+    jitter.running = False
     jitter.pc = 0
     return True
 
diff --git a/example/jitter/x86_64.py b/example/jitter/x86_64.py
index 943f5624..e4147062 100644
--- a/example/jitter/x86_64.py
+++ b/example/jitter/x86_64.py
@@ -34,7 +34,7 @@ SYSCALL = {
 
 
 def code_sentinelle(jitter):
-    jitter.run = False
+    jitter.running = False
     jitter.pc = 0
     return True
 
diff --git a/example/symbol_exec/dse_strategies.py b/example/symbol_exec/dse_strategies.py
index 933a51db..76b5be8c 100644
--- a/example/symbol_exec/dse_strategies.py
+++ b/example/symbol_exec/dse_strategies.py
@@ -64,7 +64,7 @@ jitter.push_uint32_t(0)
 
 # Handle return
 def code_sentinelle(jitter):
-    jitter.run = False
+    jitter.running = False
     return False
 
 ret_addr = 0x1337beef
@@ -108,7 +108,7 @@ while todo:
     # Restore state, while keeping already found solutions
     dse.restore_snapshot(snapshot, keep_known_solutions=True)
 
-    # Reinit jitter (reset jitter.run, etc.)
+    # Reinit jitter (reset jitter.running, etc.)
     jitter.init_run(run_addr)
 
     # Set the argument value in the jitter context
@@ -140,4 +140,3 @@ print(
         len(reaches)
     )
 )
-