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