mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-3370 Adjustments to JumpTable clear
This commit is contained in:
parent
89e18fa536
commit
72f451ab89
1 changed files with 3 additions and 2 deletions
|
@ -2694,8 +2694,7 @@ bool JumpTable::recoverLabels(Funcdata *fd)
|
|||
return multistagerestart;
|
||||
}
|
||||
|
||||
/// Clear out any data that is specific to a Funcdata instance. The address table is not cleared
|
||||
/// if it was recovered, and override information is left intact.
|
||||
/// Clear out any data that is specific to a Funcdata instance.
|
||||
/// Right now this is only getting called, when the jumptable is an override in order to clear out derived data.
|
||||
void JumpTable::clear(void)
|
||||
|
||||
|
@ -2710,12 +2709,14 @@ void JumpTable::clear(void)
|
|||
delete jmodel;
|
||||
jmodel = (JumpModel *)0;
|
||||
}
|
||||
addresstable.clear();
|
||||
block2addr.clear();
|
||||
lastBlock = -1;
|
||||
label.clear();
|
||||
loadpoints.clear();
|
||||
indirect = (PcodeOp *)0;
|
||||
switchVarConsume = ~((uintb)0);
|
||||
defaultBlock = -1;
|
||||
recoverystage = 0;
|
||||
// -opaddress- -maxtablesize- -maxaddsub- -maxleftright- -maxext- -collectloads- are permanent
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue