1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

ROPgadget: add page (#10640)

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
Johan Degn 2023-09-01 13:36:13 +02:00 committed by GitHub
parent 63cb91f63a
commit e567936209
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
pages/common/ropgadget.md Normal file
View file

@ -0,0 +1,24 @@
# ROPgadget
> Find ROP gadgets in binary files.
> More information: <https://github.com/JonathanSalwan/ROPgadget>.
- List gadgets in the binary file:
`ROPgadget --binary {{path/to/binary}}`
- Filter gadgets in the binary file by a regular expression:
`ROPgadget --binary {{path/to/binary}} --re {{regex}}`
- List gadgets in the binary file, excluding specified type:
`ROPgadget --binary {{path/to/binary}} --{{norop|nojob|nosys}}`
- Exclude bad byte gadgets in the binary file:
`ROPgadget --binary {{path/to/binary}} --badbytes {{byte_string}}`
- List gadgets up to the specified number of bytes in the binary file:
`ROPgadget --binary {{path/to/binary}} --depth {{nbyte}}`