Ghidra 11.3.2
Ghidra internal decompiler documentation.
Loading...
Searching...
No Matches
ghidra::ParameterPieces Struct Reference

Basic elements of a parameter: address, data-type, properties. More...

#include <fspec.hh>

Collaboration diagram for ghidra::ParameterPieces:
[legend]

Public Types

enum  {
  isthis = 1 , hiddenretparm = 2 , indirectstorage = 4 , namelock = 8 ,
  typelock = 16 , sizelock = 32
}
 

Public Member Functions

void swapMarkup (ParameterPieces &op)
 Swap data-type markup between this and another parameter.
 

Public Attributes

Address addr
 Storage address of the parameter.
 
Datatypetype
 The datatype of the parameter.
 
uint4 flags
 additional attributes of the parameter
 

Detailed Description

Basic elements of a parameter: address, data-type, properties.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
isthis 

Parameter is "this" pointer.

hiddenretparm 

Parameter is hidden pointer to return value, mirrors Varnode::hiddenretparm.

indirectstorage 

Parameter is indirect pointer to true parameter, mirrors Varnode::indirectstorage.

namelock 

Parameter's name is locked, mirrors Varnode::namelock.

typelock 

Parameter's data-type is locked, mirrors Varnode::typelock.

sizelock 

Size of the parameter is locked (but not the data-type)

Member Function Documentation

◆ swapMarkup()

void ghidra::ParameterPieces::swapMarkup ( ParameterPieces op)

Swap data-type markup between this and another parameter.

Swap any data-type and flags, but leave the storage address intact. This assumes the two parameters are the same size.

Parameters
opis the other parameter to swap with this.

References flags, and type.


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