decompiler
1.0.0
|
A trial data-type fitted to a specific place in the data-flow. More...
Public Member Functions | |
Trial (PcodeOp *o, int4 slot, Datatype *ct, int4 index, bool isArray) | |
Construct a downward trial for a Varnode. More... | |
Trial (Varnode *v, Datatype *ct, int4 index, bool isArray) | |
Construct an upward trial for a Varnode. More... | |
Private Types | |
enum | dir_type { fit_down, fit_up } |
An enumerator to distinguish how an individual trial follows data-flow. More... | |
Private Attributes | |
Varnode * | vn |
The Varnode we are testing for data-type fit. | |
PcodeOp * | op |
The PcodeOp reading the Varnode (or null) | |
int4 | inslot |
The slot reading the Varnode (or -1) | |
dir_type | direction |
Direction to push fit. 0=down 1=up. | |
bool | array |
Field can be accessed as an array. | |
Datatype * | fitType |
The putative data-type of the Varnode. | |
int4 | scoreIndex |
The original field being scored by this trial. | |
Friends | |
class | ScoreUnionFields |
A trial data-type fitted to a specific place in the data-flow.
|
private |
|
inline |
Construct a downward trial for a Varnode.
o | is the PcodeOp reading the Varnode |
slot | is the input slot being read |
ct | is the trial data-type to fit |
index | is the scoring index |
isArray | is true if the data-type to fit is a pointer to an array |
References ghidra::PcodeOp::getIn().