Mac OS leak detection

I am trying to debug C code, and unfortunately I cannot use valgrind since I have Mavericks installed.

Im using lldb , but not sure which command to run to check for memory leaks.

+6
source share
1 answer

If nothing else works, you can try using the dmalloc library, which has been ported to OS X and is pretty good at finding reasonable complex memory allocation problems.

+2
source

Source: https://habr.com/ru/post/958621/


All Articles