Skip to content

Analyse memory leaks for C++ apps #3708

Answered by achamayou
letmaik asked this question in General
Discussion options

You must be logged in to vote

@letmaik memory leak detection in C++ is out of scope for CCF. Developers are encouraged to use the tools available on each platform instead, in virtual mode that's ASAN/Valgrind/etc, and in SGX, OpenEnclave debug malloc (https://github.com/openenclave/openenclave/blob/master/samples/debugmalloc/README.md).

Developers who wish to do so are welcome to take inspiration from the way CCF does this itself (https://github.com/microsoft/CCF/blob/main/cmake/tools.cmake#L4), but we have no plan to provide specific guidance on this.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by letmaik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants