Skip to main content

binary_sha256

Function binary_sha256 

Source
pub fn binary_sha256() -> Result<String>
Expand description

Identify the running executable, including local changes and its embedded BPF. Open before spawning: /proc/self/exe in the child would identify sha256sum. The open inode also remains correct if a rebuild replaces the binary on disk.