mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Refactor block position <-> address index map
This commit is contained in:
parent
f779dab216
commit
ad005086ab
3 changed files with 93 additions and 67 deletions
|
@ -610,7 +610,7 @@ void Funcdata::installSwitchDefaults(void)
|
|||
PcodeOp *indop = jt->getIndirectOp();
|
||||
BlockBasic *ind = indop->getParent();
|
||||
// Mark any switch blocks default edge
|
||||
if (jt->getMostCommon() != ~((uint4)0)) // If a mostcommon was found
|
||||
if (jt->getMostCommon() != -1) // If a mostcommon was found
|
||||
ind->setDefaultSwitch(jt->getMostCommon());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue