MCPcopy Create free account
hub / github.com/CheckPointSW/Karta / IdaLogHandler

Class IdaLogHandler

src/disassembler/IDA/ida_api.py:16–25  ·  view source on GitHub ↗

Integrate the log messages with IDA's output window.

Source from the content-addressed store, hash-verified

14import logging
15
16class IdaLogHandler(logging.Handler):
17 """Integrate the log messages with IDA's output window."""
18
19 def emit(self, record):
20 """Emit a log record into IDA's output window.
21
22 Args:
23 record (LogRecord): a logging.LogRecord instance
24 """
25 idc.msg("%s\n" % (super(IdaLogHandler, self).format(record)))
26
27class MessageBox(idaapi.Form):
28 """Wrapper class that represents a GUI MessageBox.

Callers 1

logHandlerMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected