Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion qiling/debugger/qdb/qdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,14 @@ def _run(self, address: int = 0, end: int = 0, count: int = 0) -> None:
if getattr(self.ql.arch, 'is_thumb', False):
address |= 1

self.ql.emu_start(begin=address, end=end, count=count)
# assume we're running PE if on Windows
if self.ql.os.type == QL_OS.WINDOWS:
self.ql.count = count
self.ql.entry_point = address
self.ql.os.run()

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

def save_reg_dump(func) -> None:
"""
Expand Down
1 change: 1 addition & 0 deletions qiling/extensions/mcu/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@