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

Clarify the workflow of Proof Carrying Code #1168

Open
andrew-johnson-4 opened this issue Jan 26, 2025 · 0 comments
Open

Clarify the workflow of Proof Carrying Code #1168

andrew-johnson-4 opened this issue Jan 26, 2025 · 0 comments
Assignees
Labels

Comments

@andrew-johnson-4
Copy link
Owner

Based on my own experience and theory of how this should work, strongly verifiable code happens in three separate steps.

  1. Code is written to implement some core functionality
    • this code may be slightly fragile or even buggy
    • changing requirements make it hard to maintain this code without introducing bugs
  2. Global rules (usually just best practices) are created to tame the bugs
    • in proof carrying code, these are actual verifiable assertions
    • i.e. double free will never happen
  3. Original Code is annotated with type hints to prove that it satisfies the global rules
    • this process greatly strengthens the original code
    • it is now easier to make changes to original code without worrying about unintended consequences
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant