Ghidra 11.3.2
Ghidra internal decompiler documentation.
Loading...
Searching...
No Matches
ghidra::ConstTpl Class Reference
Collaboration diagram for ghidra::ConstTpl:
[legend]

Public Types

enum  const_type {
  real =0 , handle =1 , j_start =2 , j_next =3 ,
  j_next2 =4 , j_curspace =5 , j_curspace_size =6 , spaceid =7 ,
  j_relative =8 , j_flowref =9 , j_flowref_size =10 , j_flowdest =11 ,
  j_flowdest_size =12
}
 
enum  v_field { v_space =0 , v_offset =1 , v_size =2 , v_offset_plus =3 }
 

Public Member Functions

 ConstTpl (const ConstTpl &op2)
 
 ConstTpl (const_type tp, uintb val)
 
 ConstTpl (const_type tp)
 
 ConstTpl (AddrSpace *sid)
 
 ConstTpl (const_type tp, int4 ht, v_field vf)
 
 ConstTpl (const_type tp, int4 ht, v_field vf, uintb plus)
 
bool isConstSpace (void) const
 
bool isUniqueSpace (void) const
 
bool operator== (const ConstTpl &op2) const
 
bool operator< (const ConstTpl &op2) const
 
uintb getReal (void) const
 
AddrSpacegetSpace (void) const
 
int4 getHandleIndex (void) const
 
const_type getType (void) const
 
v_field getSelect (void) const
 
uintb fix (const ParserWalker &walker) const
 
AddrSpacefixSpace (const ParserWalker &walker) const
 
void transfer (const vector< HandleTpl * > &params)
 
bool isZero (void) const
 
void changeHandleIndex (const vector< int4 > &handmap)
 
void fillinSpace (FixedHandle &hand, const ParserWalker &walker) const
 
void fillinOffset (FixedHandle &hand, const ParserWalker &walker) const
 
void encode (Encoder &encoder) const
 
void decode (Decoder &decoder)
 

Private Attributes

const_type type
 
union { 
 
   AddrSpace *   spaceid 
 
   int4   handle_index 
 
value 
 
uintb value_real
 
v_field select
 

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