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

ProVerif backend: Translation of fns to letfuns #385

Merged
merged 17 commits into from
Jan 4, 2024

Conversation

jschneider-bensch
Copy link
Contributor

This PR includes basic translation of Rust fns into ProVerif letfun macros. The next steps would be separate treatment of those fns that have been annotated as ProVerif processes and hooking up known letfuns where possible (At the moment I've introduced dummy constructors up to arity 7 in order to generate syntactically valid, if useless, ProVerif for function calls).

Copy link
Collaborator

@W95Psp W95Psp left a comment

Choose a reason for hiding this comment

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

Thanks, I left some comments, but that looks generally good to me!

engine/backends/proverif/proverif_backend.ml Outdated Show resolved Hide resolved
engine/backends/proverif/proverif_backend.ml Outdated Show resolved Hide resolved
engine/backends/proverif/proverif_backend.ml Outdated Show resolved Hide resolved
engine/backends/proverif/proverif_backend.ml Outdated Show resolved Hide resolved
engine/backends/proverif/proverif_backend.ml Outdated Show resolved Hide resolved
Copy link
Collaborator

@W95Psp W95Psp left a comment

Choose a reason for hiding this comment

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

That looks good to me, let's get it in! :)

@jschneider-bensch
Copy link
Contributor Author

Thanks! I had experimented with moving the ProVerif toolchain tests into their own directory on this branch, but I've reverted that again, just now.

@W95Psp W95Psp added this pull request to the merge queue Jan 4, 2024
Merged via the queue into main with commit 7568be2 Jan 4, 2024
9 checks passed
@W95Psp W95Psp deleted the jonas/proverif-letfun-macros branch January 4, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants