qilingframework / qiling

A True Instrumentable Binary Emulation Framework
https://qiling.io
GNU General Public License v2.0
5.14k stars 744 forks source link

AttributeError: 'IDAPythonStdOut' object has no attribute 'fileno' #1414

Closed MalwareGuy closed 11 months ago

MalwareGuy commented 11 months ago

Describe the bug Within IDA, IDA Python throw san error due to Qiling attempting to interact with IDAPythonStdOut by setting up the logging utility in one of its modules, even when the verbosity has been set to disabled.

Sample Code

from qiling import Qiling
from qiling.const import QL_VERBOSE
ql = Qiling(['lockbit.bin'], 'examples/rootfs/x86_windows', verbose=QL_VERBOSE.DISABLED)

Expected behavior This line of code is expected to create a Qiling object with the verbosity of the logs set as disabled.

Screenshots image

Additional context Tested on IDA Home 8.3.230608 (current version), with Qiling 1.4.6 (current version).

MalwareGuy commented 11 months ago

Looks like there's been existing requests in #1362 and #475 - gonna close this one