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

Class MessageBox

src/disassembler/IDA/ida_api.py:27–45  ·  view source on GitHub ↗

Wrapper class that represents a GUI MessageBox. Note ---- Contains specific (basic) Karta logic.

Source from the content-addressed store, hash-verified

25 idc.msg("%s\n" % (super(IdaLogHandler, self).format(record)))
26
27class MessageBox(idaapi.Form):
28 """Wrapper class that represents a GUI MessageBox.
29
30 Note
31 ----
32 Contains specific (basic) Karta logic.
33 """
34
35 def __init__(self, text):
36 """Create a basic message box.
37
38 Args:
39 text (str): Text to be shown by the message box
40 """
41 # dialog content
42 dialog_content = """%s
43 %s
44 """ % (LIBRARY_NAME, text)
45 idaapi.Form.__init__(self, dialog_content, {})
46
47class ConfigForm(idaapi.Form):
48 """Wrapper class that represents the GUI configuration form for Karta's scripts.

Callers 1

messageBoxMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected