Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Stack canary, address-space layout randomisation, non-executable memory, control-flow integrity » ?

Aussi appelé : stack canary · address-space layout randomisation · non-executable memory · control-flow integrity

Definition 29.3 University Computer Science — Year 3 · Chapitre 29 — Software Security

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.

Lire dans le chapitre →