• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Pfcs
      • Wp-gen
      • Dimacs-reader
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Riscv
      • Bitcoin
      • 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
        • Axe-r1cs
        • Axe-lifters
        • Axe-core
        • Axe-provers
        • Axe-rewriters
        • Axe-jvm
          • Unroll-java-code
          • Unroll-java-code2
          • Read-jar
            • Read-class
          • Axe-x86
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Community
      • Proof-automation
      • ACL2
      • Macro-libraries
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Axe-jvm

    Read-jar

    Read in a .jar file and parse and register classes for use by Axe.

    General Form:

    (read-jar jar-path
              &key
              :dir      ; default nil
              :classes  ; default :all
              :verbosep ; default nil
              )

    Inputs:

    jar-path — (required)

    A path to a .jar file, relative to the directory indicated by the dir argument.

    :dir — default nil

    Either nil, in which case the class-file is interpreted relative to the cbd, or a keyword indicating a directory registered with add-include-book-dir or add-include-book-dir!.

    :classes — default :all

    Classes to read from the .jar. Either :all, or a list of strings representing class or interface names (usually fully-qualified). Note that using :all on a large .jar file may cause a huge amount of code to be read in.

    :verbosep — default nil

    Whether to print information about the unzipping process.