Closed robert-w-gries closed 6 years ago
process .context .set_base_pointer(stack.as_ptr() as usize + stack.len());
We need to multiply stack.len() by mem::size_of::<usize>() to get the proper offset.
stack.len()
mem::size_of::<usize>()
We need to multiply
stack.len()
bymem::size_of::<usize>()
to get the proper offset.