Developer Guide and Reference

Contents

Pointer Checker Feature Summary

The pointer checker is not supported on
macOS*
systems.
The pointer checker provides a number of related elements, summarized in the following table.
Element
Description
Compiler Options:
[Q]check-pointers
Enables the pointer checker and adds the associated libraries. This compiler option enables checking of all indirect accesses through pointers and accesses to arrays.
The possible option keywords are [
none
|
write
|
rw
], where:
  • none
    : Disables the pointer checker (default).
  • write
    : Checks bounds for only writes through pointers.
  • rw
    : Checks bounds for reads and writes through pointers.
If the compiler determines that an access is safe during optimization, then the compiler removes the pointer checking code.
[Q]check-pointers-dangling
Enables checking for dangling pointer references.
The possible option keywords are [
none
|
heap
|
stack
|
all
], where:
  • none
    : Disables checking for dangling pointer references (default).
  • heap
    : Checks for dangling pointer references on the heap.