is_shared_object

Function is_shared_object 

Source
pub fn is_shared_object(path: &Path) -> bool
Expand description

Return true if path looks like a shared object (ELF ET_DYN without PT_INTERP). Returns false for executables (ET_EXEC, or ET_DYN with PT_INTERP i.e. PIE).