CONFIG_SYS_HEAP_VALIDATE

Enable internal heap validity checking

Type: bool

Help

The sys_heap implementation is instrumented for extensive internal validation. Leave this off by default, unless modifying the heap code or (maybe) when running in environments that require sensitive detection of memory corruption.

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/lib/os/Kconfig:24

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/lib/Kconfig:16

Menu path: (Top) → Additional libraries → OS Support Library

config SYS_HEAP_VALIDATE
    bool "Enable internal heap validity checking"
    help
      The sys_heap implementation is instrumented for extensive
      internal validation.  Leave this off by default, unless
      modifying the heap code or (maybe) when running in
      environments that require sensitive detection of memory
      corruption.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)