Releases: westtide/korn
Releases · westtide/korn
v1.0
Release Notes
New Features
- Added support for the
-c2chc
flag in theKorn.jar
application. This new feature allows users to translate C code into Constrained Horn Clauses (CHC) formula.
How to Use
- To use this feature, run the
Korn.jar
application with the-c2chc
flag followed by the path to the C file you want to translate. For example:java -jar Korn.jar --c2chc 1.c
This command will translate the C code in 1.c
into a CHC formula and write the result to an SMT2 file named 1.smt2
.
Compatibility
- The generated SMT2 file is compatible with the
Eldarica
solver andZ3
:(set-logic HORN)
Notes
- Please ensure that the Eldarica solver or Z3 is installed and properly configured on your system to use the generated SMT2 file.
z3 1.smt2
java -jar Eldarica.jar 1.smt2