Run apply_signatures_post appropriately

This commit is contained in:
Luke Street 2023-08-03 19:05:40 -04:00
parent 6723245ed6
commit 5c04800964
2 changed files with 5 additions and 1 deletions

View File

@ -164,6 +164,8 @@ fn split(args: SplitArgs) -> Result<()> {
FindSaveRestSleds::execute(&mut state, &obj)?;
state.apply(&mut obj)?;
apply_signatures_post(&mut obj)?;
log::info!("Performing relocation analysis");
let mut tracker = Tracker::new(&obj);
tracker.process(&obj)?;

View File

@ -12,7 +12,7 @@ use crate::{
analysis::{
cfa::AnalyzerState,
pass::{AnalysisPass, FindSaveRestSleds, FindTRKInterruptVectorTable},
signatures::apply_signatures,
signatures::{apply_signatures, apply_signatures_post},
tracker::Tracker,
},
array_ref_mut,
@ -202,6 +202,8 @@ fn merge(args: MergeArgs) -> Result<()> {
FindSaveRestSleds::execute(&mut state, &obj)?;
state.apply(&mut obj)?;
apply_signatures_post(&mut obj)?;
log::info!("Performing relocation analysis");
let mut tracker = Tracker::new(&obj);
tracker.process(&obj)?;