decompiler  1.0.0
Public Member Functions | Public Attributes | List of all members
ghidra::ConsistencyChecker::OptimizeRecord Struct Reference

Description of how a temporary register is being used within a Constructor. More...

Public Member Functions

 OptimizeRecord (void)
 Construct a record, initializing counts.
 

Public Attributes

int4 writeop
 Index of the (last) p-code op writing to register (or -1)
 
int4 readop
 Index of the (last) p-code op reading the register (or -1)
 
int4 inslot
 Input slot of p-code op reading the register (or -1)
 
int4 writecount
 Number of times the register is written.
 
int4 readcount
 Number of times the register is read.
 
int4 writesection
 Section containing (last) p-code op writing to the register (or -2)
 
int4 readsection
 Section containing (last) p-code op reading the register (or -2)
 
int4 opttype
 0 = register read by a COPY, 1 = register written by a COPY (-1 otherwise)
 

Detailed Description

Description of how a temporary register is being used within a Constructor.

This counts reads and writes of the register. If the register is read only once, the particular p-code op and input slot reading it is recorded. If the register is written only once, the particular p-code op writing it is recorded.


The documentation for this struct was generated from the following file: