Skip to content
Cannot retrieve contributors at this time
20 lines (16 sloc) 1.33 KB

eDSL: Domain-Specific Language for EVM Specifications

The K-framework provides a reachability logic theorem prover that is parameterized by the langauge semantics. Instantiated with the KEVM, a complete formal semantics of the Ethereum Virtual Machine (EVM), the K prover yields a correct-by-construction deductive program verifer for the EVM. The EVM verifier takes an EVM bytecode and a specification as inputs, and automatically proves that the bytecode satisfies the specification, if it is the case. The EVM specification essentially specifies the pre- and post-conditions of the EVM bytecode in the form of reachability logic claims.

We present a domain-specific language (DSL) for the EVM specifications, called eDSL, to succintly specify the specifications. The eDSL consists of two parts:

You can’t perform that action at this time.