Skip to main content

is_loader_alias

Function is_loader_alias 

Source
pub fn is_loader_alias(path: &[u8]) -> bool
Expand description

Whether path is an alias of the loader, the argv[0] of a program it loaded.

§Arguments

  • path - A path, typically the first entry of a process’s command line.

§Returns

true when path lies in the loader’s alias directory.