qiling icon indicating copy to clipboard operation
qiling copied to clipboard

IDAPythonStdOut logging device error when setting up in IDA pro

Open pmondon opened this issue 1 year ago • 2 comments

*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

pmondon avatar Sep 27 '24 09:09 pmondon

same

0x410c avatar Sep 28 '24 09:09 0x410c

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.

elicn avatar Sep 29 '24 06:09 elicn

Fixed by #1493

elicn avatar Nov 25 '24 10:11 elicn