mprotect ¤
Functions:
-
prot_str_to_val–Converts a protection string to an integer. Formats include:
-
prot_val_to_str– -
mprotect–
Attributes:
-
parser– -
SYS_MPROTECT– -
prot_dict–
parser module-attribute ¤
parser = ArgumentParser(
description="\nCalls the mprotect syscall and prints its result value.\n\nNote that the mprotect syscall may fail for various reasons\n(see `man mprotect`) and a non-zero error return value\ncan be decoded with the `errno <value>` command.\n"
)
prot_dict module-attribute ¤
prot_str_to_val ¤
Converts a protection string to an integer. Formats include: - A positive integer, like 3 - A combination of r, w, and x, like rw - A combination of PROT_READ, PROT_WRITE, and PROT_EXEC, like PROT_READ|PROT_WRITE