Using the ASLR Function Provided by Linux

Note: ASLR is short for address space layout randomization. Enabling it can enhance the vulnerability attack defense capability.

Implementation guide: Write 2 in the /proc/sys/kernel/randomize_va_space file.