From f0ec66810682579109469b862ac5169aa2a743ca Mon Sep 17 00:00:00 2001 From: Emese Revfy Date: Sat, 28 May 2016 01:28:27 +0200 Subject: [PATCH] About the latent_entropy gcc attribute --- latent_entropy_plugin.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/latent_entropy_plugin.c b/latent_entropy_plugin.c index 827cda6..ac37982 100644 --- a/latent_entropy_plugin.c +++ b/latent_entropy_plugin.c @@ -18,6 +18,15 @@ * * BUGS: * - none known + * + * Options: + * -fplugin-arg-latent_entropy_plugin-disable + * + * Attribute: __attribute__((latent_entropy)) + * The latent_entropy gcc attribute can be only on functions and variables. + * If it is on a function then the plugin will instrument it. If the attribute + * is on a variable then the plugin will initialize it with a random value. + * The variable must be an integer, an integer array type or a structure with integer fields. */ #include "gcc-common.h"