BinaryNinja::Symbol Class Reference

Public Member Functions

 Symbol (BNSymbolType type, const std::string &shortName, const std::string &fullName, const std::string &rawName, uint64_t addr, BNSymbolBinding binding=NoBinding, const NameSpace &nameSpace=NameSpace("BNINTERNALNAMESPACE"), uint64_t ordinal=0)
 
 Symbol (BNSymbolType type, const std::string &name, uint64_t addr, BNSymbolBinding binding=NoBinding, const NameSpace &nameSpace=NameSpace("BNINTERNALNAMESPACE"), uint64_t ordinal=0)
 
 Symbol (BNSymbol *sym)
 
BNSymbolType GetType () const
 
BNSymbolBinding GetBinding () const
 
std::string GetShortName () const
 
std::string GetFullName () const
 
std::string GetRawName () const
 
uint64_t GetAddress () const
 
uint64_t GetOrdinal () const
 
bool IsAutoDefined () const
 
NameSpace GetNameSpace () const
 
- Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNSymbol, BNNewSymbolReference, BNFreeSymbol >
 CoreRefCountObject ()
 
virtual ~CoreRefCountObject ()
 
BNSymbol * GetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 
void ReleaseForRegistration ()
 

Static Public Member Functions

static Ref< SymbolImportedFunctionFromImportAddressSymbol (Symbol *sym, uint64_t addr)
 
- Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNSymbol, BNNewSymbolReference, BNFreeSymbol >
static BNSymbol * GetObject (CoreRefCountObject *obj)
 

Additional Inherited Members

- Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNSymbol, BNNewSymbolReference, BNFreeSymbol >
std::atomic< int > m_refs
 
bool m_registeredRef
 
BNSymbol * m_object
 

Constructor & Destructor Documentation

◆ Symbol() [1/3]

BinaryNinja::Symbol::Symbol ( BNSymbolType  type,
const std::string &  shortName,
const std::string &  fullName,
const std::string &  rawName,
uint64_t  addr,
BNSymbolBinding  binding = NoBinding,
const NameSpace nameSpace = NameSpace("BNINTERNALNAMESPACE"),
uint64_t  ordinal = 0 
)

◆ Symbol() [2/3]

Symbol::Symbol ( BNSymbolType  type,
const std::string &  name,
uint64_t  addr,
BNSymbolBinding  binding = NoBinding,
const NameSpace nameSpace = NameSpace( "BNINTERNALNAMESPACE" ),
uint64_t  ordinal = 0 
)

◆ Symbol() [3/3]

Symbol::Symbol ( BNSymbol *  sym)

Member Function Documentation

◆ GetAddress()

uint64_t Symbol::GetAddress ( ) const

◆ GetBinding()

BNSymbolBinding Symbol::GetBinding ( ) const

◆ GetFullName()

string Symbol::GetFullName ( ) const

◆ GetNameSpace()

NameSpace Symbol::GetNameSpace ( ) const

◆ GetOrdinal()

uint64_t Symbol::GetOrdinal ( ) const

◆ GetRawName()

string Symbol::GetRawName ( ) const

◆ GetShortName()

string Symbol::GetShortName ( ) const

◆ GetType()

BNSymbolType Symbol::GetType ( ) const

◆ ImportedFunctionFromImportAddressSymbol()

Ref< Symbol > Symbol::ImportedFunctionFromImportAddressSymbol ( Symbol sym,
uint64_t  addr 
)
static

◆ IsAutoDefined()

bool Symbol::IsAutoDefined ( ) const

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