jasmin icon indicating copy to clipboard operation
jasmin copied to clipboard

Test the extraction to EasyCrypt

Open eponier opened this issue 2 years ago • 1 comments

We were reported a few bugs (https://github.com/jasmin-lang/jasmin/issues/128, https://github.com/jasmin-lang/jasmin/issues/130, https://github.com/jasmin-lang/jasmin/issues/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).

eponier avatar May 13 '22 12:05 eponier

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

tfaoliveira avatar May 13 '22 13:05 tfaoliveira