Trait libafl_cc::cfg::HasWeight

source ·
pub trait HasWeight<T> {
    // Required method
    fn compute(metadata: Option<&T>) -> u32;
}
Expand description

Compute the weight of a CfgEdge. Lower means shorter distance in the graph.

Required Methods§

source

fn compute(metadata: Option<&T>) -> u32

Compute the weight of a CfgEdge. Lower means shorter distance in the graph.

Object Safety§

This trait is not object safe.

Implementors§