Available on crate feature
client_requests_defs
only.Expand description
All public client requests from the drd.h
header file
The client requests which do nothing or are not implemented (as of valgrind version 3.22) are not available.
See also DRD Client Requests
Functions§
- Tell DRD that data races at the specified address are expected and must not be reported
- Same as
annotate_benign_race
, but applies to the memory range [addr, addr + size). - Create completely arbitrary happens-before edges between threads
- Tell DRD to ignore all memory accesses performed by the current thread.
- Tell DRD to no longer ignore the memory accesses performed by the current thread.
- Tell DRD to ignore all reads performed by the current thread
- Tell DRD to no longer ignore the reads performed by the current thread.
- Tell DRD to ignore all writes performed by the current thread.
- Tell DRD to no longer ignore the writes performed by the current thread.
- Tell DRD that size bytes starting at addr has been allocated by a custom memory allocator
- Report that the lock at address
lock
has just been acquired - Report that a lock has just been created at address
lock
- Report that the lock at address
lock
is about to be destroyed - Report that the lock at address
lock
is about to be released - Tell DRD to assign the specified name to the current thread.
- Ask DRD to report every access to the specified address
- Obtain the thread ID assigned by DRD
- Obtain the thread ID assigned by Valgrind’s core
- Tell DRD not to complain about data races for the specified variable
- Tell DRD to no longer ignore data races for the specified variable that was suppressed via
ignore_var
- Tell DRD to stop tracing memory accesses for the specified variable
- Tell DRD to trace all memory accesses for the specified variable until the memory that was allocated for the variable is freed.