executable

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsASLRElegible

func IsASLRElegible(path string) (bool, error)

func IsASLRElegibleElf added in v0.12.0

func IsASLRElegibleElf(elfFile *elf.File) bool

IsASLRElegibleElf returns whether the elf executable could be elegible for address space layout randomization (ASLR).

Whether to enable ASLR for a process is decided in this kernel code path (https://github.com/torvalds/linux/blob/v5.0/fs/binfmt_elf.c#L955).

Note(javierhonduco): This check is a bit simplistic and might not work for every case. We might want to check across multiple kernels. It probably won't be correct for the dynamic loader itself. See link above.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL