@@ -8,14 +8,13 @@ use core::{cmp::Ordering, num::NonZeroU64};
88
99use anyhow:: { Context , Result , anyhow, bail, ensure} ;
1010use object:: { Object as _, ObjectSection as _, ObjectSymbol as _} ;
11- use crate :: obj:: FlowAnalysisResult ;
1211
1312use crate :: {
1413 arch:: { Arch , new_arch} ,
1514 diff:: DiffObjConfig ,
1615 obj:: {
17- Object , Relocation , RelocationFlags , Section , SectionData , SectionFlag , SectionKind ,
18- Symbol , SymbolFlag , SymbolKind ,
16+ FlowAnalysisResult , Object , Relocation , RelocationFlags , Section , SectionData , SectionFlag ,
17+ SectionKind , Symbol , SymbolFlag , SymbolKind ,
1918 split_meta:: { SPLITMETA_SECTION , SplitMeta } ,
2019 } ,
2120 util:: { align_data_slice_to, align_u64_to, read_u16, read_u32} ,
@@ -476,7 +475,9 @@ fn perform_data_flow_analysis(obj: &mut Object, config: &DiffObjConfig) -> Resul
476475
477476 // Optional full data flow analysis
478477 if config. analyze_data_flow {
479- if let Some ( flow_result) = obj. arch . data_flow_analysis ( obj, symbol, code, & section. relocations ) {
478+ if let Some ( flow_result) =
479+ obj. arch . data_flow_analysis ( obj, symbol, code, & section. relocations )
480+ {
480481 generated_flow_results. push ( ( symbol. clone ( ) , flow_result) ) ;
481482 }
482483 }
0 commit comments