-
Notifications
You must be signed in to change notification settings - Fork 23
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 fn
s to letfun
s
#385
Conversation
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.
Thanks, I left some comments, but that looks generally good to me!
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.
That looks good to me, let's get it in! :)
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. |
This PR includes basic translation of Rust
fn
s into ProVerifletfun
macros. The next steps would be separate treatment of thosefn
s that have been annotated as ProVerif processes and hooking up knownletfun
s 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).