Adjust existing code

This commit is contained in:
elicn
2024-03-13 09:49:23 +02:00
committed by Eli
parent 778fbf779e
commit 8515a27bd6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -267,7 +267,7 @@ def run():
'profile': options.profile,
'console': options.console,
'filter': options.filter,
'log_file': options.log_file,
'log_devices': options.log_file or [options.log_file],
'log_plain': options.log_plain,
'multithread': options.multithread,
'libcache': options.libcache
+1 -1
View File
@@ -218,7 +218,7 @@ class ELFTest(unittest.TestCase):
def test_elf_linux_x86(self):
filename = 'test.qlog'
ql = Qiling(["../examples/rootfs/x86_linux/bin/x86_hello"], "../examples/rootfs/x86_linux", verbose=QL_VERBOSE.DEBUG, log_file=filename)
ql = Qiling(["../examples/rootfs/x86_linux/bin/x86_hello"], "../examples/rootfs/x86_linux", verbose=QL_VERBOSE.DEBUG, log_devices=[filename])
ql.run()
os.remove(filename)