-
Notifications
You must be signed in to change notification settings - Fork 62
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
Remove deprecated java commands #1005
Conversation
As yet I have not removed the integration tests that use the old java verification commands. I wasn't sure whether they should just be removed, or maybe we should instead update them all to use the new verification commands instead. Broken tests include Which reminds me, I suppose I should also remove the old-style ecdsa proof, and rename |
Thanks for doing this! As you suggest, I think I'd like to have those broken tests updated to use the Crucible alternatives if possible before merging. In cases where that really doesn't make sense, though, perhaps we can just remove them. |
I tried adapting
Apparently we haven't needed to use any 8-bit integers in any of our more recent examples. It should be pretty easy to fix this. But as it's kind of orthogonal, maybe that fix should go into a separate PR. |
Yeah, that makes sense to me. |
I have a fix for the "unimplemented type char" error in #1008. We should get that PR merged before this one; then I can update the |
After merging #1008 I took another look at I realized that the original test actually doesn't specify any tactic to use (there is no So it seems like this purported "test" is actually completely bogus. Maybe the spec was actually correct at one time, and the proof used to actually work, and then there was a regression that we never noticed because the test doesn't run the proof? Or maybe the spec was always wrong? I don't know! There are no comments at all in the test script. I don't even know what this test is really supposed to test. I'm not sure what I should do about it. @atomb: It looks like you were the last person to edit the proof script (dd7121b and ae78026). Do you remember anything about this? |
Oh, nice! :-P It's been a while, so I don't remember much about that example. It would be nice to have at least one non-trivial test beyond the ECDSA one, though. I wonder what it looks like using |
It sounds like it would be worthwhile to resurrect that test case and verify that MD5 algorithm with the new jvm verification commands. I'll open a ticket for that and get to work on it. |
Thanks, @brianhuffman! |
This PR is waiting on #1011 to get merged first. |
ad4e48f
to
c7ac00f
Compare
It looks like Subdirectories |
c7ac00f
to
6f58552
Compare
I was suprised to see that the CI shows integration test I'm making a patch now that will update |
Yeah, using the |
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.
It is very satisfying to see this much code going away. :)
This commit only removes the declarations from the saw-script interpreter; it does not actually remove their implementation code. The following primitives are removed: - java_var - java_class_var - java_may_alias - java_assert - java_assert_eq - java_ensure_eq - java_return - java_verify-tactic - java_sat_branches - java_no_simulate - java_allow_alloc - java_requires_class - java_pure - java_extract - java_symexec - java_verify
# Conflicts: # src/SAWScript/JavaBuiltins.hs
6f58552
to
025f86e
Compare
This removes all the deprecated java-related commands, and also removes the dependency on the jvm-verifier package.
Fixes #993.