memstomp - detect function calls with overlapping memory regions
memstomp [-dk] application [argument...]
The memstomp utility identifies function calls that use overlapping memory regions in situations when such an overlap is not allowed by various standards. When a problem is detected, memstomp displays a backtrace to help you debug the problem, and if executed with the --debug-info command line option, it even uses the available debugging information. Since the backtrace code is not thread safe, memstomp also allows you to use the --kill option to immediately terminate the analyzed program when an invalid function call is detected.
This version of memstomp inspects the following function calls: memcpy(), memccpy(), mempcpy(), strcpy(), stpcpy(), strncpy(), stpncpy(), strcat(), strncat(), wmemcpy(), wmempcpy(), wcscpy(), wcsncpy(), wcscat(), and wcsncat().
|Make use of debugging information to produce more detailed stack traces.|
|Kill the analyzed application when a problem is detected.|
|Display usage information and exit.|
|Be less verbose|