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

Include new syscall instruction in the (dis)assembler #611

Merged
merged 3 commits into from
Oct 11, 2024

Conversation

LucasSte
Copy link

solana-foundation/solana-improvement-documents#178 proposed the opcode 0x95 for syscalls in SBPFv2.

This PR modifies the assembler and the disassembler to properly deal with the new opcode and instruction format. The verifier, jitter and interpreter will be modified in follow up PRs.

@LucasSte LucasSte marked this pull request as ready for review October 10, 2024 17:18
@LucasSte LucasSte requested a review from Lichtso October 10, 2024 17:18
src/assembler.rs Outdated Show resolved Hide resolved
src/ebpf.rs Outdated Show resolved Hide resolved
@LucasSte LucasSte force-pushed the sys-ver branch 2 times, most recently from d0466fe to 415fc80 Compare October 11, 2024 19:16
@LucasSte LucasSte requested a review from Lichtso October 11, 2024 19:43
@LucasSte LucasSte merged commit cd19a25 into solana-labs:main Oct 11, 2024
12 checks passed
@LucasSte LucasSte deleted the sys-ver branch October 11, 2024 22:33
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