diff --git a/src/drivers/idapro/SMPStaticAnalyzer.cpp b/src/drivers/idapro/SMPStaticAnalyzer.cpp index ee291eb49f0a4d0390fa7a9e3556ea35f27fe48e..62c485d2010c00d1e61fb802e897ea08e02a2143 100644 --- a/src/drivers/idapro/SMPStaticAnalyzer.cpp +++ b/src/drivers/idapro/SMPStaticAnalyzer.cpp @@ -1431,6 +1431,10 @@ void FindOrphanedCode(STARS_Segment_t *CurrSeg, FILE *AnnotFile, FILE *InfoAnnot } } } + // If the address of this instruction appeared in data, emit an IBT annotation. + if (global_STARS_program->IsCodeAddressTaken(addr)) { + global_STARS_program->PrintUnknownCodeXref(addr, CurrInst.GetSize()); + } } } }