about summary refs log tree commit diff stats
path: root/example/symbol_exec
diff options
context:
space:
mode:
Diffstat (limited to 'example/symbol_exec')
-rw-r--r--example/symbol_exec/dse_crackme.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/example/symbol_exec/dse_crackme.py b/example/symbol_exec/dse_crackme.py
index e08536f9..a2ea1a29 100644
--- a/example/symbol_exec/dse_crackme.py
+++ b/example/symbol_exec/dse_crackme.py
@@ -198,15 +198,15 @@ def xxx___libc_start_main_symb(dse):
     })
 
 # Stop the execution on puts and get back the corresponding string
-class FinnishOn(Exception):
+class FinishOn(Exception):
 
     def __init__(self, string):
         self.string = string
-        super(FinnishOn, self).__init__()
+        super(FinishOn, self).__init__()
 
 def xxx_puts_symb(dse):
     string = dse.jitter.get_str_ansi(dse.jitter.cpu.RDI)
-    raise FinnishOn(string)
+    raise FinishOn(string)
 
 
 done = set([]) # Set of jump address already handled
@@ -288,9 +288,9 @@ while todo:
     # Play the current file
     try:
         sb.run()
-    except FinnishOn as finnish_info:
-        print finnish_info.string
-        if finnish_info.string == "OK":
+    except FinishOn as finish_info:
+        print finish_info.string
+        if finish_info.string == "OK":
             # Stop if the expected result is found
             found = True
             break