MCPcopy Index your code
hub / github.com/longld/peda / warning_msg

Function warning_msg

lib/utils.py:206–208  ·  view source on GitHub ↗

Colorize warning message with prefix

(text)

Source from the content-addressed store, hash-verified

204msg = message()
205
206def warning_msg(text):
207 """Colorize warning message with prefix"""
208 msg(colorize("Warning: " + str(text), "yellow"))
209
210def error_msg(text):
211 """Colorize error message with prefix"""

Callers 15

search_asmMethod · 0.85
payload_copybytesMethod · 0.85
_is_runningMethod · 0.85
hexprintMethod · 0.85
hexdumpMethod · 0.85
aslrMethod · 0.85
procinfoMethod · 0.85
waitforMethod · 0.85
deactiveMethod · 0.85
skipiMethod · 0.85
vmmapMethod · 0.85
patchMethod · 0.85

Calls 1

colorizeFunction · 0.85

Tested by

no test coverage detected