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

Proof-carrying code: followup improvements #7479

Open
5 tasks
cfallin opened this issue Nov 4, 2023 · 3 comments
Open
5 tasks

Proof-carrying code: followup improvements #7479

cfallin opened this issue Nov 4, 2023 · 3 comments

Comments

@cfallin
Copy link
Member

cfallin commented Nov 4, 2023

After initial support is landed for PCC (#6090), we can extend it in a bunch of directions:

  • Add PCC flag to fuzzed option set, and resolve any PCC failures (false positives rather than real compiler bugs, hopefully!) as they occur
  • Consider turning on PCC by default in Wasmtime for at least for some configurations (e.g., static memories / no bounds-checking, where it is simplest and least likely to have false positives)
  • Build a "permissive" mode where errors are logged (to log::warn!, stderr, or some other side-channel?) without failing compilation; perhaps use this for on-by-default deployment before turning on a strict-enforcing mode
  • Use PCC facts to verify compilation of table accesses
  • Use PCC facts to verify other properties, e.g. invariants of Wasm GC when we have it
@fitzgen
Copy link
Member

fitzgen commented Nov 8, 2023

  • Use PCC facts to verify global accesses

(really every load/store other than stack slots should ideally be checked)

@fitzgen
Copy link
Member

fitzgen commented Nov 8, 2023

  • support memory64

@fitzgen
Copy link
Member

fitzgen commented Nov 8, 2023

  • support non-spectre bounds checks modes

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

No branches or pull requests

2 participants