Skip to main content

diff_body_calls_ext

Function diff_body_calls_ext 

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

Like diff_body_calls, plus indirect_targets: addresses the binary reaches through a register/memory indirect call at own_addrs (a stack-slot callback, a registered handler, an IAT thunk, …). They widen the ACCEPTANCE set only: a body that spells one as a direct call is faithful, and they never become a MISSING requirement (the binary issues no direct CALL to them).