Sets the label for each address in [addr, addr+size)
to the union of the
current label for that address and label
.
Flushes the DFSan shadow, i.e. forgets about all labels currently associated
with the application memory.
Retrieves the very first origin associated with the data at the given
address.
Retrieves the label associated with the given data.
Conditional expressions occur during signal handlers. This function returns
all label bits seen in signal handler conditions.
Functions reached in signal handlers will add the labels they see into a
global (bitwise-or together). This function returns all label bits seen
during signal handlers.
Retrieves the immediate origin associated with the given data.
Returns the value of -dfsan-track-origins.
Returns whether the given label contains the label elem
.
Prints the origin trace of the label at the address addr
to stderr.
Retrieves the label associated with the data at the given address.
Return the origin associated with the first taint byte in the size bytes
from the address addr
.
Sets a callback to be invoked on any conditional expressions which have a
taint label set.
Sets the label for each address in [addr, addr+size)
to label
.
Sets a callback to be invoked when tainted data reaches a function.
Sets a callback to be invoked on calls to write().
Prints the origin trace of the label at the address addr
to a
pre-allocated output buffer.
Prints the stack trace leading to this call to a pre-allocated output
buffer.
Computes the union of l1
and l2
, resulting in a union label.