Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support specifying ProofScripts during x86 verification #753

Merged
merged 4 commits into from
Jun 23, 2020
Merged

Conversation

chameco
Copy link
Contributor

@chameco chameco commented Jun 19, 2020

Previously, x86 verification always used Z3 (via SBV). This commit adds an additional ProofScript SatResult argument to crucible_llvm_verify_x86, matching the interface to crucible_llvm_verify.

This interface change will break the BIKE and SIKE proofs. I've pushed the fix to the x86-tactics branch of GaloisInc/s2n.

Copy link
Contributor

@brianhuffman brianhuffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a no-brainer: It's definitely nice to have consistency with the other proof commands.

, "\nCounterexample: " <> show ex
]
`catch` \(X86Error e) -> fail $ "Failure, error: " <> e
forM_ (zip [0..] gs) $ \(n, g) -> do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible to extract this and use it both here and in verifyObligations in SAWScript.Crucible.LLVM.Builtins?

@chameco chameco merged commit ecab7ea into master Jun 23, 2020
@RyanGlScott RyanGlScott added the subsystem: x86 Issues related to verifying x86 binaries via Macaw label Dec 6, 2021
@RyanGlScott RyanGlScott deleted the x86-tactics branch March 22, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
subsystem: x86 Issues related to verifying x86 binaries via Macaw
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants