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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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 user 27930

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.

1
vote
Detection by analysing assembly It will highly depend on the compiler used, but here are some constructions that will differ between position independent and position dependent code: if you spot a …
answered Jun 14 by bart1e
1
vote
Yes, it is possible while compiling with clang: clang -o helloworld helloworld.c. To test it, run: export LD_DEBUG=reloc,symbols ./helloWorld with LD_BIND_NOW null and then with LD_BIND_NOW equal 1 …
answered Jun 9 by bart1e