qiling
qiling copied to clipboard
Fix logging issues caused by IDA custom stderr
IDA replaces sys.stderr with their own custom class that is not fully compatible with standard stream protocol, which causes Qiling to not detect it as a valid logging device and crash. This PR fixes this issue by monkeypatching IDA stderr to make it look like a standard stream.