Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 39639

position-independent executable or position-independent code is code compiled in a way so that it can run unchanged when loaded at an arbitrary memory address (i.e. it does not depend on being at a fixed position in memory). Such executables provide extra protection against code reuse and return-oriented programming attacks by minimizing the quantity of gadgets that can be found in a static memory area in the software.

2 votes
1 answer
119 views

How is the data section dealt with in PIE?

According to my understanding, for the .rodata, the compiler can simply put it "next" to the .text section, because it shares the same page permissions, so wherever the binary is loaded, an instructio …
hehehe's user avatar
  • 21