MCPcopy Create free account
hub / github.com/qilingframework/qiling / qdb_print

Function qdb_print

qiling/debugger/qdb/utils.py:43–54  ·  view source on GitHub ↗

Log printing.

(level: QDB_MSG, msg: str)

Source from the content-addressed store, hash-verified

41
42
43def qdb_print(level: QDB_MSG, msg: str) -> None:
44 """Log printing.
45 """
46
47 decorations = {
48 QDB_MSG.ERROR: ('!', color.RED),
49 QDB_MSG.INFO : ('+', color.CYAN),
50 }
51
52 tag, col = decorations[level]
53
54 print(f'{col}[{tag}] {msg}{color.END}')
55
56
57class Marker:

Callers 15

innerFunction · 0.85
__bp_handlerMethod · 0.85
do_step_inMethod · 0.85
do_continueMethod · 0.85
do_backwardMethod · 0.85
del_breakpointMethod · 0.85
do_breakpointMethod · 0.85
do_examineMethod · 0.85
do_setMethod · 0.85
do_jumpMethod · 0.85
do_markMethod · 0.85
__info_argsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected