Skip to content

Commit

Permalink
postpone the hooks integrity feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ucgJhe committed Nov 9, 2023
1 parent 0454493 commit a5e5227
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions qiling/debugger/qdb/qdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,7 @@ def _run(self, address: int = 0, end: int = 0, count: int = 0) -> None:
self.ql.os.run()

else:

# use os.run instead if QL_STATE is NOT_SET, for keeping integrity of hooks and patches in Qdb
if self.ql._state is QL_STATE.NOT_SET:
self.ql.os.run()

else:
self.ql.emu_start(begin=address, end=end, count=count)
self.ql.emu_start(begin=address, end=end, count=count)

@contextmanager
def _save(self, reg=True, mem=True, hw=False, fd=False, cpu_context=False, os=False, loader=False):
Expand Down

0 comments on commit a5e5227

Please sign in to comment.