PIE affected by ASLR
PIE affected by ASLR
PIE (Position Independent Executable)
The instructions will be represented in relative address instead of absolute address.
ASLR (Address Space Layout Randomization)
Use random base address when the program is loaded to stack, heap, etc.
Purpose of my experiment
Understanding how ASLR affect the address.
Design experiment
Run a simple program (unstripped) and find where the "main function" in the program is. Does the address of the "main function" differs everytime I ...