mirror of
https://github.com/qilingframework/qiling.git
synced 2026-10-12 02:21:40 +00:00
Adjust existing code
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user