Skip to content

Commit 5f4c3dc

Browse files
committed
Fix missing imports
1 parent 01a1941 commit 5f4c3dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qiling/extensions/report/report.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ class Report:
1212
def __init__(self, ql):
1313
self.filename = ql.argv
1414
self.rootfs = ql.rootfs
15-
self.arch = list(arch_map.keys())[list(arch_map.values()).index(ql.arch.type)]
16-
self.os = list(os_map.keys())[list(os_map.values()).index(ql.os.type)]
15+
self.arch = ql.arch.type.name
16+
self.os = ql.os.type.name
1717
self.env = ql.env
1818
self.strings = set()
1919
for string in ql.os.stats.strings:

0 commit comments

Comments
 (0)