kernel_optimize_test/scripts/gcc-plugins
Kees Cook 58bea4144d latent_entropy: Fix wrong gcc code generation with 64 bit variables
The stack frame size could grow too large when the plugin used long long
on 32-bit architectures when the given function had too many basic blocks.

The gcc warning was:

drivers/pci/hotplug/ibmphp_ebda.c: In function 'ibmphp_access_ebda':
drivers/pci/hotplug/ibmphp_ebda.c:409:1: warning: the frame size of 1108 bytes is larger than 1024 bytes [-Wframe-larger-than=]

This switches latent_entropy from u64 to unsigned long.

Thanks to PaX Team and Emese Revfy for the patch.

Signed-off-by: Kees Cook <keescook@chromium.org>
2016-10-31 11:30:41 -07:00
..
cyc_complexity_plugin.c gcc-plugins: Export symbols needed by gcc 2016-10-31 10:40:13 -07:00
gcc-common.h gcc-plugins: Export symbols needed by gcc 2016-10-31 10:40:13 -07:00
gcc-generate-gimple-pass.h GCC plugin infrastructure 2016-06-07 22:57:10 +02:00
gcc-generate-ipa-pass.h GCC plugin infrastructure 2016-06-07 22:57:10 +02:00
gcc-generate-rtl-pass.h GCC plugin infrastructure 2016-06-07 22:57:10 +02:00
gcc-generate-simple_ipa-pass.h GCC plugin infrastructure 2016-06-07 22:57:10 +02:00
latent_entropy_plugin.c latent_entropy: Fix wrong gcc code generation with 64 bit variables 2016-10-31 11:30:41 -07:00
Makefile gcc-plugins: Add support for plugin subdirectories 2016-08-08 17:53:05 -07:00
sancov_plugin.c gcc-plugins: Export symbols needed by gcc 2016-10-31 10:40:13 -07:00