-
Notifications
You must be signed in to change notification settings - Fork 177
Add option to disable ldabs* and ldind* instructions #251
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would make more sense to move these checks into https://github.com/solana-labs/rbpf/blob/main/src/verifier.rs
I have started moving the checks to the verifier, but then noticed this: https://github.com/solana-labs/solana/blob/aadf4b9b63e2e754c8e2b96ea1b852c9d622d9bd/programs/bpf_loader/src/lib.rs#L157 bpf_loader doesn't use the verifier and rightly so imo - it's an extra pass over all the instructions and seems to do very minimal verification anyway. |
ea9a33a
to
815b30d
Compare
The call to the verifier is separated to measure the time spent there (I guess): But the verification pass should definitively happen. |
Part of the SBF cleanup effort.
815b30d
to
03a8b4c
Compare
This PR addressed two more items in solana-labs/solana#34250. It removes the little endian byte swap instructions (solana-labs/rbpf#493) and the input buffers related instructions (solana-labs/rbpf#251).
This PR addressed two more items in solana-labs/solana#34250. It removes the little endian byte swap instructions (solana-labs/rbpf#493) and the input buffers related instructions (solana-labs/rbpf#251).
This PR addressed two more items in solana-labs/solana#34250. It removes the little endian byte swap instructions (solana-labs/rbpf#493) and the input buffers related instructions (solana-labs/rbpf#251).
This PR addressed two more items in solana-labs/solana#34250. It removes the little endian byte swap instructions (solana-labs/rbpf#493) and the input buffers related instructions (solana-labs/rbpf#251).
This PR addressed two more items in solana-labs/solana#34250. It removes the little endian byte swap instructions (solana-labs/rbpf#493) and the input buffers related instructions (solana-labs/rbpf#251).
Part of the SBFv2 cleanup effort solana-labs/solana#20323