Skip to content

Commit

Permalink
Use scVectorReduced when resolving array values in crucible_llvm_ve…
Browse files Browse the repository at this point in the history
…rify.

This fixes part of #420: The problem is fixed for crucible_llvm_verify,
but does not help with crucible_jvm_verify.
  • Loading branch information
Brian Huffman committed Apr 24, 2019
1 parent f01563a commit dba90fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deps/saw-core
2 changes: 1 addition & 1 deletion src/SAWScript/CrucibleOverride.hs
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ valueToSC sym loc failMsg (Cryptol.TVSeq n cryty) (Crucible.LLVMValArray ty vals
= do terms <- V.toList <$> traverse (valueToSC sym loc failMsg cryty) vals
sc <- liftIO (Crucible.saw_ctx <$> readIORef (W4.sbStateManager sym))
t <- liftIO (typeToSC sc ty)
liftIO (scVector sc t terms)
liftIO (scVectorReduced sc t terms)

valueToSC _ _ _ _ Crucible.LLVMValFloat{} =
fail "valueToSC: Real not supported"
Expand Down

0 comments on commit dba90fc

Please sign in to comment.