Run apply_signatures_post appropriately
This commit is contained in:
parent
6723245ed6
commit
5c04800964
|
@ -164,6 +164,8 @@ fn split(args: SplitArgs) -> Result<()> {
|
||||||
FindSaveRestSleds::execute(&mut state, &obj)?;
|
FindSaveRestSleds::execute(&mut state, &obj)?;
|
||||||
state.apply(&mut obj)?;
|
state.apply(&mut obj)?;
|
||||||
|
|
||||||
|
apply_signatures_post(&mut obj)?;
|
||||||
|
|
||||||
log::info!("Performing relocation analysis");
|
log::info!("Performing relocation analysis");
|
||||||
let mut tracker = Tracker::new(&obj);
|
let mut tracker = Tracker::new(&obj);
|
||||||
tracker.process(&obj)?;
|
tracker.process(&obj)?;
|
||||||
|
|
|
@ -12,7 +12,7 @@ use crate::{
|
||||||
analysis::{
|
analysis::{
|
||||||
cfa::AnalyzerState,
|
cfa::AnalyzerState,
|
||||||
pass::{AnalysisPass, FindSaveRestSleds, FindTRKInterruptVectorTable},
|
pass::{AnalysisPass, FindSaveRestSleds, FindTRKInterruptVectorTable},
|
||||||
signatures::apply_signatures,
|
signatures::{apply_signatures, apply_signatures_post},
|
||||||
tracker::Tracker,
|
tracker::Tracker,
|
||||||
},
|
},
|
||||||
array_ref_mut,
|
array_ref_mut,
|
||||||
|
@ -202,6 +202,8 @@ fn merge(args: MergeArgs) -> Result<()> {
|
||||||
FindSaveRestSleds::execute(&mut state, &obj)?;
|
FindSaveRestSleds::execute(&mut state, &obj)?;
|
||||||
state.apply(&mut obj)?;
|
state.apply(&mut obj)?;
|
||||||
|
|
||||||
|
apply_signatures_post(&mut obj)?;
|
||||||
|
|
||||||
log::info!("Performing relocation analysis");
|
log::info!("Performing relocation analysis");
|
||||||
let mut tracker = Tracker::new(&obj);
|
let mut tracker = Tracker::new(&obj);
|
||||||
tracker.process(&obj)?;
|
tracker.process(&obj)?;
|
||||||
|
|
Loading…
Reference in New Issue