Gate pointer alignment enforcement (#12176)

This commit is contained in:
Jack May
2020-09-11 11:07:03 -07:00
committed by GitHub
parent de4a613610
commit ae7b15f062
4 changed files with 228 additions and 101 deletions

View File

@@ -60,7 +60,7 @@ pub enum BPFError {
impl UserDefinedError for BPFError {}
pub fn create_vm<'a>(
loader_id: &Pubkey,
loader_id: &'a Pubkey,
prog: &'a [u8],
parameter_accounts: &'a [KeyedAccount<'a>],
invoke_context: &'a mut dyn InvokeContext,