Category : heap-memory

I would like help in how I can effectively create and then analyze a dump file for an c++ application that is experiencing random crashes. How can I create a dump file for the time the application crashes automatically? I tried to follow this tutorial that windows provide: https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps But I am not sure if ..

Read more

I want to get the return value of malloc, my DTrace command is: sudo dtrace -n ‘pid32519::malloc:return {printf("%p %p %p %p %p %p %p %p %p %p %sn",arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,probefunc);}’ and the pid of provider is a tiny program as follow: printf("%dn",getpid()); getchar(); int cnt=50; void* a = malloc(1000); printf("%llxn",a); a = malloc(1000); printf("%llxn",a); a = malloc(1000); ..

Read more