HelenOS sources

pad_pattern       108 uspace/lib/c/generic/dmalloc.c 		if (p[i - pad_begin] != pad_pattern) {
pad_pattern       118 uspace/lib/c/generic/dmalloc.c 		if (p[dblock->size + i] != pad_pattern) {
pad_pattern       129 uspace/lib/c/generic/dmalloc.c 			if (p[i] != pad_pattern) {
pad_pattern       237 uspace/lib/c/generic/dmalloc.c 	memset(dblock->ptr - pad_begin, pad_pattern, pad_begin);
pad_pattern       238 uspace/lib/c/generic/dmalloc.c 	memset(dblock->ptr + dblock->size, pad_pattern, pad_end);
HelenOS homepage, sources at GitHub