Go to the first, previous, next, last section, table of contents.


readelf


readelf [ -a | --all ] 
        [ -h | --file-header]
        [ -l | --program-headers | --segments]
        [ -S | --section-headers | --sections]
        [ -e | --headers]
        [ -s | --syms | --symbols]
        [ -n | --notes]
        [ -r | --relocs]
        [ -d | --dynamic]
        [ -V | --version-info]
        [ -D | --use-dynamic]
        [ -x <number> | --hex-dump=<number>]
        [ -w[liaprf] | --debug-dump[=info,=line,=abbrev,=pubnames,=ranges,=frames]]
        [      --histogram]
        [ -v | --version]
        [ -H | --help]
        elffile...

readelf displays information about one or more ELF format object files. The options control what particular information to display.

elffile... are the object files to be examined. At the moment, readelf does not support examining archives, nor does it support examing 64 bit ELF files.

The long and short forms of options, shown here as alternatives, are equivalent. At least one option besides `-v' or `-H' must be given.
readelf´Â ELF Çü½Ä ¿ÀºêÁ§Æ® ÆÄÀÏ¿¡ ´ëÇÑ Á¤º¸¸¦ Ãâ·ÂÇÑ´Ù. ¿É¼ÇÀº ¾î¶² Á¤º¸°¡ Ãâ·ÂµÉÁö °áÁ¤ÇÑ´Ù.

elffile...´Â »ìÆ캼 ¿ÀºêÁ§Æ® ÆÄÀϵéÀÌ´Ù. ÇöÀç readelf´Â ¾ÆÄ«À̺ê¿Í 64 ºñÆ® ELF ÆÄÀÏÀ» Áö¿øÇÏÁö ¾Ê´Â´Ù.

°°ÀÌ ¼³¸íÇÏ´Â ±ä Çü½Ä°ú ÀÛÀº Çü½ÄÀÇ ¿É¼ÇÀº µ¿ÀÏÇÏ´Ù. `-v'³ª `-H' ¿Ü¿¡ ÃÖ¼ÒÇÑ ÇÑ ¿É¼ÇÀº »ç¿ëÇØ¾ß ÇÑ´Ù.

