decompiler  1.0.0
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ParamMeasure Class Reference

Classes

struct  WalkState
 

Public Types

enum  ParamIDIO { INPUT = 0, OUTPUT = 1 }
 
enum  ParamRank {
  BESTRANK = 1, DIRECTWRITEWITHOUTREAD = 1, DIRECTREAD = 2, DIRECTWRITEWITHREAD = 2,
  DIRECTWRITEUNKNOWNREAD = 3, SUBFNPARAM = 4, THISFNPARAM = 4, SUBFNRETURN = 5,
  THISFNRETURN = 5, INDIRECT = 6, WORSTRANK = 7
}
 

Public Member Functions

 ParamMeasure (const Address &addr, int4 sz, Datatype *dt, ParamIDIO io_in)
 
void calculateRank (bool best, Varnode *basevn, PcodeOp *ignoreop)
 
void saveXml (ostream &s, string tag, bool moredetail) const
 
void savePretty (ostream &s, bool moredetail) const
 
int4 getMeasure (void) const
 

Private Member Functions

void walkforward (WalkState &state, PcodeOp *ignoreop, Varnode *vn)
 
void walkbackward (WalkState &state, PcodeOp *ignoreop, Varnode *vn)
 
void updaterank (ParamRank rank_in, bool best)
 

Private Attributes

VarnodeData vndata
 
Datatypevntype
 
ParamRank rank
 
ParamIDIO io
 
int4 numcalls
 

The documentation for this class was generated from the following files: