Skip to content

Commit

Permalink
About the latent_entropy gcc attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
ephox-gcc-plugins committed May 27, 2016
1 parent 192e754 commit f0ec668
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions latent_entropy_plugin.c
Expand Up @@ -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"
Expand Down

0 comments on commit f0ec668

Please sign in to comment.