Skip to main content

resolve_real_binary

Function resolve_real_binary 

Source
pub fn resolve_real_binary(path: &Path) -> PathBuf
Expand description

Follows symlinks and shell-script shim exec targets to find the real ELF binary. Shim wrappers (like ~/.graphrag-shim/codex) can strip hardening flags; bypassing them is a security requirement.