adplus-dvertising
frame-decoration

Question

Why are relocations important for executable files?

a.

They prevent cross-references in the code

b.

They ensure that the file is loaded only once

c.

They calculate the exact address of the global variable

d.

They modify absolute addresses in the code to point to the right place

Posted under Reverse Engineering

Answer: (d).They modify absolute addresses in the code to point to the right place Explanation:Relocations modify absolute addresses in the code to make sure that they point to the right place when the file is loaded.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Why are relocations important for executable files?