-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Unnecessary BPF verifier restriction on MUL64_IMM
#17520
Labels
Comments
Ready for feature gating as of #18869. Do you want to add the feature flag or should I? |
As we discussed you are going to add it next week, thanks! |
Lichtso
added a commit
to Lichtso/solana
that referenced
this issue
Jul 26, 2021
Lichtso
added a commit
that referenced
this issue
Aug 4, 2021
* Bumps solana_rbpf to v0.2.14 * Feature gate for verify_mul64_imm_nonzero as discussed in #17520.
Lichtso
added a commit
to Lichtso/solana
that referenced
this issue
Nov 17, 2021
* Feature gate for verify_mul64_imm_nonzero as discussed in solana-labs#17520.
Lichtso
added a commit
to Lichtso/solana
that referenced
this issue
Nov 17, 2021
* Feature gate for verify_mul64_imm_nonzero as discussed in solana-labs#17520.
Lichtso
added a commit
to Lichtso/solana
that referenced
this issue
Nov 17, 2021
* Feature gate for verify_mul64_imm_nonzero as discussed in solana-labs#17520.
Lichtso
added a commit
to Lichtso/solana
that referenced
this issue
Nov 24, 2021
* Feature gate for verify_mul64_imm_nonzero as discussed in solana-labs#17520.
Lichtso
added a commit
to Lichtso/solana
that referenced
this issue
Dec 3, 2021
* Feature gate for verify_mul64_imm_nonzero as discussed in solana-labs#17520.
Lichtso
added a commit
to Lichtso/solana
that referenced
this issue
Dec 3, 2021
* Feature gate for verify_mul64_imm_nonzero as discussed in solana-labs#17520.
Lichtso
added a commit
to Lichtso/solana
that referenced
this issue
Dec 3, 2021
* Feature gate for verify_mul64_imm_nonzero as discussed in solana-labs#17520.
Lichtso
added a commit
to Lichtso/solana
that referenced
this issue
Dec 3, 2021
* Feature gate for verify_mul64_imm_nonzero as discussed in solana-labs#17520.
Lichtso
added a commit
to Lichtso/solana
that referenced
this issue
Dec 3, 2021
* Feature gate for verify_mul64_imm_nonzero as discussed in solana-labs#17520.
t-nelson
pushed a commit
that referenced
this issue
Dec 4, 2021
* Feature gate for verify_mul64_imm_nonzero as discussed in #17520.
Lichtso
added a commit
to Lichtso/solana
that referenced
this issue
Dec 13, 2021
* Feature gate for verify_mul64_imm_nonzero as discussed in solana-labs#17520.
Lichtso
added a commit
to Lichtso/solana
that referenced
this issue
Dec 13, 2021
* Feature gate for verify_mul64_imm_nonzero as discussed in solana-labs#17520.
mvines
pushed a commit
that referenced
this issue
Dec 14, 2021
* Feature gate for verify_mul64_imm_nonzero as discussed in #17520.
This issue has been automatically locked since there has not been any activity in past 7 days after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Problem
The BPF verifier enforces a non-zero imm for the
MUL64_IMM
instruction when it doesn't need to here:solana/programs/bpf_loader/src/bpf_verifier.rs
Line 228 in 6b9d8d4
Proposed Solution
Featurize and remove this restriction
The text was updated successfully, but these errors were encountered: