@@ -8,14 +8,13 @@ use core::{cmp::Ordering, num::NonZeroU64};
8
8
9
9
use anyhow:: { Context , Result , anyhow, bail, ensure} ;
10
10
use object:: { Object as _, ObjectSection as _, ObjectSymbol as _} ;
11
- use crate :: obj:: FlowAnalysisResult ;
12
11
13
12
use crate :: {
14
13
arch:: { Arch , new_arch} ,
15
14
diff:: DiffObjConfig ,
16
15
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 ,
19
18
split_meta:: { SPLITMETA_SECTION , SplitMeta } ,
20
19
} ,
21
20
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
476
475
477
476
// Optional full data flow analysis
478
477
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
+ {
480
481
generated_flow_results. push ( ( symbol. clone ( ) , flow_result) ) ;
481
482
}
482
483
}
0 commit comments