diff --git a/src/analyzer/custom_hook.rs b/src/analyzer/custom_hook.rs index 7da42eef..dbc61005 100644 --- a/src/analyzer/custom_hook.rs +++ b/src/analyzer/custom_hook.rs @@ -63,6 +63,7 @@ pub trait InternalHook { fn after_def_analysis( &self, analysis_data: &mut FunctionAnalysisData, + analysis_result: &mut AnalysisResult, after_def_analysis_data: AfterDefAnalysisData, ) { } diff --git a/src/analyzer/def_analyzer.rs b/src/analyzer/def_analyzer.rs index b33fef4e..6dbdabfd 100644 --- a/src/analyzer/def_analyzer.rs +++ b/src/analyzer/def_analyzer.rs @@ -123,6 +123,7 @@ pub(crate) fn analyze( for hook in &statements_analyzer.get_config().hooks { hook.after_def_analysis( analysis_data, + analysis_result, AfterDefAnalysisData { statements_analyzer, def,