Skip to main content

resolve_edge

Function resolve_edge 

Source
pub fn resolve_edge(
    det: &DetectedDataFlow,
    sym_id_of: impl Fn(&str) -> Option<String>,
    params_of: impl Fn(&str) -> Option<Vec<String>>,
) -> Option<DataFlowEdge>
Expand description

Resolve a detected data-flow site into a DataFlowEdge, given a way to look up a qname’s symbol_id and a callee’s parameter list. Returns None when the caller or callee can’t be resolved, or the arg position has no corresponding parameter.