ELF file reader, can read binary files.
readelf -a /path/to/binary readelf -a /path/to/binary Sandbox: execFile · Timeout: 30s
system.file.read | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
all | string | No | - | Equivalent to: -h -l -S -s -r -d -V -A -I --got-contents | -a, --all |
arch-specific | string | No | - | Display architecture specific information (if any) | -A, --arch-specific |
archive-index | string | No | - | Display the symbol/file index in an archive | -c, --archive-index |
ctf | string | No | - | Display CTF info from section <number|name> | --ctf |
ctf-parent | string | No | - | Use CTF archive member <name> as the CTF parent | --ctf-parent |
ctf-strings | string | No | - | Use section <number|name> as the CTF external strtab | --ctf-strings |
ctf-symbols | string | No | - | Use section <number|name> as the CTF external symtab | --ctf-symbols |
debug-dump | string | No | - | f/=frames, F/=frames-interp, g/=gdb_index, i/=info, o/=loc, m/=macro, p/=pubnames, t/=pubtypes, R/=Ranges, l/=rawline, s/=str, O/=str-offsets, u/=trace_abbrev, T/=trace_aranges, U/=trace_info] Display the contents of DWARF debug sections | -w, --debug-dump |
debug-dump-2 | string | No | - | debuginfo files | -w, --debug-dump |
debug-dump-3 | string | No | - | Follow links to separate debug info files (default) | -w, -l, --debug-dump |
debug-dump-4 | string | No | - | Do not follow links to separate debug info files | -w, -f, -l, --debug-dump |
decompress | string | No | - | Decompress section before dumping it | -z, --decompress |
demangle | string | No | - | STYLE can be "none", "auto", "gnu-v3", "java", "gnat", "dlang", "rust" --no-demangle Do not demangle low-level symbol names. (default) --recurse-limit Enable a demangling recursion limit. (default) --no-recurse-limit Disable a demangling recursion limit -U[dlexhi] --unicode=[default|locale|escape|hex|highlight|invalid] Display unicode characters as determined by the current locale (default), escape sequences, "<hex sequences>", highlighted escape sequences, or treat them as invalid and display as "{hex sequences}" -X --extra-sym-info Display extra information when showing symbols --no-extra-sym-info Do not display extra information when showing symbols (default) | -C, --demangle |
display-section | string | No | - | Display the contents of the indicated section. Can be repeated | -j, --display-section |
dwarf-depth | integer | No | - | Do not display DIEs at depth N or greater | --dwarf-depth |
dwarf-start | integer | No | - | Display DIEs starting at offset N | --dwarf-start |
dyn-syms | string | No | - | Display the dynamic symbol table | --dyn-syms |
dynamic | string | No | - | Display the dynamic section (if present) | -d, --dynamic |
file-header | string | No | - | Display the ELF file header | -h, --file-header |
got-contents | string | No | - | Display GOT section contents | --got-contents |
headers | string | No | - | Equivalent to: -h -l -S | -e, --headers |
help | string | No | - | Display this information | -H, --help |
hex-dump | string | No | - | Dump the contents of section <number|name> as bytes | -x, --hex-dump |
histogram | string | No | - | Display histogram of bucket list lengths | -I, --histogram |
lint | string | No | - | Display warning messages for possible problems | -L, --lint, --enable-checks |
lto-syms | string | No | - | Display LTO symbol tables | --lto-syms |
no_demangle | boolean | No | - | symbol names. (default) | --no-demangle, -level |
no_extra_sym_info | boolean | No | - | Do not display extra information when showing symbols (default) | --no-extra-sym-info |
no_recurse_limit | boolean | No | - | Disable a demangling recursion limit | --no-recurse-limit |
notes | string | No | - | Display the contents of note sections (if present) | -n, --notes |
process-links | string | No | - | Display the contents of non-debug sections in separate | -P, --process-links |
program-headers | string | No | - | Display the program headers | -l, --program-headers |
recurse_limit | boolean | No | - | Enable a demangling recursion limit. (default) | --recurse-limit |
relocated-dump | string | No | - | Dump the relocated contents of section <number|name> | -R, --relocated-dump |
relocs | string | No | - | Display the relocations (if present) | -r, --relocs |
section-details | string | No | - | Display the section details | -t, --section-details |
section-groups | string | No | - | Display the section groups | -g, --section-groups |
section-headers | string | No | - | Display the sections' header | -S, --section-headers |
sections | string | No | - | An alias for --section-headers | --sections |
segments | string | No | - | An alias for --program-headers | --segments |
sframe | string | No | - | Display SFrame info from section NAME, (default '.sframe') | --sframe |
silent-truncation I | string | No | - | -T, --silent-truncation I | |
string-dump | string | No | - | Dump the contents of section <number|name> as strings | -p, --string-dump |
sym-base | string | No | - | Force base for symbol sizes. The options are mixed (the default), octal, decimal, hexadecimal | --sym-base |
symbols | string | No | - | An alias for --syms | --symbols |
syms | string | No | - | Display the symbol table | -s, --syms |
unwind | string | No | - | Display the unwind info (if present) | -u, --unwind |
use-dynamic | string | No | - | Use the dynamic section info when displaying symbols | -D, --use-dynamic |
version | integer | No | - | Display the version number of readelf | -v, --version |
version-info | string | No | - | Display the version sections (if present) | -V, --version-info |
wK | boolean | No | - | -wK, --debug-dump, -links | |
wN | boolean | No | - | -wN, --debug-dump, -follow-links | |
wide | string | No | - | Allow output width to exceed 80 characters | -W, --wide |
wk | boolean | No | - | Display the contents of sections that link to separate | -wk, --debug-dump |
Outputs
process.output File content output
Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 4 MB |
| Network | none |
| Disk I/O | low |
Read an ELF file via readelf
readelf -a /path/to/binary