-
Notifications
You must be signed in to change notification settings - Fork 42
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
crucible: Typed overrides #1135
Labels
Comments
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Several Crucible frontends (jvm, llvm, go) make use of types that include:
forall bak. IsSymBackend sym bak => bak -> Ctx.Assignment (RegValue sym) args -> OverrideSim p sym ext rtp args ret (RegValue sym ret)
CtxRepr args
TypeRepr ret
Several language extensions make use of the LLVM memory model (e.g., LLVM, WASM, and Macaw), and could concievably share override implementations relating to memory. One could also imagine sharing implementations of overrides like
crucible_assert
. To make this task easier, it would be nice to unify these notions of "typed overrides", by adding a type to the base Crucible library and using it in the different frontends.The text was updated successfully, but these errors were encountered: