سؤال

I just read about how ASLR helps in preventing buffer overflow attacks and would like to have a look at its implementation.

Could someone offer a few pointers on where I could start looking? I would also love it if you could point me towards more reading material related to the same.

هل كانت مفيدة؟

المحلول

The implementation can naturally be found in the Linux kernel source tree. Even just grepping for.. randomize_va_space will turn up enough results to start on.

In the elf loader #ifdef arch_randomize_brk -> arch_randomize_brk -> randomize_range

نصائح أخرى

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top