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

Test the extraction to EasyCrypt #136

Closed
eponier opened this issue May 13, 2022 · 1 comment · Fixed by #260
Closed

Test the extraction to EasyCrypt #136

eponier opened this issue May 13, 2022 · 1 comment · Fixed by #260
Labels
CI continuous integration

Comments

@eponier
Copy link
Contributor

eponier commented May 13, 2022

We were reported a few bugs (#128, #130, #135) of the extraction to EasyCrypt recently, it would be good to have tests for it, because it seems we have none for the moment. The tests would be complementary to having libjade in the CI (which would be good too).

@tfaoliveira
Copy link
Member

After reading this issue I ran some experiments on compiler/examples/. You can find some files attached to this message. I extracted each function from each file under this directory (at the top of each file you can see the command that I used to achieve this):

For this test, the missing operators are:

named `adc_64
named `Array16
named `Array8
named `MOV_64
named `sbb_64

And there are also some "Assertion failed":

"src/toEC.ml", line 480
"src/toEC.ml", line 721

bgregoir pushed a commit that referenced this issue May 17, 2022
* Fix assert false in EC extraction (#136)

* Fix another assert false in EC extraction (#136)
@vbgl vbgl added the CI continuous integration label Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI continuous integration
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants