Skip to content

Commit f83e4f6

Browse files
committed
Declare os run abstract method
1 parent 6ae90e5 commit f83e4f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

qiling/os/os.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,10 @@ def find_containing_image(self, pc):
202202
if image.base <= pc < image.end:
203203
return image
204204

205+
# os main method; derivatives must implement one of their own
206+
def run(self) -> None:
207+
raise NotImplementedError
208+
205209
def stop(self):
206210
if self.ql.multithread:
207211
self.thread_management.stop()

0 commit comments

Comments
 (0)