Skip to content

Commit 8e9b21e

Browse files
committed
Reverting arg name change
1 parent aab3cb2 commit 8e9b21e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qiling/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -537,21 +537,21 @@ def write_exit_trap(self):
537537
# Qiling APIS #
538538
###############
539539

540-
def run(self, begin: Optional[int] = None, end: Optional[int] = None, timeout: int = 0, icount: int = 0):
540+
def run(self, begin: Optional[int] = None, end: Optional[int] = None, timeout: int = 0, count: int = 0):
541541
"""Start binary emulation.
542542
543543
Args:
544544
begin : emulation starting address
545545
end : emulation ending address
546546
timeout : limit emulation to a specific amount of time (microseconds); unlimited by default
547-
icount : limit emulation to a specific amount of instructions; unlimited by default
547+
count : limit emulation to a specific amount of instructions; unlimited by default
548548
"""
549549

550550
# replace the original entry point, exit point, timeout and count
551551
self.entry_point = begin
552552
self.exit_point = end
553553
self.timeout = timeout
554-
self.count = icount
554+
self.count = count
555555

556556
# init debugger (if set)
557557
debugger = select_debugger(self._debugger)

0 commit comments

Comments
 (0)