BUUCTF PWN ciscn_2019_s_3


signed __int64 vuln()
{
  signed __int64 v0; // rax
  char buf[16]; // [rsp+0h] [rbp-10h] BYREF

  v0 = sys_read(0, buf, 0x400uLL);
  return sys_write(1u, buf, 0x30uLL);
}

检查过后发现
应该是栈溢出 跟网上出入很大 暂存