Red Zones: Customizing
You can customize Red Zones in several ways using this screen:
*Buffer placement: the Red Zone buffer may be placed before, after, or both before and after the allocated block. Use caution when adding Red Zones both before and after your allocations, as this doubles the Red Zone overhead.
*Buffer size: the default is the target machine page size, but you can modify this. The number of bytes you enter will be rounded to the nearest alignment specified by the machine.
*You can elect not to use buffers. This setting will allow you to detect whether a block is used after having been freed, with much lower memory consumption.
*Allocation alignment according to page start: this setting is useful for catching underruns.
*Allocation alignment according to page end: the default alignment for this setting is determined by the target machine and capped at the machine’s page size. An alignment of 1 will cause the final start address to be the same as the provisional start address. Other alignment values should be to a power of 2.