Skip to main content

Crate vgzzq

Crate vgzzq 

Source
Expand description

Modernised rewrite of edef’s valgrind_request library for making Valgrind client requests.

Modules§

memcheck
Valgrind client requests for the Valgrind Memcheck tool.

Enums§

ClientRequest

Functions§

count_errors
If running under a Valgrind tool, counts the number of errors recorded by the tool. Otherwise, returns 0.
disable_error_reporting
Disables Valgrind error reporting for the current program thread.
do_client_request⚠
Performs a Valgrind client request given by the args[], and returns the client request result.
enable_error_reporting
Re-enables Valgrind error reporting for the current program thread.
running_on_valgrind
Returns 0 if this program is running natively (i.e. not under Valgrind). Otherwise, returns the number of Valgrinds the code is running under.

Type Aliases§

Value
Integer value type returned by certain Valgrind client requests.