Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Stack canary, address-space layout randomisation, non-executable memory, control-flow integrity?

Dikenal juga sebagai: stack canary · address-space layout randomisation · non-executable memory · control-flow integrity

Definition 29.3 University Computer Science — Year 3 · Bab 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.

Baca dalam konteks →