SHARE
TWEET

Untitled

a guest Jul 18th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void foo()
  2. {
  3.     RSP -= 64;          // allocate stack frame of size 64
  4.     foo_frame_t* frame = RSP;
  5.     ...
  6.     frame->local_var_x = 1; // store to a local var
  7.     ...
  8.     RSP += 64;  // deallocate stack frame
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top