I’m using Xcode with Clang as the compiler, and I’m currently getting an EXC_BAD_ACCESS when calling a function on a pointer whose address is 0xCDCDCDCD. I’ve also seen some variables set to 0xABABABAB around. I’ve looked around and noticed that these values are used as magic numbers in Visual Studio, to help see what the problem is. However I can’t find a list of magic numbers used by Xcode (or Clang, not sure if it’s a mechanism from the compiler or IDE). Does anyone know where I can find one?
I’m using Xcode with Clang as the compiler, and I’m currently getting an EXC_BAD_ACCESS
Share
I’m not aware of any comprehensive list, which seems to be what you are searching for, but
0xCDCDCDCDis typically used by the C runtime when you allocate a block of memory with a Debug build.