Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDAPythonStdOut logging device error when setting up in IDA pro #1494

Open
pmondon opened this issue Sep 27, 2024 · 2 comments
Open

IDAPythonStdOut logging device error when setting up in IDA pro #1494

pmondon opened this issue Sep 27, 2024 · 2 comments

Comments

@pmondon
Copy link

pmondon commented Sep 27, 2024

*Describe the bug
IDA pluging thows an error when trying to start emulation

Sample Code
File "/home/user/ida/plugins/qilingida.py", line 1037, in ql_start
self.qlemu.start()
File "/home/user/ida/plugins/qilingida.py", line 889, in start
self.ql = Qiling(argv=self.path, rootfs=self.rootfs, verbose=QL_VERBOSE.DEBUG, env=self.env, log_plain=True, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/qiling/core.py", line 169, in init
self._log_file_fd = setup_logger(self, log_devices, log_plain, log_override)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/qiling/log.py", line 199, in setup_logger
raise TypeError(f'unexpected logging device type: {type(dev).name}')
TypeError: unexpected logging device type: IDAPythonStdOut

@0x410c
Copy link

0x410c commented Sep 28, 2024

same

@elicn
Copy link
Member

elicn commented Sep 29, 2024

There's already a PR pending today fix this, but currently Qiling breaks on the new Unicorn release. Please allow a few days for the fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants