Skip to content

aslr ¤

Functions:

  • check_aslr

    Detects the ASLR status. Returns True, False or None.

  • aslr

Attributes:

options module-attribute ¤

options = {'on': 'off', 'off': 'on'}

parser module-attribute ¤

parser = ArgumentParser(
    description="\nCheck the current ASLR status, or turn it on/off.\n\nDoes not take effect until the program is restarted.\n"
)

check_aslr ¤

check_aslr() -> tuple[bool | None, str]

Detects the ASLR status. Returns True, False or None.

None is returned when we can't detect ASLR.

aslr ¤

aslr(state=None) -> None