Lines Matching refs:stack
11 stack::StackFrame,
24 stack: &[u8], in check_mem()
39 stack.as_ptr() as u64, in check_mem()
40 stack.len() in check_mem()
53 stack: &[u8], in check_mem()
62 if stack.as_ptr() as u64 <= addr && addr_end <= stack.as_ptr() as u64 + stack.len() as u64 { in check_mem()
72 stack.as_ptr() as u64, stack.len() in check_mem()
100 let stack = StackFrame::new(); in execute_program() localVariable
113 stack.as_ptr() as u64 + stack.len() as u64, in execute_program()
115 stacks.push(stack); in execute_program()
122 |stack: &[u8], addr: u64, len: usize, insn_ptr: usize| -> Result<(), Error> { in execute_program()
123 check_mem(addr, len, "load", insn_ptr, mbuff, mem, stack) in execute_program()
126 |stack: &[u8], addr: u64, len: usize, insn_ptr: usize| -> Result<(), Error> { in execute_program()
127 check_mem(addr, len, "store", insn_ptr, mbuff, mem, stack) in execute_program()
666 let mut stack = StackFrame::new(); in execute_program() localVariable
668 reg[10] = stack.as_ptr() as u64 + stack.len() as u64; in execute_program()
669 stacks.push(stack); in execute_program()
692 let stack = stacks.last().unwrap(); in execute_program() localVariable
694 reg[6..=9].copy_from_slice(&stack.get_registers()); in execute_program()
696 insn_ptr = stack.get_return_address() as usize; in execute_program()
698 reg[10] = stack.get_sp() as u64; in execute_program()