1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 09:57:35 +00:00

Utilities/readelf: Add support for printing the content of sections

This commit is contained in:
Daniel Bertalan 2022-01-19 22:50:58 +01:00 committed by Brian Gianforcaro
parent 4055c393fc
commit b509d8a2f7
2 changed files with 19 additions and 2 deletions

View file

@ -5,7 +5,7 @@ readelf
## Synopsis
```sh
$ readelf [--all] [--file-header] [--program-headers] [--section-headers] [--headers] [--syms] [--dyn-syms] [--dynamic] [--notes] [--relocs] [--unwind] [--checksec] <path>
$ readelf [--all] [--file-header] [--program-headers] [--section-headers] [--headers] [--syms] [--dyn-syms] [--dynamic] [--notes] [--relocs] [--unwind] [--checksec] [--string-dump section-name] <path>
```
## Options:
@ -24,6 +24,7 @@ $ readelf [--all] [--file-header] [--program-headers] [--section-headers] [--hea
* `-r`, `--relocs`: Display relocations
* `-u`, `--unwind`: Display unwind info
* `-c`, `--checksec`: Display security hardening info
* `-p section-name`, `--string-dump section-name`: Display the contents of a section as strings
## Arguments: