decompiler
1.0.0
|
A data-flow edge to which a resolved data-type can be assigned. More...
#include <unionresolve.hh>
Public Member Functions | |
ResolveEdge (const Datatype *parent, const PcodeOp *op, int4 slot) | |
Construct from components. More... | |
bool | operator< (const ResolveEdge &op2) const |
Compare two edges. More... | |
Private Attributes | |
uint8 | typeId |
Id of base data-type being resolved. | |
uintm | opTime |
Id of PcodeOp edge. | |
int4 | encoding |
Encoding of the slot and pointer-ness. | |
A data-flow edge to which a resolved data-type can be assigned.
The edge is associated with the specific data-type that needs to be resolved, which is typically a union or a pointer to a union. The edge collapses different kinds of pointers to the same base union.
Construct from components.
parent | is a parent data-type that needs to be resolved |
op | is the PcodeOp reading/writing the parent data-type |
slot | is the slot (>=0 for input, -1 for output) accessing the parent |
References ghidra::Datatype::getId(), ghidra::Datatype::getMetatype(), ghidra::PcodeOp::getTime(), ghidra::ScoreUnionFields::maxPasses, ghidra::ScoreUnionFields::maxTrials, ghidra::ScoreUnionFields::threshold, ghidra::TYPE_PARTIALUNION, and ghidra::TYPE_PTR.
|
inline |