Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set and use writability permission bits on JVM static fields #1293

Merged
merged 5 commits into from
May 14, 2021

Conversation

brianhuffman
Copy link
Contributor

This PR updates crucible to include GaloisInc/crucible#733. Fixes #1066.

Note: This is the first half of the draft PR #1290; it includes the subset of the crucible changes that have been merged so far.

Brian Huffman added 5 commits May 14, 2021 14:05
@brianhuffman brianhuffman force-pushed the jvm-static-field-writable branch from eb99262 to 7aa7301 Compare May 14, 2021 21:06
@brianhuffman brianhuffman requested a review from atomb May 14, 2021 21:06
@brianhuffman brianhuffman added the PR: ready to merge Magic flag for pull requests to ask Mergify to merge given an approval and a successful CI run label May 14, 2021
fails (jvm_verify c "set" [] false set_spec_1 z3);

// It should be impossible to verify the bogus set_spec_2.
// FIXME: this should fail
Copy link
Contributor

Choose a reason for hiding this comment

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

Am I right in understanding that making this fail, as it should, is the "second half" of #1290?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's exactly right.

@mergify mergify bot merged commit 7775bd8 into master May 14, 2021
@mergify mergify bot deleted the jvm-static-field-writable branch May 14, 2021 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: ready to merge Magic flag for pull requests to ask Mergify to merge given an approval and a successful CI run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JVM methods that write to static fields not mentioned in the spec can be unsound
2 participants