Following the page MallocDebug
After Enable Malloc Scribble, free buffer will be set to 0x55, malloc buffer will be set to 0xAA.
would I change 0x55 and 0xAA to another value ? e.g 0xFF ?
Following the page MallocDebug
After Enable Malloc Scribble, free buffer will be set to 0x55, malloc buffer will be set to 0xAA.
would I change 0x55 and 0xAA to another value ? e.g 0xFF ?
would I change 0x55 and 0xAA to another value?
AFAICT these values are hard coded (see SCRIBBLE_BYTE
and friends in libmalloc-372.30.4/src/base.h
in the Darwin open source). If you’d like to see that change, you should file an enhancement request describing your requirements.
Please post your bug number, just for the record.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
I use another method to do so
The disadvantage of that approach is that it only scribbles allocations made by your code, whereas MallocScribble
scribbles all allocations in your process.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"