Skip to content

Commit 30edc0e

Browse files
committed
Trace SetVariable() parameters in case of an info leak.
1 parent 94d2b3e commit 30edc0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taint/uefi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def SetVariable_propagate_taint(ql, address, params):
5151
begin = params["Data"]
5252
end = params["Data"] + params["DataSize"]
5353
if is_range_tainted(ql, begin, end):
54-
ql.dprint(D_INFO, "Detected potential info leak in SetVariable()")
54+
ql.dprint(D_INFO, f"Detected potential info leak in SetVariable({params})")
5555
ql.os.emu_error()
5656
os.abort()
5757

0 commit comments

Comments
 (0)