Fix missing length in mprotect doc example (#1641)

pull/1642/head
Xeonacid 3 years ago committed by GitHub
parent 66aa6af19c
commit 59e759e036
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,8 +23,8 @@ Note that the mprotect syscall may fail for various reasons
can be decoded with the `errno <value>` command.
Examples:
mprotect $rsp PROT_READ|PROT_WRITE|PROT_EXEC
mprotect some_symbol PROT_NONE
mprotect $rsp 4096 PROT_READ|PROT_WRITE|PROT_EXEC
mprotect some_symbol 0x1000 PROT_NONE
""",
)
parser.add_argument(

Loading…
Cancel
Save