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
}
 The possible types of patches on ops being performed. More...
 

Private Attributes

patchtype type
 The type of this patch.
 
PcodeOppatchOp
 Op being affected.
 
ReplaceVarnodein1
 The logical variable input.
 
ReplaceVarnodein2
 (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.


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