Module valgrind

Source
Available on crate feature client_requests_defs only.
Expand description

All public client requests from the valgrind.h header file

See also The client request mechanism

Modules§

MempoolFlags
The MempoolFlags usable in create_mempool_ext as flags.

Functions§

clo_change
Change the value of a dynamic command line option
count_errors
Counts the number of errors that have been recorded by a tool.
create_mempool
Create a memory pool
create_mempool_ext
Create a memory pool like create_mempool with some MempoolFlags specifying extended behavior.
destroy_mempool
Destroy a memory pool
disable_error_reporting
Disable error reporting for this thread.
discard_translations
Discard translation of code in the range [addr … addr + len - 1].
enable_error_reporting
Re-enable error reporting
freelike_block
freelike_block is the partner to malloclike_block. For Memcheck, it does two things:
load_pdb_debuginfo
Load PDB debug info for Wine PE image_map
malloclike_block
Several Valgrind tools (Memcheck, Massif, Helgrind, DRD) rely on knowing when heap blocks are allocated in order to give accurate results.
map_ip_to_srcloc
Map a code address to a source file name and line number
mempool_alloc
Associate a piece of memory with a memory pool
mempool_change
Resize and/or move a piece associated with a memory pool
mempool_exists
Return true if a mempool exists, else false
mempool_free
Disassociate a piece of memory from a memory pool
mempool_trim
Disassociate any pieces outside a particular range
monitor_command
Execute a monitor command from the client program
move_mempool
Resize and/or move a piece associated with a memory pool
non_simd_call0
Allow control to move from the simulated CPU to the real CPU, calling an arbitrary function.
non_simd_call1
Allow control to move from the simulated CPU to the real CPU, calling an arbitrary function.
non_simd_call2
Allow control to move from the simulated CPU to the real CPU, calling an arbitrary function.
non_simd_call3
Allow control to move from the simulated CPU to the real CPU, calling an arbitrary function.
resizeinplace_block
resizeinplace_block informs a tool about reallocation.
running_on_valgrind
Returns the number of Valgrinds this code is running under
stack_change
Change the start and end address of the StackId
stack_deregister
Unmark the piece of memory associated with a StackId as being a stack
stack_register
Mark a piece of memory as being a stack. Returns a super::StackId