-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various tweaks for TACAS '25 artifact (#317)
* Tweak `make build` * Remove debug-ui examples' launch.json * Tweak debug-ui package.json * Debug ext: tweak installed Gillian behaviour * Add build stages to dockerfile * Reorganise debug examples * Tweak .gitignore * Fix mutation bug in lifters * Tweak path resolution in Gil_parsing * Fix LAction bugs in GInterpreter - Fix the first LAction success being indexed with 1 - Fix vanish when recovery gives `Ok []` * Support include paths in Kanillian * Add enums to Kanillian types * Kanillian: handle `continue` statement * Kanillian: handle +=, -=, etc. * Kanillian: handle comma expression * Kanillian: Fix enum casting * Kanillian: Add some missing float operations * Debug ext: Allow extra command-line args * Optionally dump annots with GIL code * Debug examples: Add collections-c, tweak others * Make debug logging quieter * Debug: parse and compile files via the lifter * Kanillian: support float-to-int casting * Kanillian: add internal calloc * Kanillian: improve compilation logging * pretty printing for all wisl commands * Kanillian: fix assume_type for enum, improve compiler log * Minor tweaks to Kani & WISL lifter behaviour * Kani lifter: fix uneval'd funcs overriding nest for eval'd ones * Kani lifter: Show errors encountered before canonical cmd * WISL & Kani lifters: Address corner cases when erroring in nest * Add fmt to makefile * Fix collections-c debug example * Tweak docker to not conflict with native deps * Squash docker image * Add CBMC to Docker image * Reorganise examples --------- Co-authored-by: Sacha Ayoun <sachaayoun@gmail.com>
- Loading branch information
1 parent
4cc7f8b
commit 86bc804
Showing
86 changed files
with
5,540 additions
and
27,125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,37 @@ | ||
FROM ocaml/opam:debian-ocaml-5.2 | ||
|
||
LABEL maintaner "Sacha \"Giltho\" Ayoun" | ||
# syntax=docker.io/docker/dockerfile:1.7-labs | ||
|
||
FROM ocaml/opam:debian-ocaml-5.2 AS build | ||
LABEL maintainer "Nat Karmios" | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN sudo apt-get update | ||
|
||
RUN sudo apt-get install libgmp-dev pkg-config libsqlite3-dev python3 z3 -y | ||
WORKDIR /home/opam/app/Gillian | ||
COPY --exclude=./_opam --exclude=**/_build . . | ||
RUN [ ! -f .docker_opam_cache ] || mv .docker_opam_cache ~/.opam/5.2 | ||
RUN opam update -y | ||
RUN opam install . --deps-only | ||
RUN opam exec -- dune build @all | ||
CMD [ "bash" ] | ||
|
||
RUN mkdir /home/opam/app | ||
|
||
FROM build AS test | ||
WORKDIR /home/opam/app | ||
|
||
RUN git clone https://github.com/GillianPlatform/javert-test262.git test262 | ||
|
||
RUN git clone https://github.com/GillianPlatform/collections-c-for-gillian.git collections-c | ||
|
||
WORKDIR /home/opam/app/Gillian | ||
CMD [ "bash" ] | ||
|
||
COPY . . | ||
|
||
RUN [ ! -f _opam ] || mv _opam ~/.opam/5.2 | ||
|
||
RUN opam update -y | ||
|
||
RUN opam install . --deps-only | ||
|
||
RUN opam exec -- dune build @all | ||
FROM build AS install | ||
RUN opam install . | ||
WORKDIR /home/opam/app | ||
ADD https://github.com/diffblue/cbmc/releases/download/cbmc-5.14.3/cbmc-5.14.3-Linux.deb cbmc.deb | ||
RUN sudo dpkg -i cbmc.deb | ||
RUN opam clean -y | ||
RUN sudo rm -rf cbmc.deb Gillian ~/opam-repository ~/.opam/5.2/.opam-switch/sources/* | ||
CMD [ "bash" ] | ||
|
||
FROM scratch AS run | ||
LABEL maintainer "Nat Karmios" | ||
COPY --from=install / / | ||
USER opam | ||
WORKDIR /home/opam/app | ||
CMD [ "bash" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.