A stack canary is a value that the compiler stores between a function’s arrays and its saved registers on entry, and checks on exit, ending the program if it changed. Address-space layout randomisation (ASLR) loads the stack, the heap, the libraries and the program at random addresses at each run, so that an attacker cannot know where code or data lies. Non-executable memory marks the stack and the heap as not executable, so that bytes written there cannot run as instructions. Control-flow integrity (CFI) checks at run time that every indirect jump, call and return goes to a target that the program’s code allows.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Stack canary, address-space layout randomisation, non-executable memory, control-flow integrity?
又称: stack canary · address-space layout randomisation · non-executable memory · control-flow integrity