Force initialize all struct type variables passed by reference
configname: CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL
Linux Kernel Configuration
└─>Force initialize all struct type variables passed by reference
In linux kernel since version 3.10 (release Date: 2013-06-30)
Zero initialize any struct type local variable that may be passed by
reference without having been initialized.
reference without having been initialized.
depends
CONFIG_GCC_PLUGIN_STRUCTLEAK or CONFIG_GCC_PLUGINS |NOT | CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO or NOT CONFIG_KASAN or NOT CONFIG_KASAN_STACK