Available APIs

Table 1 Memory debugging module APIs

Category

API

Description

Memory debugging

mem_check_init

Initializes the memory check module.

watch_mem

Obtains the thread-level heap memory usage.

check_leak

Checks for heap memory leaks.

check_heap_integrity

Checks the heap memory integrity.

Call stack backtracking

backtrace

Obtains the address information of the call stack.

backtrace_symbols

Obtains symbol information based on address information.

print_trace

Prints call stack information.