Skip to content
This repository has been archived by the owner on May 1, 2021. It is now read-only.

p4gauntlet/toz3_old

Repository files navigation

ToZ3: The P4-to-Z3Py Interpreter

ToZ3 produces intermediate Python code that can be used to generate Z3 expressions from P4 programs. The code does not work without the parent repository Gauntlet. Please see more details there.

Requirements

ToZ3 is written as an extension to P4C. It has no other dependencies. First P4C must be installed. Instructions can be found here.

Flags

Option Description
--ouput File name of the output Python Z3 formula
--emit_p4 If set, will generate a --output.p4 P4 program
--prune If set, will randomly prune the input P4 program and output to --output Z3 formula

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published