Mar 17, 2010PIE is to support address space layout randomization (ASLR) in executable files. Before the PIE mode was created, the program's executable What does -pie do exactly? - Stack OverflowWhat is -no-pie used for? - Stack OverflowCompiling with ASLR(-pie) causes the executable to be seen as Difference between "-fno-pie" and "-no-pie" - gcc - Stack OverflowMore results from stackoverflow.com
Mar 17, 2010PIE is to support address space layout randomization (ASLR) in executable files. Before the PIE mode was created, the program's executable What does -pie do exactly? - Stack OverflowWhat is -no-pie used for? - Stack OverflowCompiling with ASLR(-pie) causes the executable to be seen as Why does modern GCC compile files as PIE by default?More results from stackoverflow.com
Mar 17, 2010PIE is to support address space layout randomization (ASLR) in executable files. Before the PIE mode was created, the program's executable What does -pie do exactly? - Stack OverflowWhat is -no-pie used for? - Stack OverflowWhat are the differences comparing PIE, PIC code and executable Compiling with ASLR(-pie) causes the executable to be seen as More results from stackoverflow.com
The PIE compile option is required to be enabled in order for the operating system to use ASLR (Address Space Layout Randomization). ASLR is a mitigation against memory vulnerabilities, such as buffer overflow.