|
@@ -464,6 +464,10 @@ config GCC_PLUGIN_LATENT_ENTROPY
|
|
|
config GCC_PLUGIN_STRUCTLEAK
|
|
|
bool "Force initialization of variables containing userspace addresses"
|
|
|
depends on GCC_PLUGINS
|
|
|
+ # Currently STRUCTLEAK inserts initialization out of live scope of
|
|
|
+ # variables from KASAN point of view. This leads to KASAN false
|
|
|
+ # positive reports. Prohibit this combination for now.
|
|
|
+ depends on !KASAN_EXTRA
|
|
|
help
|
|
|
This plugin zero-initializes any structures containing a
|
|
|
__user attribute. This can prevent some classes of information
|