pub struct CallGraphConfig {
pub analyze_indirect_calls: bool,
pub detect_tail_calls: bool,
pub max_functions: usize,
pub max_total_instructions: usize,
pub max_labeled_call_depth: Option<u32>,
pub include_library_calls: bool,
}Expand description
Configuration for call graph analysis
Fields§
§analyze_indirect_calls: boolRecord unresolved indirect call-family instructions with an unknown target.
detect_tail_calls: boolDetect direct jumps at function ends as potential tail calls.
max_functions: usizeMaximum number of discovered functions accepted for one analysis.
max_total_instructions: usizeMaximum number of instructions decoded across all discovered functions.
max_labeled_call_depth: Option<u32>Maximum breadth-first depth for assigning CallGraphNode::call_depth.
This does not limit call-edge extraction or reachability analysis.
include_library_calls: boolInclude calls to functions classified as libraries.
Trait Implementations§
Source§impl Clone for CallGraphConfig
impl Clone for CallGraphConfig
Source§impl Debug for CallGraphConfig
impl Debug for CallGraphConfig
Source§impl Default for CallGraphConfig
impl Default for CallGraphConfig
Source§impl<'de> Deserialize<'de> for CallGraphConfig
impl<'de> Deserialize<'de> for CallGraphConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CallGraphConfig
impl RefUnwindSafe for CallGraphConfig
impl Send for CallGraphConfig
impl Sync for CallGraphConfig
impl Unpin for CallGraphConfig
impl UnsafeUnpin for CallGraphConfig
impl UnwindSafe for CallGraphConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more