]>
Commit | Line | Data |
---|---|---|
12788f63 MT |
1 | 2010-07-27 Andreas Schwab <schwab@redhat.com> |
2 | ||
3 | * manual/memory.texi (Malloc Tunable Parameters): Document | |
4 | M_PERTURB. | |
5 | ||
6 | Index: glibc-2.12-2-gc4ccff1/manual/memory.texi | |
7 | =================================================================== | |
8 | --- glibc-2.12-2-gc4ccff1.orig/manual/memory.texi | |
9 | +++ glibc-2.12-2-gc4ccff1/manual/memory.texi | |
10 | @@ -702,6 +702,11 @@ be allocated via @code{mmap}. | |
11 | @item M_MMAP_MAX | |
12 | The maximum number of chunks to allocate with @code{mmap}. Setting this | |
13 | to zero disables all use of @code{mmap}. | |
14 | +@item M_PERTURB | |
15 | +If non-zero, memory blocks are filled with values depending on some | |
16 | +low order bits of this parameter when they are allocated (except when | |
17 | +allocated by @code{calloc}) and freed. This can be used to debug the | |
18 | +use of uninitialized or freed heap memory. | |
19 | @end table | |
20 | ||
21 | @end deftypefun |