Expand description
All public client requests from the memcheck.h header file
See also Memcheck Client Requests
Structs§
- Leak
Counts - The
LeakCountsas returned bycount_leaksandcount_leak_blocks
Functions§
- check_
mem_ is_ addressable - Checks that memory at
addris addressable forlenbytes. - check_
mem_ is_ defined - Check that memory at
addris addressable and defined forlenbytes. - check_
value_ is_ defined - Use this macro to force the definedness and addressibility of a
valueto be checked. - count_
leak_ blocks - Identical to
count_leaksexcept that it returns the number of blocks rather than the number of bytes in each category. - count_
leaks - Return
LeakCountsfound by all previous leak checks - create_
block - Create a
BlockHandle. - disable_
addr_ error_ reporting_ in_ range - Disables reporting of addressing errors in the specified address range.
- discard
- Discard a
BlockHandlepreviously acquired withcreate_block - do_
added_ leak_ check - Same as
do_leak_checkbut 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_checkbut 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_checkbut 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 - Enables 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
addras addressable and defined forlenbytes. - make_
mem_ defined_ if_ addressable - Similar to
make_mem_definedexcept that addressability is not altered - make_
mem_ noaccess - Mark memory
addras unaddressable forlenbytes - make_
mem_ undefined - Mark memory at
addras addressable but undefined forlenbytes - set_
vbits - Allow you to set the V (validity) bits for an address range
[addr...addr+len-1]
Type Aliases§
- Block
Handle - The
BlockHandletype as returned bycreate_block