issues
search
trailofbits
/
pasta
Peter's Amazing Syntax Tree Analyzer
Apache License 2.0
123
stars
9
forks
source link
Add Stmt::LowestCoveringSubstitution() method, binary, and tests
#75
Closed
PappasBrent
closed
1 year ago
PappasBrent
commented
1 year ago
Add the method LowestCoveringSubstitution() to pasta::Stmt for getting the lowest expansion that completely covers a given Stmt.
Add a binary, print-lowest-covering-substitution, for testing this new method.
Add tests for this new method.
Add a few helper methods to the MacroRange and MacroSubstitution classes.
Refactor some existing code to make development a little easier. See commit messages for detailed explanations.