mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GP-4985 Check for overlapping structure fields and issue warnings
This commit is contained in:
parent
7c3868c00e
commit
5e75fb19e7
7 changed files with 306 additions and 215 deletions
|
@ -122,16 +122,17 @@ class Funcdata {
|
|||
JumpTable::RecoveryMode stageJumpTable(Funcdata &partial,JumpTable *jt,PcodeOp *op,FlowInfo *flow);
|
||||
void switchOverJumpTables(const FlowInfo &flow); ///< Convert jump-table addresses to basic block indices
|
||||
void clearJumpTables(void); ///< Clear any jump-table information
|
||||
|
||||
void sortCallSpecs(void); ///< Sort calls using a dominance based order
|
||||
void deleteCallSpecs(PcodeOp *op); ///< Remove the specification for a particular call
|
||||
void clearCallSpecs(void); ///< Remove all call specifications
|
||||
|
||||
BlockBasic *nodeSplitBlockEdge(BlockBasic *b,int4 inedge);
|
||||
PcodeOp *nodeSplitCloneOp(PcodeOp *op);
|
||||
void nodeSplitCloneVarnode(PcodeOp *op,PcodeOp *newop);
|
||||
void nodeSplitRawDuplicate(BlockBasic *b,BlockBasic *bprime);
|
||||
void nodeSplitInputPatch(BlockBasic *b,BlockBasic *bprime,int4 inedge);
|
||||
|
||||
void sortCallSpecs(void); ///< Sort calls using a dominance based order
|
||||
void deleteCallSpecs(PcodeOp *op); ///< Remove the specification for a particular call
|
||||
void clearCallSpecs(void); ///< Remove all call specifications
|
||||
void issueDatatypeWarnings(void); ///< Add warning headers for any data-types that have been modified
|
||||
|
||||
static bool descendantsOutside(Varnode *vn);
|
||||
static void encodeVarnode(Encoder &encoder,VarnodeLocSet::const_iterator iter,VarnodeLocSet::const_iterator enditer);
|
||||
static bool checkIndirectUse(Varnode *vn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue