1MEMSTOMP(1) General Commands Manual MEMSTOMP(1)
2
3
4
6 memstomp - detect function calls with overlapping memory regions
7
9 memstomp [-dk] application [argument...]
10
11 memstomp -h
12
14 The memstomp utility identifies function calls that use overlapping
15 memory regions in situations when such an overlap is not allowed by
16 various standards. When a problem is detected, memstomp displays a
17 backtrace to help you debug the problem, and if executed with the
18 --debug-info command line option, it even uses the available debugging
19 information. Since the backtrace code is not thread safe, memstomp also
20 allows you to use the --kill option to immediately terminate the ana‐
21 lyzed program when an invalid function call is detected.
22
23 This version of memstomp inspects the following function calls: mem‐
24 cpy(), memccpy(), mempcpy(), strcpy(), stpcpy(), strncpy(), stpncpy(),
25 strcat(), strncat(), wmemcpy(), wmempcpy(), wcscpy(), wcsncpy(),
26 wcscat(), and wcsncat().
27
29 -d, --debug-info
30 Make use of debugging information to produce more detailed stack
31 traces.
32
33 -k, --kill
34 Kill the analyzed application when a problem is detected.
35
36 -h, --help
37 Display usage information and exit.
38
39 -q, --quiet
40 Be less verbose
41
43 memcpy(3), memccpy(3), mempcpy(3), strcpy(3), stpcpy(3), strncpy(3),
44 stpncpy(3), strcat(3), strncat(3), wmemcpy(3), wmempcpy(3), wcscpy(3),
45 wcsncpy(3), wcscat(3), wcsncat(3)
46
48 Lennart Poettering <lennart@poettering.net>
49 William Cohen <wcohen@redhat.com>
50
51
52
530.1.4 09 April 2013 MEMSTOMP(1)