-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[P4_Symbolic] Eliminate the use of a global Z3 context. (#928)
* [P4-Symbolic] Use generic deparser to extract input/output packets * [P4-Symbolic] Use p4-symbolic's test data instead of SAI P4 for deparser tests. * [P4-Symbolic] Move IR parser to `ir/`. Simplify IR parser API. Remove unused IR pdpi_driver. Remove hard-coded SAI parser. Remove EvaluateSaiPipeline. Refactor SAI-specific code. * [P4-Symbolic] Remove dependencies on SAI fields. * [P4-Symbolic] Add non-SAI tests for the generic deparser. Output concrete solutions to a file instead of standard output. * [Comb] Rename PD->IR/PI to set up for deprecation. * [P4-Symbolic] Move symbolic/concrete context to context.{cc,h} separated from symbolic.{cc,h}, and make the context-related objects constructed along with the solver state and then passed along the symbolic evaluation. * [P4-Symbolic] Eliminate the use of a global Z3 context. --------- Co-authored-by: kishanps <kishanps@google.com>
- Loading branch information
1 parent
8615e2e
commit 7cb0b4d
Showing
30 changed files
with
412 additions
and
317 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.