Module cwe_checker_lib::analysis::expression_propagation
source · Expand description
This module contains a fixpoint computation for intra-procedual expression propagation and contains a function for inserting such expressions.
Structs
- The context struct for the expression propagation fixpoint computation.
Functions
- Merge subsequent assignments to the same variable to a single assignment to that variable.
- Replaces variables by expressions that can be propagated within functions.
- Wherever possible, substitute input variables of expressions with the input expression that defines the input variable.