Module haybale_pitchfork::hooks[][src]

Expand description

This module contains a few simple built-in function hooks which can be used with Config.function_hooks.

Functions

This hook will return a secret value if any of the arguments are secret, or if any of the arguments contain a pointer to any secret data. Otherwise, it will return an unconstrained public value.

This hook will ignore all of the function arguments and simply return an unconstrained public value of the appropriate size, or void for void-typed functions.

This hook will ignore all of the function arguments and simply return a secret value of the appropriate size, or void for void-typed functions.