Advanced Assembly Language
Q95 / 100

What is the difference between PIC and PIE?

Correct! Well done.

Incorrect.

The correct answer is B) PIC is for shared libraries; PIE (Position Independent Executable) applies the same technique to executables, enabling ASLR for the main program

B

Correct Answer

PIC is for shared libraries; PIE (Position Independent Executable) applies the same technique to executables, enabling ASLR for the main program

Explanation

PIE executables use relative addressing and can be loaded at random base addresses by ASLR. Required for full ASLR protection of the main executable.

Progress
95/100