Question
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
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?
Similar Questions
Discover Related MCQs
Q. What is a section in an executable image?
View solution
Q. What is the purpose of having different sections in an executable image?
View solution
Q. What is a code section in an executable image?
View solution
Q. What is an RVA in an executable image?
View solution
Q. What is an initialized data section in an executable image?
View solution
Q. Why do sections need to be page-aligned when an executable is loaded into memory?
View solution
Q. What are the two different kinds of alignment fields in the PE header?
View solution
Q. Why is alignment important when accessing an executable file?
View solution
Q. What is an RVA?
View solution
Q. What is the difference between section alignment and file alignment?
View solution
Q. What are DLLs?
View solution
Q. What is the benefit of using DLLs?
View solution
Q. How do DLLs differ from build-time static libraries?
View solution
Q. What happens when two executables are statically linked to the same library?
View solution
Q. What is a DLL?
View solution
Q. What is the benefit of using DLLs in a program?
View solution
Q. What is the difference between static linking and runtime linking?
View solution
Q. Which linking method is typically employed by most application programs?
View solution
Q. Why is static linking easier to deal with from a reversing standpoint?
View solution
Q. What is the purpose of the DOS header in a PE file?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Reverse Engineering? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!