objdump

objdump(1)                   GNU Development Tools                  objdump(1)



åå
       objdump - ãªãã¸ã§ã¯ããã¡ã¤ã«ã®æå ±ã表示ãã


æ¸å¼
       objdump
              [-a|--archive-headers] [-b bfdname | --target=bfdname]
              [-C|--demangle] [--debugging] [-d|--disassemble]
              [-D|--disassemble-all] [--disassemble-zeroes]
              [-EB|-EL|--endian={big|little}] [-f|--file-headers]
              [-h|--section-headers | --headers] [-i|--info] [-j section |
              --section=section] [-l|--line-numbers] [-m machine |
              --architecture=machine] [--prefix-addresses] [-r|--reloc]
              [-R|--dynamic-reloc] [-s|--full-contents] [-S|--source]
              [--[no-]show-raw-insn] [--stabs] [-t|--syms] [-T|--dynamic-syms]
              [-x|--all-headers] [--start-address=address]
              [--stop-address=address] [--adjust-vma=offset] [--version]
              [--help] objfile...

説æ
       objdump ã¯æå®ãããã²ã¨ã¤ä»¥ä¸ã®ãªãã¸ã§ã¯ããã¡ã¤ã«ã«ã¤ãã¦ããã®æå ±ã表示ã
       ãããªãã·ã§ã³ã§è¡¨ç¤ºããæå ±ã®ç¨®é¡ãæå®ã§ããããã®æå ±ã¯ã³ã³ãã¤ã«ãã¼
       ã«ã«é¢ããä½æ¥ããã¦ããããã°ã©ãã¼ã«ã¨ã£ã¦ãã£ã¨ãæçã§ããããéã« åã«èªåã®ãã‐
       ã°ã©ã ãã³ã³ãã¤ã«ãã¦å®è¡ããã¦ããã ãã®å ´åã«ã¯ãã¾ã å½¹ã«ç«ããªããããããªãã

       objfile ã¯èª¿ã¹ããªãã¸ã§ã¯ããã¡ã¤ã«ã§ãããæ¸åº« (archive) ãæå®ããå ´åã«ã¯ã
       objdump ã¯æ¸åº«ã®ã¡ã³ãã¼ã§ãããªãã¸ã§ã¯ããã¡ã¤ã«ããããã«ã¤ãã¦ã®æå ±ã表示
       ããã


