COMer
COMer

Reputation: 1137

About the code section of PE format

  1. Is it true that entry-point always belongs to code section?
  2. Is the code section consecutive or divided into several blocks?

Upvotes: 1

Views: 1304

Answers (2)

mox
mox

Reputation: 6324

AND the code section can have any name! The code section is typically named '.text', but it can be named 'UPX' (when compressed with upx) or it could be named '+s8%4x' or 'data' or even have no name at all!!

Upvotes: 3

Faisal Feroz
Faisal Feroz

Reputation: 12785

  1. Yes the entry-point always belongs to the code section.
  2. Code section CAN be divided into several blocks.

Take a look at this article for more information.

Upvotes: 3

Related Questions