Skip to content

Commit

Permalink
Adjust existing code
Browse files Browse the repository at this point in the history
  • Loading branch information
elicn committed Mar 6, 2024
1 parent c032aa4 commit d5c99c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qltool
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/test_elf.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def test_elf_linux_x8664_static(self):
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)
Expand Down

0 comments on commit d5c99c6

Please sign in to comment.