adplus-dvertising
frame-decoration

Question

Why do sections need to be page-aligned when an executable is loaded into memory?

a.

To make the executable smaller on disk

b.

To make the executable faster when it is running

c.

To ensure that the memory manager can apply the correct access settings

d.

None of the above

Posted under Reverse Engineering

Answer: (c).To ensure that the memory manager can apply the correct access settings Explanation:Sections need to be page-aligned when an executable is loaded into memory so that the memory manager can apply the correct access settings.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Why do sections need to be page-aligned when an executable is loaded into memory?