Skip to content

Commit

Permalink
Fix error in that does not correctly handle non-zero offset arrays.
Browse files Browse the repository at this point in the history
  • Loading branch information
abakst committed Mar 16, 2022
1 parent 87ab2f3 commit 308e87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heapster-saw/src/Verifier/SAW/Heapster/Permissions.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4575,7 +4575,7 @@ permForLLVMArrayBorrow ap (FieldBorrow cell) =
ValPerm_LLVMBlock $ llvmArrayCellPerm ap cell
permForLLVMArrayBorrow ap (RangeBorrow (BVRange off len)) =
ValPerm_Conj1 $ Perm_LLVMArray $
ap { llvmArrayOffset = llvmArrayCellToOffset ap off,
ap { llvmArrayOffset = llvmArrayCellToAbsOffset ap off,
llvmArrayLen = len,
llvmArrayBorrows = [] }

Expand Down

0 comments on commit 308e87f

Please sign in to comment.