Skip to main content

Module build_identity

Module build_identity 

Source

Re-exportsยง

use std::fs::File; ๐Ÿ”’
use std::process::Command; ๐Ÿ”’
use std::process::Stdio; ๐Ÿ”’
use anyhow::Context; ๐Ÿ”’
use anyhow::Result; ๐Ÿ”’
use anyhow::ensure; ๐Ÿ”’

Functionsยง

binary_sha256
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.