I have been testing the leak detection capabilities of MTuner to integrate it in the Wazuh testing protocol and I saw that the call stack tree and stack trace tabs are empty in MTuner 4.3.1.
The test is running with the following code:
#include <windows.h>
#include <stdio.h>
int main(int argc, char** argv) {
char * a = malloc(3333);
char * b = malloc(1234); // Unreferenced memory
char * c = malloc(4444); // Still referenced
char * d = malloc(1385);
char * e = malloc(2385);
b = a;
free(a);
free(d);
return 0;
}
Hi,
I have been testing the leak detection capabilities of MTuner to integrate it in the Wazuh testing protocol and I saw that the
call stack tree
andstack trace
tabs are empty in MTuner 4.3.1.The test is running with the following code:
However, after reading the issue https://github.com/milostosic/MTuner/issues/37, I tried 4.0.9 and everything worked as expected.
On the other hand, I can't differentiate the leaks due to unreferenced memory from the leaks still referenced. Is there a way?
Best regards, Cristobal Lopez.