Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andreistefanescu committed Oct 8, 2021
1 parent e3036b3 commit 30b4b69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion s2nTests/docker/awslc.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR /saw-script
RUN mkdir -p /saw-script && \
git clone https://github.com/GaloisInc/aws-lc-verification.git && \
cd aws-lc-verification && \
git checkout 0e55a079cf53187bf4bf8e4548f7fd885a004899 && \
git checkout 7cadddf46bf90dae86034bb6f929fab805f867b9 && \
git config --file=.gitmodules submodule.src.url https://github.com/awslabs/aws-lc && \
git submodule sync && \
git submodule update --init
Expand Down
5 changes: 1 addition & 4 deletions src/SAWScript/Crucible/LLVM/Override.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1091,10 +1091,7 @@ matchArg ::
OverrideMatcher (LLVM arch) md ()

matchArg opts sc cc cs prepost actual expectedTy expected = do
let mvar = Crucible.llvmMemVar (ccLLVMContext cc)
mem <- case Crucible.lookupGlobal mvar $ cc ^. ccLLVMGlobals of
Nothing -> fail "internal error: LLVM Memory global not found"
Just mem -> pure mem
mem <- readGlobal $ Crucible.llvmMemVar $ ccLLVMContext cc
case (actual, expectedTy, expected) of
(_, _, SetupTerm expectedTT)
| TypedTermSchema (Cryptol.Forall [] [] tyexpr) <- ttType expectedTT
Expand Down

0 comments on commit 30b4b69

Please sign in to comment.