decompiler 1.0.0
Private Types | Private Attributes | Friends | List of all members
ghidra::SubvariableFlow::PatchRecord Class Reference

Operation with a new logical value as (part of) input, but output Varnode is unchanged. More...

Private Types

enum  patchtype {
  copy_patch , compare_patch , parameter_patch , extension_patch ,
  push_patch , int2float_patch
}
 The possible types of patches on ops being performed. More...
 

Private Attributes

patchtype type
 The type of this patch.
 
PcodeOp * patchOp
 Op being affected.
 
ReplaceVarnode * in1
 The logical variable input.
 
ReplaceVarnode * in2
 (optional second parameter)
 
int4 slot
 slot being affected or other parameter
 

Friends

class SubvariableFlow
 

Detailed Description

Operation with a new logical value as (part of) input, but output Varnode is unchanged.

Member Enumeration Documentation

◆ patchtype

The possible types of patches on ops being performed.

Enumerator
copy_patch 

Turn op into a COPY of the logical value.

compare_patch 

Turn compare op inputs into logical values.

parameter_patch 

Convert a CALL/CALLIND/RETURN/BRANCHIND parameter into logical value.

extension_patch 

Convert op into something that copies/extends logical value, adding zero bits.

push_patch 

Convert an operator output to the logical value.

int2float_patch 

Zero extend logical value into FLOAT_INT2FLOAT operator.


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