Force initialize all struct type variables passed by reference
configname: CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL
Linux Kernel Configuration
└─>General architecture-dependent options
└─>GCC plugins
└─>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_PLUGINSCONFIG_GCC_PLUGIN_STRUCTLEAK
NOT CONFIG_COMPILE_TEST or NOT CONFIG_KASAN or NOT CONFIG_KASAN_STACK