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

[WIP] Refactor extraction to build an easycrypt AST, then pretty-print it. #846

Merged
merged 3 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
- Improve handling of instruction `LEA` in the safety checker
([PR #900](https://github.com/jasmin-lang/jasmin/pull/900)).

- Extraction to EasyCrypt for safety verification is now removed, it was
deprecated in the previous release
([PR #846](https://github.com/jasmin-lang/jasmin/pull/846)).

# Jasmin 2024.07.0 — Sophia-Antipolis, 2024-07-09

Expand Down
4 changes: 0 additions & 4 deletions compiler/src/CLI_errors.ml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ let check_options () =
then warning Experimental Location.i_dummy
"support for windows calling-convention is experimental";

if !model = Safety
then warning Deprecated Location.i_dummy
"the [-safety] option has been deprecated since June 2024";

if !target_arch = ARM_M4
then warning Experimental Location.i_dummy
"support of the ARMv7 architecture is experimental";
Expand Down
2 changes: 0 additions & 2 deletions compiler/src/glob_options.ml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ let set_slice f =
slice := f :: !slice

let set_constTime () = model := ConstantTime
let set_safety () = model := Safety

let set_checksafety () = check_safety := true
let set_safetyparam s = safety_param := Some s
Expand Down Expand Up @@ -183,7 +182,6 @@ let options = [
"-oecarray" , Arg.String set_ec_array_path, "[dir] Output easycrypt array theories to the given path";
"-CT" , Arg.Unit set_constTime , " Generate model for constant time verification";
"-slice" , Arg.String set_slice , "[f] Keep function [f] and everything it needs";
"-safety", Arg.Unit set_safety , " Generate model for safety verification (deprecated)";
"-checksafety", Arg.Unit set_checksafety, " Automatically check for safety";
"-safetyparam", Arg.String set_safetyparam,
" Parameter for automatic safety verification:\n \
Expand Down
Loading