のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

object1.c

>cl object.c

>dumpbin object.obj

Microsoft (R) COFF/PE Dumper Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

Dump of file object.obj

File Type: COFF OBJECT
  Summary
          A0 .debug$S
          2F .drectve
           7 .text


>dumpbin /headers object.obj

Dump of file object.obj

File Type: COFF OBJECT
FILE HEADER VALUES
             14C machine (x86)
               3 number of sections
        4F2B422B time date stamp Fri Feb 03 11:10:51 2012
             162 file pointer to symbol table
               9 number of symbols
               0 size of optional header
               0 characteristics

SECTION HEADER #1
  .drectve name
       0 physical address
       0 virtual address
      2F size of raw data
      8C file pointer to raw data (0000008C to 000000BA)
       0 file pointer to relocation table
       0 file pointer to line numbers
       0 number of relocations
       0 number of line numbers
  100A00 flags
         Info
         Remove
         1 byte align

SECTION HEADER #2
  .debug$S name
       0 physical address
       0 virtual address
      A0 size of raw data
      BB file pointer to raw data (000000BB to 0000015A)
       0 file pointer to relocation table
       0 file pointer to line numbers
       0 number of relocations
       0 number of line numbers
42100040 flags
         Initialized Data
         Discardable
         1 byte align
         Read Only

SECTION HEADER #3
  .text name
       0 physical address
       0 virtual address
       7 size of raw data
     15B file pointer to raw data (0000015B to 00000161)
       0 file pointer to relocation table
       0 file pointer to line numbers
       0 number of relocations
       0 number of line numbers
60500020 flags
         Code
         16 byte align
         Execute Read

  Summary
          A0 .debug$S
          2F .drectve
           7 .text

>dumpbin /symbols object.obj

Dump of file object.obj

File Type: COFF OBJECT

COFF SYMBOL TABLE
000 00837809 ABS    notype       Static       | @comp.id
001 00000001 ABS    notype       Static       | @feat.00
002 00000000 SECT1  notype       Static       | .drectve
    Section length   2F, #relocs    0, #linenums    0, checksum        0
004 00000000 SECT2  notype       Static       | .debug$S
    Section length   A0, #relocs    0, #linenums    0, checksum        0
006 00000000 SECT3  notype       Static       | .text
    Section length    7, #relocs    0, #linenums    0, checksum 96F779C9
008 00000000 SECT3  notype ()    External     | _main

String Table Size = 0x0 bytes

  Summary

          A0 .debug$S
          2F .drectve
           7 .text

>dumpbin /disasm object.obj

Dump of file object.obj

File Type: COFF OBJECT

_main:
  00000000: 55                 push        ebp
  00000001: 8B EC              mov         ebp,esp
  00000003: 33 C0              xor         eax,eax
  00000005: 5D                 pop         ebp
  00000006: C3                 ret

  Summary

          A0 .debug$S
          2F .drectve
           7 .text

>dumpbin /rawdata object.obj

Dump of file object.obj

File Type: COFF OBJECT

RAW DATA #1
  00000000: 20 20 20 2F 44 45 46 41 55 4C 54 4C 49 42 3A 22     /DEFAULTLIB:"
  00000010: 4C 49 42 43 4D 54 22 20 2F 44 45 46 41 55 4C 54  LIBCMT" /DEFAULT
  00000020: 4C 49 42 3A 22 4F 4C 44 4E 41 4D 45 53 22 20     LIB:"OLDNAMES"

RAW DATA #2
  00000000: 04 00 00 00 F1 00 00 00 94 00 00 00 56 00 01 11  ....ñ.......V...
  00000010: 00 00 00 00 44 3A 5C 55 73 65 72 73 5C 6D 5F 66  ....D:\Users\xxx
  00000020: 75 6A 69 69 5C 44 6F 63 75 6D 65 6E 74 73 5C 56  xxxx\Documents\V
  00000030: 69 73 75 61 6C 20 53 74 75 64 69 6F 20 32 30 30  isual Studio 200
  00000040: 38 5C 50 72 6F 6A 65 63 74 73 5C 6F 62 6A 65 63  8\Projects\objec
  00000050: 74 5C 6F 62 6A 65 63 74 5C 6F 62 6A 65 63 74 2E  t\object\object.
  00000060: 6F 62 6A 00 3A 00 3C 11 00 22 00 00 07 00 0F 00  obj.:.<.."......
  00000070: 00 00 09 78 01 00 0F 00 00 00 09 78 01 00 4D 69  ...x.......x..Mi
  00000080: 63 72 6F 73 6F 66 74 20 28 52 29 20 4F 70 74 69  crosoft (R) Opti
  00000090: 6D 69 7A 69 6E 67 20 43 6F 6D 70 69 6C 65 72 00  mizing Compiler.

RAW DATA #3
  00000000: 55 8B EC 33 C0 5D C3                             U.&#236;3&#192;]&#195;

  Summary

          A0 .debug$S
          2F .drectve
           7 .text