Skip to content

Fix logging issues caused by IDA custom stderr#1493

Merged
xwings merged 1 commit intoqilingframework:devfrom
elicn:ida-stderr-fix
Nov 25, 2024
Merged

Fix logging issues caused by IDA custom stderr#1493
xwings merged 1 commit intoqilingframework:devfrom
elicn:ida-stderr-fix

Conversation

@elicn
Copy link
Member

@elicn elicn commented Sep 26, 2024

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.

@elicn elicn linked an issue Sep 26, 2024 that may be closed by this pull request
@xwings xwings merged commit fc6aff4 into qilingframework:dev Nov 25, 2024
@elicn elicn deleted the ida-stderr-fix branch November 25, 2024 10:10
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

Successfully merging this pull request may close these issues.

IDA qiling plugin encounter an error.

2 participants