Skip to content

Commit

Permalink
uh oh
Browse files Browse the repository at this point in the history
  • Loading branch information
rhelmot committed May 17, 2023
1 parent 3fe11b6 commit 68e4ce0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rex/crash_tracer/halfway_tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ def create_project(self, target, **kwargs):
return project

def create_state(self, target, **kwargs):
self.project.loader.main_object = self.project.loader.elfcore_object
self.project.loader._main_object = self.project.loader.elfcore_object
initial_state = self.project.factory.blank_state(
mode='tracing',
add_options=add_options,
remove_options=remove_options)
self.project.loader.main_object = self.project.loader.elfcore_object._main_object
self.project.loader._main_object = self.project.loader.elfcore_object._main_object
self.trace_bb_addr = initial_state.solver.eval(initial_state.regs.pc)
initial_state.fs.mount('/', SimArchrMount(target))
return initial_state
Expand Down

0 comments on commit 68e4ce0

Please sign in to comment.