• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Bitcoin
      • Riscv
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Poseidon
      • Where-do-i-place-my-book
      • Axe
        • R1cs-verification-with-axe
        • Prove-equal-with-axe
        • Dags
        • Stp
        • Lifters
          • Unroll-java-code
          • Unroll-java-code2
        • Read-jar
        • Read-class
      • Bigmems
      • Builtins
      • Execloader
      • Aleo
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Axe

Lifters

Axe Lifters

The Axe toolkit provides several tools for lifting code into logic. Currently, Axe can lift JVM bytecode, x86 binaries, and rank-1 constraint systems.

For lifting JVM bytecode, four lifters are available. For code that is unrollable, use unroll-java-code (or try the more experimental unroll-java-code2, for compositional lifting). When loops cannot be unrolled and so must be lifted into recursive functions, use lift-java-code (or try the more experimental lift-java-code2, for compositional lifting).

For lifting x86 binaries, two lifters are available. For code that is unrollable, use x::def-unrolled (still experimental). When loops cannot be unrolled and so must be lifted into recursive functions, try x::lift-subroutine (very experimental).

For lifting rank-1 constraint systems, use r1cs::lift-r1cs or one of its variants.

Subtopics

Unroll-java-code
Lift a Java method to create a DAG, unrolling loops as needed.
Unroll-java-code2
Given a Java method, define a function that represents the (unrolled) effect of the given method on the JVM state (under the given assumptions). This uses symbolic execution including unrolling all loops.