-a
--all
Equivalent to specifiying `--file-header', `--program-headers', `--sections', `--symbols', `--relocs', `--dynamic', `--notes' and `--version-info'.
`--file-header', `--program-headers', `--sections', `--symbols', `--relocs', `--dynamic', `--notes', `--version-info'¸¦ ¸ðµÎ »ç¿ëÇÑ °Í°ú °°´Ù.
-h
--file-header
Displays the information contained in the ELF header at the start of the file.
(ÆÄÀÏ ½ÃÀÛ ºÎºÐ¿¡ ÀÖ´Â) ELF Çì´õ¿¡ ÀúÀåµÈ Á¤º¸¸¦ Ãâ·ÂÇÑ´Ù.
-l
--program-headers
--segments
Displays the information contained in the file's segment headers, if it has any.
ÆÄÀÏÀÇ ¼¼±×¸ÕÆ® Çì´õ°¡ ÀÖ´Ù¸é ÀÌ°÷¿¡ ÀúÀåµÈ Á¤º¸¸¦ Ãâ·ÂÇÑ´Ù. (¿ªÁÖ; ¼¼±×¸ÕÆ® Çì´õ´Â º¸Åë ½ÇÇàÆÄÀÏ¿¡ ÀÖ´Ù.)
-S
--sections
--section-headers
Displays the information contained in the file's section headers, if it has any.
ÆÄÀÏÀÇ ¼½¼Ç Çì´õ°¡ ÀÖ´Ù¸é ÀÌ°÷¿¡ ÀúÀåµÈ Á¤º¸¸¦ Ãâ·ÂÇÑ´Ù. (¿ªÁÖ; ¼¼±×¸ÕÆ® Çì´õ´Â º¸Åë ¸µÅ©ÇÒ ¿ÀºêÁ§Æ® ÆÄÀÏ¿¡ ÀÖ´Ù.)
-s
--symbols
--syms
Displays the entries in symbol table section of the file, if it has one.
ÆÄÀÏÀÇ ½Éº¼Ç¥ ¼½¼ÇÀÌ ÀÖ´Ù¸é Ç׸ñµéÀ» Ãâ·ÂÇÑ´Ù.
-e
--headers
Display all the headers in the file. Equivalent to `-h -l -S'.
ÆÄÀÏÀÇ ¸ðµç Çì´õ Á¤º¸¸¦ Ãâ·ÂÇÑ´Ù. `-h -l -S'¿Í °°´Ù.
-n
--notes
Displays the contents of the NOTE segment, if it exists.
NOTE ¼¼±×¸ÕÆ®°¡ ÀÖ´Ù¸é ±× ³»¿ëÀ» Ãâ·ÂÇÑ´Ù.
-r
--relocs
Displays the contents of the file's relocation section, if it ha one.
ÆÄÀÏÀÇ Àç¹èÄ¡ ¼½¼ÇÀÌ ÀÖ´Ù¸é ±× ³»¿ëÀ» Ãâ·ÂÇÑ´Ù.
-d
--dynamic
Displays the contents of the file's dynamic section, if it has one.
ÆÄÀÏÀÇ µ¿Àû ¼½¼ÇÀÌ ÀÖ´Ù¸é ±× ³»¿ëÀ» Ãâ·ÂÇÑ´Ù.
-V
--version-info
Displays the contents of the version sections in the file, it they exist.
ÆÄÀÏÀÇ ¹öÀü ¼½¼ÇÀÌ ÀÖ´Ù¸é ±× ³»¿ëÀ» Ãâ·ÂÇÑ´Ù.
-D
--use-dynamic
When displaying symbols, this option makes readelf use the symbol table in the file's dynamic section, rather than the one in the symbols section.
½Éº¼À» Ãâ·ÂÇÒ ¶§ ½Éº¼ ¼½¼ÇÀÌ ¾Æ´Ï¶ó µ¿Àû ¼½¼Ç¿¡ ÀúÀåµÈ ½Éº¼Ç¥¸¦ »ç¿ëÇÑ´Ù.
-x <number>
--hex-dump=<number>
Displays the contents of the indicated section as a hexadecimal dump.
ÇØ´ç ¼½¼ÇÀÇ ³»¿ëÀ» 16 Áø¼ö·Î Ãâ·ÂÇÑ´Ù.
-w[liaprf]
--debug-dump[=line,=info,=abbrev,=pubnames,=ranges,=frames]
Displays the contents of the debug sections in the file, if any are present. If one of the optional letters or words follows the switch then only data found in those specific sections will be dumped.
ÆÄÀÏ¿¡ µð¹ö±× ¼½¼ÇÀÌ ÀÖ´Ù¸é ±× ³»¿ëÀ» Ãâ·ÂÇÑ´Ù. ¿É¼Ç µÚ¿¡ ¼±ÅÃÀûÀÎ ´Ü¾î¸¦ »ç¿ëÇÏ¿© ƯÁ¤ ¼½¼ÇÀÇ ³»¿ë¸¸ Ãâ·ÂÇÒ ¼öµµ ÀÖ´Ù.
--histogram
Display a histogram of bucket list lengths when displaying the contents of the symbol tables.
½Éº¼Ç¥ÀÇ ³»¿ëÀ» Ãâ·ÂÇÒ ¶§ ¸®½ºÆ® ±æÀÌÀÇ È÷½ºÅä±×·¥À» Ãâ·ÂÇÑ´Ù.
-v
--version
Display the version number of readelf.
readelfÀÇ ¹öÀüÀ» Ãâ·ÂÇÑ´Ù.
-H
--help
Display the command line options understood by readelf.
readelfÀÇ ¿É¼ÇÀ» °£´ÜÈ÷ ¼³¸íÇÑ´Ù.


Go to the first, previous, next, last section, table of contents.