Skip to content

Commit 9eb196d

Browse files
authored
Change analyze_data_flow to always disable data flow analysis
1 parent bd3ed0d commit 9eb196d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

objdiff-core/src/obj/read.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,8 @@ fn map_relocations(
433433
}
434434

435435
fn perform_data_flow_analysis(obj: &mut Object, config: &DiffObjConfig) -> Result<()> {
436-
// If neither of these settings are on, no flow analysis to perform
437-
if !config.analyze_data_flow && !config.ppc_calculate_pool_relocations {
436+
// If either of these settings are off, no flow analysis to perform
437+
if !config.analyze_data_flow || !config.ppc_calculate_pool_relocations {
438438
return Ok(());
439439
}
440440

0 commit comments

Comments
 (0)