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§
Functions§
- Check that memory at
addr
is addressable forlen
bytes - Check that memory at
addr
is addressable and defined forlen
bytes. - Use this macro to force the definedness and addressibility of a
value
to be checked. - Identical to
count_leaks
except that it returns the number of blocks rather than the number of bytes in each category. - Return
LeakCounts
found by all previous leak checks - Create a
BlockHandle
. - Disable reporting of addressing errors in the specified address range
- Discard a
BlockHandle
previously acquired withcreate_block
- 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. - Same as
do_added_leak_check
but showing entries with increased or decreased leaked bytes/blocks since previous leak search. - Do a full memory leak check (like
--leak-check=full
) mid-execution - Same as
do_leak_check
but only showing new entries i.e. loss records that were not there in the previous leak search. - Do a summary memory leak check (like
--leak-check=summary
) mid-execution - Enable reporting of addressing errors in the specified address range
- Allow you to get the V (validity) bits for an address range
[addr...addr+len-1]
- Mark memory at
addr
as addressable and defined forlen
bytes. - Similar to
make_mem_defined
except that addressability is not altered - Mark memory
addr
as unaddressable forlen
bytes - Mark memory at
addr
as addressable but undefined forlen
bytes - Allow you to set the V (validity) bits for an address range
[addr...addr+len-1]
Type Aliases§
- The
BlockHandle
type as returned bycreate_block