리눅스 readelf

IT위키
ELF 파일의 정보를 출력한다.
  • 유닉스와 리눅스 모두에서 명령어와 옵션이 같음
  • 경로 : /usr/bin/readelf

사용법[편집 | 원본 편집]

문법[편집 | 원본 편집]

readelf [옵션] elf-file(s)

옵션[편집 | 원본 편집]

  • -a -all : 모든 헤더의 정보를 출력한다. --file-header, --program-headers, --sections, --symbols, --relocs, --dynamic, --notes, -version-info와 같다.
  • -h --file-header : 오브젝트 파일의 ELF 헤더 정보를 출력한다.
  • -l --program-headers | --segments : 파일의 프로그램 헤더와 세그먼트 섹션의 정보를 출력한다.
  • -S --sections | --section-headers : 파일의 섹션 헤더의 정보를 출력한다.
  • -g --section-groups : 파일의 섹션 그룹에 있는 정보를 출력한다.

예제[편집 | 원본 편집]

참고 문헌[편집 | 원본 편집]