Home | History | Annotate | Download | only in malloc_debug

Lines Matching full:allocation

8 by adding a shim layer that replaces the normal allocation calls. The replaced
40 to find memory corruption occuring to a region before the original allocation.
41 On first allocation, this front guard is written with a specific pattern (0xaa).
42 When the allocation is freed, the guard is checked to verify it has not been
47 the backtrace of the allocation site.
52 on 64 bit systems to make sure that the allocation returned is aligned
56 and information about the original allocation.
61 04-10 12:00:45.621 7412 7412 E malloc_debug: +++ ALLOCATION 0x12345678 SIZE 100 HAS A CORRUPTED FRONT GUARD
62 04-10 12:00:45.622 7412 7412 E malloc_debug: allocation[-32] = 0x00 (expected 0xaa)
63 04-10 12:00:45.622 7412 7412 E malloc_debug: allocation[-15] = 0x02 (expected 0xaa)
68 to find memory corruption occuring to a region after the original allocation.
69 On first allocation, this rear guard is written with a specific pattern (0xbb).
70 When the allocation is freed, the guard is checked to verify it has not been
78 information about the original allocation.
83 04-10 12:00:45.621 7412 7412 E malloc_debug: +++ ALLOCATION 0x12345678 SIZE 100 HAS A CORRUPTED REAR GUARD
84 04-10 12:00:45.622 7412 7412 E malloc_debug: allocation[130] = 0xbf (expected 0xbb)
85 04-10 12:00:45.622 7412 7412 E malloc_debug: allocation[131] = 0x00 (expected 0xbb)
95 Enable capturing the backtrace of each allocation site.
108 backtrace and information about the original allocation.
111 Enable capturing the backtrace of each allocation site. If the
123 backtrace and information about the original allocation.
126 Any allocation routine, other than calloc, will result in the allocation being
131 of bytes in the allocation. The default is to fill the entire allocation.
134 When an allocation is freed, fill it with 0xef.
137 of bytes in the allocation. The default is to fill the entire allocation.
143 of bytes in the allocation. The default is to fill the entire allocation.
146 Add an extra amount to allocate for every allocation.
148 If XX is present, it is the number of bytes to expand the allocation by.
151 ### free\_track[=ALLOCATION\_COUNT]
154 entire allocation is filled with the value 0xef, and the backtrace at
162 When the list is full, an allocation is removed from the list and is
167 If ALLOCATION\_COUNT is present, it indicates the total number of allocations
172 information about the original allocation.
177 04-15 12:00:31.304 7412 7412 E malloc_debug: +++ ALLOCATION 0x12345678 USED AFTER FREE
178 04-15 12:00:31.305 7412 7412 E malloc_debug: allocation[20] = 0xaf (expected 0xef)
179 04-15 12:00:31.305 7412 7412 E malloc_debug: allocation[99] = 0x12 (expected 0xef)
188 an allocation has a special header applied, and the header is corrupted
193 +++ ALLOCATION 0x12345678 HAS CORRUPTED HEADER TAG 0x1cc7dc00 AFTER FREE
198 backtrace frames to capture when an allocation is freed.
202 allocation is freed. The default is to record 16 frames, the max number of
213 information about the original allocation.
219 04-15 12:35:33.304 7412 7412 E malloc_debug: Backtrace at time of allocation:
225 04-15 12:35:33.305 7412 7412 E malloc_debug: Backtrace at time of allocation:
238 04-15 12:00:31.304 7412 7412 E malloc_debug: +++ ALLOCATION 0x12345678 USED AFTER FREE (free)
258 04-15 12:00:31.304 7412 7412 E malloc_debug: +++ ALLOCATION 0x12345678 USED AFTER FREE (realloc)
266 04-15 12:00:31.304 7412 7412 E malloc_debug: +++ ALLOCATION 0x12345678 HAS INVALID TAG 1ee7d000 (malloc_usable_size)
283 Enable backtrace tracking of all allocation for all processes: