list_analyzers

Function Description

This API outputs all memory analysis types supported by msLeaks and can be printed by users. Currently, only memory leak analysis and inefficient memory identification are supported.

Function Prototype

list_analyzers() -> List[str]

Parameter Description

Parameter

Input/Output

Description

List[str]

Output

String list.

Return Value Description

After the API is executed, the memory analysis types supported by msLeaks are displayed.

Example

1
2
3
import msleaks
config_list = msleaks.list_analyzers()
print(config_list)