DUMA Release
As promised, here’s the release of DUMA for BREW, announced at BREW 2007. It’s a library that helps debug memory problems, and Airsource have ported it over to to BREW. Download it here – it includes a test program, and full documentation of how to use it.
August 19th, 2010 at 1:56 pm
my projects is written in c
so i changed the crt.hpp and crt.cpp files to crt.h and crt.c ,so that i can use it in c project,i included the head file crt.h(i added #define MALLOC as_malloc and free as well) in every c file of the project,but when i debug the project,the overrun errors can hardly found(maybe i use the strncpy like function so it has no overrun?),can you give me an example more complecated?thank you very much!
ps:i always stopped at here when debuging,i dont know why?and i found “address not from DUMA or already freed”in output
(DUMA_Abort)
#else
/* Windows doesn’t have a kill() */
__asm int 3
//abort();
#endif
/* Just in case something handles SIGILL and returns, exit here. */
__asm int 3
// _exit(-1);