Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LD_PRELOAD_ENV_VARS = []string{
"LD_PRELOAD",
"LD_LIBRARY_PATH",
"LD_AUDIT",
"LD_BIND_NOW",
"LD_DEBUG",
"LD_PROFILE",
"LD_USE_LOAD_BIAS",
"LD_SHOW_AUXV",
"LD_ORIGIN_PATH",
"LD_LIBRARY_PATH_FDS",
"LD_ASSUME_KERNEL",
"LD_VERBOSE",
"LD_WARN",
"LD_TRACE_LOADED_OBJECTS",
"LD_BIND_NOT",
"LD_NOWARN",
"LD_HWCAP_MASK",
"LD_SHOW_AUXV",
"LD_USE_LOAD_BIAS",
"LD_ORIGIN_PATH",
"LD_LIBRARY_PATH_FDS",
"LD_ASSUME_KERNEL",
"LD_VERBOSE",
"LD_WARN",
"LD_TRACE_LOADED_OBJECTS",
"LD_BIND_NOT",
"LD_NOWARN",
"LD_HWCAP_MASK",
}
LD_PRELOAD_ENV_VARS contains the environment variables that can be used for LD_PRELOAD
Functions ¶
func GetLdHookVar ¶
GetLdHookVar checks if any LD_PRELOAD environment variables are set
func GetProcessEnv ¶
GetProcessEnv retrieves the environment variables for a given process ID
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.