mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
readelf: add page
This commit is contained in:
parent
b33795f8ab
commit
a55a65d8d2
1 changed files with 20 additions and 0 deletions
20
pages/linux/readelf.md
Normal file
20
pages/linux/readelf.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# readelf
|
||||||
|
|
||||||
|
> Displays information about ELF files.
|
||||||
|
> More information: <http://man7.org/linux/man-pages/man1/readelf.1.html>.
|
||||||
|
|
||||||
|
- Display all information about the ELF file:
|
||||||
|
|
||||||
|
`readelf -all {{path/to/binary}}`
|
||||||
|
|
||||||
|
- Display all the headers present in the ELF file:
|
||||||
|
|
||||||
|
`readelf --headers {{path/to/binary}}`
|
||||||
|
|
||||||
|
- Display the entries in symbol table section of the ELF file, if it has one:
|
||||||
|
|
||||||
|
`readelf --symbols {{path/to/binary}}`
|
||||||
|
|
||||||
|
- Display the information contained in the ELF header at the start of the file:
|
||||||
|
|
||||||
|
`readelf --file-header {{path/to/binary}}`
|
Loading…
Add table
Reference in a new issue