decompiler  1.0.0
Public Member Functions | Private Attributes | List of all members
ghidra::NameRecommend Class Reference

A symbol name recommendation with its associated storage location. More...

#include <varmap.hh>

Public Member Functions

 NameRecommend (const Address &ad, const Address &use, int4 sz, const string &nm, uint8 id)
 Constructor.
 
const AddressgetAddr (void) const
 Get the storage address.
 
const AddressgetUseAddr (void) const
 Get the use point address.
 
int4 getSize (void) const
 Get the optional size.
 
string getName (void) const
 Get the recommended name.
 
uint8 getSymbolId (void) const
 Get the original Symbol id.
 

Private Attributes

Address addr
 The starting address of the storage location.
 
Address useaddr
 The code address at the point of use.
 
int4 size
 An optional/recommended size for the variable being stored.
 
string name
 The local symbol name recommendation.
 
uint8 symbolId
 Id associated with the original Symbol.
 

Detailed Description

A symbol name recommendation with its associated storage location.

The name is associated with a static Address and use point in the code. Symbols present at the end of function decompilation without a name can acquire this name if their storage matches.


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