Commit f8f93972 authored by George Hotz's avatar George Hotz

make trace the default

parent 8212261c
...@@ -47,7 +47,7 @@ def start_instrumenting(): ...@@ -47,7 +47,7 @@ def start_instrumenting():
global started global started
if not started: if not started:
#mu.hook_add(UC_HOOK_CODE, hook_code_simple, user_data=mu) #mu.hook_add(UC_HOOK_CODE, hook_code_simple, user_data=mu)
if os.getenv("TRACE") == "1": if os.getenv("TRACE") != "0":
mu.hook_add(UC_HOOK_BLOCK, hook_code_simple, user_data=mu) mu.hook_add(UC_HOOK_BLOCK, hook_code_simple, user_data=mu)
started = True started = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment