Home | History | Annotate | Download | only in COFF
      1 header: !Header
      2   Machine: IMAGE_FILE_MACHINE_AMD64 # (0x8664)
      3 
      4 sections:
      5   - !Section
      6     Name: .text
      7     Alignment: 16
      8     Characteristics: [IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ, ] # 0x60500020
      9     SectionData:  !hex "4883EC28C744242400000000488D0D00000000E800000000E8000000008B4424244883C428C3" # |H..(.D$$....H.................D$$H..(.|
     10 
     11     Relocations:
     12       - !Relocation
     13         VirtualAddress: 0xf
     14         SymbolName: L.str
     15         Type: IMAGE_REL_AMD64_REL32
     16 
     17       - !Relocation
     18         VirtualAddress: 0x14
     19         SymbolName: puts
     20         Type: IMAGE_REL_AMD64_REL32
     21 
     22       - !Relocation
     23         VirtualAddress: 0x19
     24         SymbolName: SomeOtherFunction
     25         Type: IMAGE_REL_AMD64_REL32
     26 
     27   - !Section
     28     Name: .data
     29     Alignment: 1
     30     Characteristics: [IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE, ] # 0xc0100040
     31     SectionData:  !hex "48656C6C6F20576F726C642100" # |Hello World!.|
     32 
     33 symbols:
     34   - !Symbol
     35     Name: .text
     36     Value: 0
     37     SectionNumber: 1
     38     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
     39     ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
     40     StorageClass: IMAGE_SYM_CLASS_STATIC # (3)
     41     NumberOfAuxSymbols: 1
     42     AuxiliaryData:  !hex "260000000300000000000000010000000000" # |&.................|
     43 
     44   - !Symbol
     45     Name: .data
     46     Value: 0
     47     SectionNumber: 2
     48     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
     49     ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
     50     StorageClass: IMAGE_SYM_CLASS_STATIC # (3)
     51     NumberOfAuxSymbols: 1
     52     AuxiliaryData:  !hex "0D0000000000000000000000020000000000" # |..................|
     53 
     54   - !Symbol
     55     Name: main
     56     Value: 0
     57     SectionNumber: 1
     58     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
     59     ComplexType: IMAGE_SYM_DTYPE_FUNCTION # (2)
     60     StorageClass: IMAGE_SYM_CLASS_EXTERNAL # (2)
     61 
     62   - !Symbol
     63     Name: L.str
     64     Value: 0
     65     SectionNumber: 2
     66     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
     67     ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
     68     StorageClass: IMAGE_SYM_CLASS_STATIC # (3)
     69 
     70   - !Symbol
     71     Name: puts
     72     Value: 0
     73     SectionNumber: 0
     74     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
     75     ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
     76     StorageClass: IMAGE_SYM_CLASS_EXTERNAL # (2)
     77 
     78   - !Symbol
     79     Name: SomeOtherFunction
     80     Value: 0
     81     SectionNumber: 0
     82     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
     83     ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
     84     StorageClass: IMAGE_SYM_CLASS_EXTERNAL # (2)
     85 
     86