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

Check if syscall is valid during verification #585

Merged
merged 4 commits into from
Sep 6, 2024

Conversation

LucasSte
Copy link

@LucasSte LucasSte commented Sep 5, 2024

Upon the activation of static syscalls, we'll no longer emit errors when a program contains an unknown syscall. This PR modifies the verifier so that we error out when this is the case.

tests/verifier.rs Outdated Show resolved Hide resolved
@LucasSte LucasSte marked this pull request as ready for review September 5, 2024 19:14
@LucasSte LucasSte requested a review from Lichtso September 5, 2024 19:14
tests/execution.rs Outdated Show resolved Hide resolved
tests/execution.rs Outdated Show resolved Hide resolved
@LucasSte LucasSte merged commit 9f8d7cb into solana-labs:main Sep 6, 2024
12 checks passed
@LucasSte LucasSte deleted the check-syscall branch September 6, 2024 19:57
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