pub fn is_shared_object(path: &Path) -> bool
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).
path