ãªãã·ã§ã³
       é·ãå½¢å¼ã¨çãå½¢å¼ãä½µè¨ããã¦ããå ´åã¯ããããã¯ç価ã§ãããå°ãªã㨠ã -l
       (--line-numbers) 以å¤ã®ãªãã·ã§ã³ãã²ã¨ã¤æå®ããªããã°ãªããªãã


       -a

       --archive-headers
              objfile ã«æ¸åº«ãå«ã¾ãã¦ããå ´åã¯ãæ¸åº«ã®ãããæå ±ã ls -l
              ã®ãããªå½¢å¼ã§è¡¨ç¤ºããã ar tv ã«ãã£ã¦å¾ãããæå ±ã«å ãã objdump -a
              ã§ã¯ããããã®æ¸åº«ã¡ã³ãã¼ã®ãªãã¸ã§ã¯ããã¡ã¤ã«ãã©ã¼ãããã表示ããã


       --adjust-vma=offset
              æå ±ããã³ãããã¨ãã«ãã¾ã offset
              ãå¨ã¦ã®ã»ã¯ã·ã§ã³ã¢ãã¬ã¹ã«å ãããããã¯ã»ã¯ã·ã§ã³ã¢ãã¬ã¹ãã·ã³ãã«
              ãã¼ãã«ã«é¢é£ä»ãããã¦ããªãã¨ãã«ä¾¿å©ã§ããããã®ãããªç¶æ³ãèµ·ãã ã®ã¯ã
              a.out ã®ããã«ã»ã¯ã·ã§ã³ã¢ãã¬ã¹ãæã¦ãªããã©ã¼ãããã®ä½¿ç¨æ
              ã«ãã»ã¯ã·ã§ã³ãç¹å®ã®ã¢ãã¬ã¹ã«ç½®ãå ´åãªã©ã§ããã


       -b bfdname

       --target=bfdname
              ãªãã¸ã§ã¯ããã¡ã¤ã«ã®ãªãã¸ã§ã¯ãã³ã¼ããã©ã¼ãããã bfdname
              ã¨ãã¦åãæ±ããé常ããã¯å¿è¦ã§ã¯ãªãã objdump
              ã¯èªåçã«å¤ãã®ãã©ã¼ããããèªèã§ãããä¾ãã°

              objdump -b oasys -m vax -h fu.o

              ã¨ããã° fu.o ã®ã»ã¯ã·ã§ã³ããã (`-h') ã表示ãããããã®é fu.o 㯠Oasys
              ã³ã³ãã¤ã©ã«ãã£ã¦çæããããã©ã¼ãããã® Vax ãªãã¸ã§ã¯ããã¡
              ã¤ã«ã§ããã¨ãã¦åãæ±ããããæå®å¯è½ãªãã©ã¼ãããã®ãªã¹ã㯠`-i'
              ãªãã·ã§ã³ã«ãã£ã¦å¾ãããã


       -C

       --demangle
              ä½ã¬ãã«ã®ã·ã³ãã«åãã¦ã¼ã¶ã¼ã¬ãã«ã®ã·ã³ãã«åã«ãã³ã¼ã (demangle)
              ããããã®ã¨ãã·ã¹ãã ã«ãã£ã¦åç½®ãããã¢ã³ãã¼ã¹ã³
              ã¢ãåé¤ãããããã®æä½ã«ãã£ã¦ C++ ã®é¢æ°åãå¯èªã«ãªãã


       --debugging
              ãããã°æå ±ã表示ããããã¡ã¤ã«ä¸ã®ãããã°æå ±ã解æãã¦ã C ã®ãã
              ãªææ³ã§è¡¨ç¤ºãããã¨è©¦ã¿ãã対å¿ãã¦ãããããã°æå ±ã®å½¢å¼ã¯ãã¾ãå¤ã
              ãªãã


       -d

       --disassemble
              objfile
              ã®æ©æ¢°èªå½ä»¤ã«å¯¾å¿ããã¢ã»ã³ãã©ã®ãã¼ã¢ããã¯ã表示ããããã®ãªãã·ã§
              ã³ã¯ãå½ä»¤ãå«ãã¨æãããã»ã¯ã·ã§ã³ã®ã¿ãéã¢ã»ã³ãã«ããã


       -D

       --disassemble-all
              -d ã¨ä¼¼ã¦ããããå½ä»¤ãå«ãã¨æãããã»ã¯ã·ã§ã³ã ãã§ãªããå¨ã¦ã®ã»ã¯ã·ã§
              ã³ãéã¢ã»ã³ãã«ããã


       --prefix-addresses
              éã¢ã»ã³ãã«ããã¨ããããããã®è¡ã«çµ¶å¯¾ã¢ãã¬ã¹ã表示ãããããã¯å¤ã
              éã¢ã»ã³ãã«ãã©ã¼ãããã§ããã


       --disassemble-zeroes
              é常éã¢ã»ã³ãã«ã®åºåã§ã¯ 0 ãããªããããã¯ã¯ã¹ãããããããã®ãªã
              ã·ã§ã³ãæå®ããã¨ããããã® 0 ãããã¯ãä»ã®ãã¼ã¿ã¨åæ§ã«éã¢ã»ã³ã ã«ãããã


       -EB

       -EL

       --endian={big|little}
              ãªãã¸ã§ã¯ããã¡ã¤ã«ã®ã¨ã³ãã£ã¢ã³ãæå®ãããéã¢ã»ã³ãã«ã«ã®ã¿å½±é¿ã
              ãããã㯠S-record ã®ãããªã¨ã³ãã£ã¢ã³æå ±ãå«ã¾ãªããã©ã¼ããããé
              ã¢ã»ã³ãã«ããã¨ãã«å¹æçã§ããã


       -f

       --file-headers
              objfile ã®ããããã«å¯¾ã㦠overall ãããæå ±ã®è¦ç´ã表示ããã


       -h

       --section-headers

       --headers
              ãªãã¸ã§ã¯ããã¡ã¤ã«ã®ã»ã¯ã·ã§ã³ãããæå ±ã®è¦ç´ã表示ããã


       --help objdump ã®ãªãã·ã§ã³ã®è¦ç´ã表示ãã¦çµäºããã


       -i

       --info ãªãã·ã§ã³ -b ããã³ -m ã¨å±ã«æå®ã§ããã¢ã¼ã‐
              ãã¯ãã£ã¨ãªãã¸ã§ã¯ããã©ã¼ãããã®ä¸è¦§ã表示ã ãã


       -j name

       --section=name
              ã»ã¯ã·ã§ã³ name ã ãã®æå ±ã表示ããã


       -l

       --line-numbers
              表示ãã¦ãããªãã¸ã§ã¯ãã³ã¼ãã«ãã½ã¼ã¹ã®ãã¡ã¤ã«åã¨è¡ã (ãããã°æ
              å ±ãç¨ãã¦) é¢é£ä»ããã表示ããã -dã -Dã -r ãªã©ã¨åæã«ç¨ããã


       -m machine

       --architecture=machine
              ãªãã¸ã§ã¯ããã¡ã¤ã«ãéã¢ã»ã³ãã«ããã¨ããã¢ã¼ããã¯ãã£ãæå®ããã ãã㯠S-
              record ã®ãããªãã¢ã¼ããã¯ãã£ã®æå ±ãæããªããªãã¸ã§ã¯ããã¡
              ã¤ã«ãéã¢ã»ã³ãã«ããã¨ãã«æç¨ã§ãããæå®å¯è½ãªã¢ã¼ããã¯ãã£ã³ã®ãª ã¹ãã¯
              -i ãªãã·ã§ã³ã«ãã£ã¦å¾ãããã


       -r

       --reloc
              ãã¡ã¤ã«ã®ãªãã±ã¼ã·ã§ã³ã¨ã³ããªã表示ããã -d ã¾ã㯠-D
              ã¨ã¨ãã«ç¨ããã¨ãã¨ã³ããªã¯éã¢ã»ã³ãã«ã³ã¼ãã®ä¸ã«åãè¾¼ã¾
              ãã¦è¡¨ç¤ºãããã


       -R

       --dynamic-reloc
              ãã¡ã¤ã«ã®ãã¤ãããã¯ãªãã±ã¼ã·ã§ã³ã¨ã³ããªã表示ãããããã¯ãã種ã®
              å±æã©ã¤ãã©ãªã®ãããªããã¤ãããã¯ãªãã¸ã§ã¯ãã«å¯¾ãã¦ã®ã¿æå³ãæã¤ã


       -s

       --full-contents
              æå®ããããããã®ã»ã¯ã·ã§ã³ã«å¯¾ãã¦ãå¨ã¦ã®å容ã表示ããã


       -S

       --source
              (å¯è½ã§ããã°) ã½ã¼ã¹ã³ã¼ããéã¢ã»ã³ãã«çµæã¨æ··å¨ããã¦è¡¨ç¤ºããã -d
              ãæé»ã®ãã¡ã«æå®ãããã


       --show-raw-insn
              ãã·ã³èªãéã¢ã»ã³ãã«ããã¨ããå½ä»¤ã³ã¼ãã 16 é²ã³ã¼ãã¨ã·ã³ããªãã¯
              ãªè¨æ³ã¨ä¸¡æ¹ã§è¡¨ç¤ºããããã㯠--prefix-addresses
              ãæå®ããã¦ããªãå ´åã®ããã©ã«ãã§ããã


       --no-show-raw-insn
              ãã·ã³èªãéã¢ã»ã³ãã«ããã¨ãã16 é²ã®ãã¤ãã³ã¼ãã表示ããªãããã ã¯
              --prefix-addresses ãæå®ãããå ´åã®ããã©ã«ãã§ããã


       --stabs
              ELF ãã¡ã¤ã«ã® .stabã .stab.indexã .stab.excl
              åã»ã¯ã·ã§ã³ã®å容ã表 示ããããã㯠.stab
              ã®ãããã°ç¨ã·ã³ãã«ãã¼ãã«ã¨ã³ããªã ELF ã»ã¯ã·ã§ ã³ã«å«ã¾ãã¦ããã·ã¹ãã
              (Solaris 2.0 ãªã©) ã«å¯¾ãã¦ã®ã¿æå¹ã§ãããä»
              ã®ã»ã¨ãã©ã®ãã©ã¼ãããã§ã¯ããããã°ç¨ã·ã³ãã«ãã¼ãã«ã¨ã³ããªã¯ãªã³
              ã¯ç¨ã®ã·ã³ãã«ã«æ··ãã£ã¦ããã --syms ã®åºåã«ãã£ã¦è¦ããã¨ãã§ããã


       --start-address=address
              ãã¼ã¿ã®è¡¨ç¤ºéå§ç¹ãæå®ããã¢ãã¬ã¹ã«ããããã㯠-dã -rã -s
              ãªãã·ã§ã³ã®åºåã«å¯¾ãã¦å¹åãæã¤ã


       --stop-address=address
              ãã¼ã¿ã®è¡¨ç¤ºçµäºç¹ãæå®ããã¢ãã¬ã¹ã«ããããã㯠-dã -rã -s
              ãªãã·ã§ã³ã®åºåã«å¯¾ãã¦å¹åãæã¤ã


       -t

       --syms ãã¡ã¤ã«ã®ã·ã³ãã«ãã¼ãã«ã¨ã³ããªã表示ããããã㯠nm ãã‐
              ã°ã©ã ã«ãã£ã¦å¾ãããæå ±ã¨ã»ã¼åãã


       -T

       --dynamic-syms
              ãã¡ã¤ã«ã®åçãªã·ã³ãã«ãã¼ãã«ã¨ã³ããªã表示ãããããã¯ãã種ã®å±æ
              ã©ã¤ãã©ãªã®ããã«ãåçãªãªãã¸ã§ã¯ãã®å ´åã«ã®ã¿æå³ãæã¤ããã㯠nm ãã‐
              ã°ã©ã ã« -D (--dynamic) ãªãã·ã§ã³ãæå®ããå ´åã«å¾ãããæå ±ã¨ã»ã¼åãã


       --version
              objdump ã®ãã¼ã¸ã§ã³çªå·ã表示ãã¦çµäºããã


       -x

       --all-headers
              表示å¯è½ãªå¨ã¦ã®ãããæå ±ã表示ãããã·ã³ãã«ãã¼ãã«ããªãã±ã¼ã·ã§ã³
              ã¨ã³ããªã表示ããã -x 㯠-a -f -h -r -t ã®å¨ã¦ãæå®ããå ´åã¨ç‐
              価ã§ããã


é¢é£é ç®
       info ã® ` binutils ' ã¨ã³ããªã The GNU Binary Utilities, Roland H. Pesch
       (October 1991)ã nm(1)


èä½æ¨©
       Copyright (c) 1991, 92, 93, 94, 95, 1996 Free Software Foundation, Inc.

       Permission is granted to make and distribute verbatim copies of this
       manual provided the copyright notice and this permission notice are
       preserved on all copies.

       Permission is granted to copy and distribute modified versions of this
       manual under the conditions for verbatim copying, provided that the
       entire resulting derived work is distributed under the terms of a
       permission notice identical to this one.

       Permission is granted to copy and distribute translations of this
       manual into another language, under the above conditions for modified
       versions, except that this permission notice may be included in
       translations approved by the Free Software Foundation instead of in the
       original English.



cygnus support                  5 November 1991                     objdump(1)