Understanding Delphi MAP File

后端 未结 3 1675
囚心锁ツ
囚心锁ツ 2021-02-07 23:19

Here is the sample of MAP file from my test project...

.......
 .......
 .......
 0001:001EFC14 00000020 C=CODE     S=.text    G=(none)   M=Vcl.CategoryButtons A         


        
3条回答
  •  心在旅途
    2021-02-07 23:36

    According to this Embarcadero docwiki page the A, C and B are for Alignment, Combination and "Big". It seems the page does not explain what the P means. The hex value is a mask, although as far as I can see it doesn't list all values. (The listed values don't allow for an odd value for instance)

    Alignment

    • 00 - An absolute segment
    • 20 - A byte-aligned segment
    • 40 - A word-aligned segment
    • 60 - A paragraph-aligned segment
    • 80 - A page-aligned segment
    • A0 - An unnamed absolute portion of storage

    Combination

    • 00 - Cannot be combined
    • 08 - A public combining segment

    Big (for 16 bit)

    • 00 - Segment less than 64 K
    • 02 - Segment exactly 64K

提交回复
热议问题