Module lsan

Source

Functionsยง

disable
Disables leak detection.
do_leak_check
Check for leaks now. This function behaves identically to the default end-of-process leak check.
do_recoverable_leak_check
Check for leaks now and return whether leaks were found.
enable
Enables leak detection.
ignore_object
The heap object into which p points will be treated as a non-leak.
register_root_region
Memory regions registered through this interface will be treated as sources of live pointers during leak checking.
unregister_root_region
Unregisters a root region previously registered.