Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants