Available on crate feature
client_requests_defs
only.Expand description
All public client requests from the memcheck.h
header file
See also Memcheck Client Requests
Structs§
- Leak
Counts - The
LeakCounts
as returned bycount_leaks
andcount_leak_blocks
Functions§
- check_
mem_ is_ addressable - Check that memory at
addr
is addressable forlen
bytes - check_
mem_ is_ defined - Check that memory at
addr
is addressable and defined forlen
bytes. - check_
value_ is_ defined - Use this macro to force the definedness and addressibility of a
value
to be checked. - count_
leak_ blocks - Identical to
count_leaks
except that it returns the number of blocks rather than the number of bytes in each category. - count_
leaks - Return
LeakCounts
found by all previous leak checks - create_
block - Create a
BlockHandle
. - disable_
addr_ error_ reporting_ in_ range - Disable reporting of addressing errors in the specified address range
- discard
- Discard a
BlockHandle
previously acquired withcreate_block
- do_
added_ leak_ check - Same as
do_leak_check
but only showing the entries for which there was an increase in leaked bytes or leaked nr of blocks since the previous leak search. - do_
changed_ leak_ check - Same as
do_added_leak_check
but showing entries with increased or decreased leaked bytes/blocks since previous leak search. - do_
leak_ check - Do a full memory leak check (like
--leak-check=full
) mid-execution - do_
new_ leak_ check - Same as
do_leak_check
but only showing new entries i.e. loss records that were not there in the previous leak search. - do_
quick_ leak_ check - Do a summary memory leak check (like
--leak-check=summary
) mid-execution - enable_
addr_ error_ reporting_ in_ range - Enable reporting of addressing errors in the specified address range
- get_
vbits - Allow you to get the V (validity) bits for an address range
[addr...addr+len-1]
- make_
mem_ defined - Mark memory at
addr
as addressable and defined forlen
bytes. - make_
mem_ defined_ if_ addressable - Similar to
make_mem_defined
except that addressability is not altered - make_
mem_ noaccess - Mark memory
addr
as unaddressable forlen
bytes - make_
mem_ undefined - Mark memory at
addr
as addressable but undefined forlen
bytes - set_
vbits - Allow you to set the V (validity) bits for an address range
[addr...addr+len-1]
Type Aliases§
- Block
Handle - The
BlockHandle
type as returned bycreate_block