Home | History | Annotate | Download | only in COFF
      1 !COFF
      2 header: !Header
      3   Machine: IMAGE_FILE_MACHINE_I386 # (0x14c)
      4   Characteristics: [ IMAGE_FILE_DEBUG_STRIPPED ]
      5 
      6 sections:
      7   - !Section
      8     Name: .text
      9     Alignment: 16
     10     Characteristics: [IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ, ] # 0x60500020
     11     SectionData:  !hex "83EC0CC744240800000000C7042400000000E800000000E8000000008B44240883C40CC3" # |....D$.......$...............D$.....|
     12 
     13     Relocations:
     14       - !Relocation
     15         VirtualAddress: 0xe
     16         SymbolName: L_.str
     17         Type: IMAGE_REL_I386_DIR32
     18 
     19       - !Relocation
     20         VirtualAddress: 0x13
     21         SymbolName: _puts
     22         Type: IMAGE_REL_I386_REL32
     23 
     24       - !Relocation
     25         VirtualAddress: 0x18
     26         SymbolName: _SomeOtherFunction
     27         Type: IMAGE_REL_I386_REL32
     28 
     29   - !Section
     30     Name: .data
     31     Alignment: 1
     32     Characteristics: [IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE, ] # 0xc0100040
     33     SectionData:  !hex "48656C6C6F20576F726C642100" # |Hello World!.|
     34 
     35 symbols:
     36   - !Symbol
     37     Name: .text
     38     Value: 0
     39     SectionNumber: 1
     40     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
     41     ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
     42     StorageClass: IMAGE_SYM_CLASS_STATIC # (3)
     43     SectionDefinition:
     44       Length:          36
     45       NumberOfRelocations: 3
     46       NumberOfLinenumbers: 0
     47       CheckSum:        0
     48       Number:          1
     49 
     50   - !Symbol
     51     Name: .data
     52     Value: 0
     53     SectionNumber: 2
     54     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
     55     ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
     56     StorageClass: IMAGE_SYM_CLASS_STATIC # (3)
     57     SectionDefinition:
     58       Length:          13
     59       NumberOfRelocations: 0
     60       NumberOfLinenumbers: 0
     61       CheckSum:        0
     62       Number:          2
     63 
     64   - !Symbol
     65     Name: _main
     66     Value: 0
     67     SectionNumber: 1
     68     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
     69     ComplexType: IMAGE_SYM_DTYPE_FUNCTION # (2)
     70     StorageClass: IMAGE_SYM_CLASS_EXTERNAL # (2)
     71 
     72   - !Symbol
     73     Name: L_.str
     74     Value: 0
     75     SectionNumber: 2
     76     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
     77     ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
     78     StorageClass: IMAGE_SYM_CLASS_STATIC # (3)
     79 
     80   - !Symbol
     81     Name: _puts
     82     Value: 0
     83     SectionNumber: 0
     84     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
     85     ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
     86     StorageClass: IMAGE_SYM_CLASS_EXTERNAL # (2)
     87 
     88   - !Symbol
     89     Name: _SomeOtherFunction
     90     Value: 0
     91     SectionNumber: 0
     92     SimpleType: IMAGE_SYM_TYPE_NULL # (0)
     93     ComplexType: IMAGE_SYM_DTYPE_NULL # (0)
     94     StorageClass: IMAGE_SYM_CLASS_EXTERNAL # (2)
     95 
     96