Merge remote-tracking branch 'origin/patch'

Conflicts:
	Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.hh
This commit is contained in:
Ryan Kurtz 2023-01-09 10:33:18 -05:00
commit 4ff113f92c
2 changed files with 80 additions and 0 deletions

View file

@ -517,6 +517,7 @@ public:
JumpTable *findJumpTable(const PcodeOp *op) const; ///< Find a jump-table associated with a given BRANCHIND
JumpTable *installJumpTable(const Address &addr); ///< Install a new jump-table for the given Address
JumpTable *recoverJumpTable(Funcdata &partial,PcodeOp *op,FlowInfo *flow,int4 &failuremode);
bool earlyJumpTableFail(PcodeOp *op); ///< Try to determine, early, if jump-table analysis will fail
int4 numJumpTables(void) const { return jumpvec.size(); } ///< Get the number of jump-tables for \b this function
JumpTable *getJumpTable(int4 i) { return jumpvec[i]; } ///< Get the i-th jump-table
void removeJumpTable(JumpTable *jt); ///< Remove/delete the given jump-table