[−][src]Crate haybale_pitchfork
For an introduction to the crate and how to get started, see the crate's README.
Modules
hook_helpers | This module contains helper functions that may be useful in writing function hooks. |
hooks | This module contains a few simple built-in function hooks which can be used
with |
secret | This module contains the dynamic taint-tracking layer implemented on
top of |
Structs
AbstractData | An abstract description of a value: its size, whether it is a pointer or not, whether it is public or secret (or maybe it's a struct with some public and some secret fields, or maybe it's a public pointer that points to some secret data), etc. |
Config | Various settings which affect how the symbolic execution is performed. |
ConstantTimeResultForFunction | Holds information about the results of a constant-time analysis of a particular function. |
PathStatistics | Some statistics which can be computed from a
|
PitchforkConfig |
|
Project | A |
Enums
AbstractValue | A variety of ways to specify a numerical value, from completely unconstrained to fully constrained. |
ConstantTimeResultForPath | Holds information about the results of a constant-time analysis of a single path. |
Functions
check_for_ct_violation | Checks whether a function is "constant-time" in the secrets identified by the
|
check_for_ct_violation_in_inputs | Checks whether a function is "constant-time" in its inputs. That is, does the function ever make branching decisions, or perform address calculations, based on its inputs. |
main_func | This function is designed to be called in your |
Type Definitions
StructDescriptions | A map from struct name to an |