about summary refs log tree commit diff stats
path: root/example/symbol_exec
diff options
context:
space:
mode:
authorWilliam Bruneau <william.bruneau@epfedu.fr>2017-07-20 13:53:44 +0200
committerWilliam Bruneau <william.bruneau@epfedu.fr>2017-07-20 13:53:44 +0200
commit28abdbf0afb94604498b8ad7da9412110de02960 (patch)
tree13ae4df848ceafebef80ffbb3608b6d5ba1eb57d /example/symbol_exec
parente3a4a92ae8300b51d02d9caa43ca9599fdf851f5 (diff)
downloadmiasm-28abdbf0afb94604498b8ad7da9412110de02960.tar.gz
miasm-28abdbf0afb94604498b8ad7da9412110de02960.zip
Fix typo
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