Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Add --verify_common_dir option to cargo-verify #119

Merged
merged 2 commits into from
Mar 22, 2021
Merged

Add --verify_common_dir option to cargo-verify #119

merged 2 commits into from
Mar 22, 2021

Conversation

fshaked
Copy link
Contributor

@fshaked fshaked commented Mar 19, 2021

No description provided.

@fshaked fshaked requested a review from alastairreid March 19, 2021 15:50
@google-cla google-cla bot added the cla: yes Contributor has signed CLA label Mar 19, 2021
let mut cmd = Command::new("sea");
cmd.args(&["bpf",
Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, this looks like what I was asking for in the other, separated commit!
Moving this content into an external file.

ENV VERIFY_COMMON_DIR=/home/seahorn/verify-c-common

RUN git clone --no-checkout https://github.com/yvizel/verify-c-common.git ${VERIFY_COMMON_DIR} \
RUN git clone --no-checkout https://github.com/seahorn/verify-c-common.git ${VERIFY_COMMON_DIR} \
&& cd ${VERIFY_COMMON_DIR} \
&& git checkout ${VERIFY_COMMON_VERSION}
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you change the name of this environment variable to include the word "SEAHORN"?
Ditto for adding the command line argument to cargo-verify.

As it is, the directory does not look very "common" since it is SeaHorn specific and it's not obvious how we would generalize it for KLEE, SMACK, Crux or any other tool that we want to pass configuration files to.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@fshaked fshaked merged commit 09fe36d into main Mar 22, 2021
@fshaked fshaked deleted the seahorn-yama branch March 22, 2021 12:22
Copy link
Contributor

@alastairreid alastairreid left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Contributor has signed CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants