Skip to main content

diff_body_calls

Function diff_body_calls 

Source
pub fn diff_body_calls(
    pe: &Pe,
    own_addrs: &[u64],
    corpus: &BTreeSet<u64>,
    rust_idents: &[(String, Vec<u64>)],
    vtable_methods: &BTreeSet<u64>,
    miss_satisfied: &BTreeSet<u64>,
) -> Result<CorpusDiff, String>
Expand description

Diff the calls a Rust body makes (already resolved to ported addresses) against the binary’s real call set at own_addrs. corpus is the set of all ported origin addresses (only calls within it are diffable). Mirrors the logic of tools/analysis/verify_callgraph.py, but on bytes instead of Ghidra .asm.