-
Notifications
You must be signed in to change notification settings - Fork 37
Add --verify_common_dir option to cargo-verify #119
Conversation
cargo-verify/src/seahorn.rs
Outdated
let mut cmd = Command::new("sea"); | ||
cmd.args(&["bpf", |
There was a problem hiding this comment.
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.
docker/seahorn/Dockerfile
Outdated
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} |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.