Classes | |
struct | BinaryNinja::DebugFunctionInfo |
class | BinaryNinja::DebugInfo |
class | BinaryNinja::DebugInfoParser |
class | BinaryNinja::CustomDebugInfoParser |
struct BinaryNinja::DebugFunctionInfo |
Public Member Functions | |
DebugFunctionInfo (std::string shortName, std::string fullName, std::string rawName, uint64_t address, Ref< Type > type, Ref< Platform > platform, const std::vector< std::string > &components, const std::vector< VariableNameAndType > &localVariables) | |
Public Attributes | |
std::string | shortName |
std::string | fullName |
std::string | rawName |
uint64_t | address |
Ref< Type > | type |
Ref< Platform > | platform |
std::vector< std::string > | components |
std::vector< VariableNameAndType > | localVariables |
|
inline |
std::string BinaryNinja::DebugFunctionInfo::shortName |
std::string BinaryNinja::DebugFunctionInfo::fullName |
std::string BinaryNinja::DebugFunctionInfo::rawName |
uint64_t BinaryNinja::DebugFunctionInfo::address |
std::vector<std::string> BinaryNinja::DebugFunctionInfo::components |
std::vector<VariableNameAndType> BinaryNinja::DebugFunctionInfo::localVariables |
class BinaryNinja::DebugInfo |
Public Member Functions | |
DebugInfo (BNDebugInfo *debugInfo) | |
std::vector< std::string > | GetParsers () const |
TypeContainer | GetTypeContainer (const std::string &parserName) |
Type Container for all types in the DebugInfo that resulted from the parse of the given parser. | |
std::vector< NameAndType > | GetTypes (const std::string &parserName="") const |
std::vector< DebugFunctionInfo > | GetFunctions (const std::string &parserName="") const |
std::vector< DataVariableAndName > | GetDataVariables (const std::string &parserName="") const |
Ref< Type > | GetTypeByName (const std::string &parserName, const std::string &name) const |
std::optional< std::tuple< uint64_t, Ref< Type > > > | GetDataVariableByName (const std::string &parserName, const std::string &name) const |
std::optional< std::tuple< std::string, Ref< Type > > > | GetDataVariableByAddress (const std::string &parserName, const uint64_t address) const |
std::vector< std::tuple< std::string, Ref< Type > > > | GetTypesByName (const std::string &name) const |
std::vector< std::tuple< std::string, uint64_t, Ref< Type > > > | GetDataVariablesByName (const std::string &name) const |
std::vector< std::tuple< std::string, std::string, Ref< Type > > > | GetDataVariablesByAddress (const uint64_t address) const |
bool | RemoveParserInfo (const std::string &parserName) |
bool | RemoveParserTypes (const std::string &parserName) |
bool | RemoveParserFunctions (const std::string &parserName) |
bool | RemoveParserDataVariables (const std::string &parserName) |
bool | RemoveTypeByName (const std::string &parserName, const std::string &name) |
bool | RemoveFunctionByIndex (const std::string &parserName, const size_t index) |
bool | RemoveDataVariableByAddress (const std::string &parserName, const uint64_t address) |
bool | AddType (const std::string &name, Ref< Type > type, const std::vector< std::string > &components={}) |
bool | AddFunction (const DebugFunctionInfo &function) |
bool | AddDataVariable (uint64_t address, Ref< Type > type, const std::string &name="", const std::vector< std::string > &components={}) |
Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNDebugInfo, BNNewDebugInfoReference, BNFreeDebugInfoReference > | |
CoreRefCountObject () | |
virtual | ~CoreRefCountObject () |
BNDebugInfo * | GetObject () const |
void | AddRef () |
void | Release () |
void | AddRefForRegistration () |
void | ReleaseForRegistration () |
void | AddRefForCallback () |
void | ReleaseForCallback () |
Additional Inherited Members | |
Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNDebugInfo, BNNewDebugInfoReference, BNFreeDebugInfoReference > | |
static BNDebugInfo * | GetObject (CoreRefCountObject *obj) |
static BNDebugInfo * | GetObject (const CoreRefCountObject *obj) |
Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNDebugInfo, BNNewDebugInfoReference, BNFreeDebugInfoReference > | |
std::atomic< int > | m_refs |
bool | m_registeredRef |
BNDebugInfo * | m_object |
DebugInfo::DebugInfo | ( | BNDebugInfo * | debugInfo | ) |
vector< string > DebugInfo::GetParsers | ( | ) | const |
TypeContainer DebugInfo::GetTypeContainer | ( | const std::string & | parserName | ) |
vector< NameAndType > DebugInfo::GetTypes | ( | const std::string & | parserName = "" | ) | const |
vector< DebugFunctionInfo > DebugInfo::GetFunctions | ( | const std::string & | parserName = "" | ) | const |
vector< DataVariableAndName > DebugInfo::GetDataVariables | ( | const std::string & | parserName = "" | ) | const |
Ref< Type > DebugInfo::GetTypeByName | ( | const std::string & | parserName, |
const std::string & | name ) const |
optional< tuple< uint64_t, Ref< Type > > > DebugInfo::GetDataVariableByName | ( | const std::string & | parserName, |
const std::string & | name ) const |
optional< tuple< string, Ref< Type > > > DebugInfo::GetDataVariableByAddress | ( | const std::string & | parserName, |
const uint64_t | address ) const |
vector< tuple< string, uint64_t, Ref< Type > > > DebugInfo::GetDataVariablesByName | ( | const std::string & | name | ) | const |
vector< tuple< string, string, Ref< Type > > > DebugInfo::GetDataVariablesByAddress | ( | const uint64_t | address | ) | const |
bool DebugInfo::RemoveParserInfo | ( | const std::string & | parserName | ) |
bool DebugInfo::RemoveParserTypes | ( | const std::string & | parserName | ) |
bool DebugInfo::RemoveParserFunctions | ( | const std::string & | parserName | ) |
bool DebugInfo::RemoveParserDataVariables | ( | const std::string & | parserName | ) |
bool DebugInfo::RemoveTypeByName | ( | const std::string & | parserName, |
const std::string & | name ) |
bool DebugInfo::RemoveFunctionByIndex | ( | const std::string & | parserName, |
const size_t | index ) |
bool DebugInfo::RemoveDataVariableByAddress | ( | const std::string & | parserName, |
const uint64_t | address ) |
bool DebugInfo::AddType | ( | const std::string & | name, |
Ref< Type > | type, | ||
const std::vector< std::string > & | components = {} ) |
bool DebugInfo::AddFunction | ( | const DebugFunctionInfo & | function | ) |
class BinaryNinja::DebugInfoParser |
Additional Inherited Members | |
Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNDebugInfoParser, BNNewDebugInfoParserReference, BNFreeDebugInfoParserReference > | |
std::atomic< int > | m_refs |
bool | m_registeredRef |
BNDebugInfoParser * | m_object |
DebugInfoParser::DebugInfoParser | ( | BNDebugInfoParser * | parser | ) |
|
static |
|
static |
|
static |
string DebugInfoParser::GetName | ( | ) | const |
Ref< DebugInfo > DebugInfoParser::Parse | ( | Ref< BinaryView > | view, |
Ref< BinaryView > | debugView, | ||
Ref< DebugInfo > | existingDebugInfo = nullptr, | ||
std::function< bool(size_t, size_t)> | progress = {} ) const |
bool DebugInfoParser::IsValidForView | ( | const Ref< BinaryView > | view | ) | const |
class BinaryNinja::CustomDebugInfoParser |
Additional Inherited Members | |
Static Public Member Functions inherited from BinaryNinja::DebugInfoParser | |
static Ref< DebugInfoParser > | GetByName (const std::string &name) |
static std::vector< Ref< DebugInfoParser > > | GetList () |
static std::vector< Ref< DebugInfoParser > > | GetListForView (const Ref< BinaryView > data) |
Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNDebugInfoParser, BNNewDebugInfoParserReference, BNFreeDebugInfoParserReference > | |
static BNDebugInfoParser * | GetObject (CoreRefCountObject *obj) |
static BNDebugInfoParser * | GetObject (const CoreRefCountObject *obj) |
Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNDebugInfoParser, BNNewDebugInfoParserReference, BNFreeDebugInfoParserReference > | |
std::atomic< int > | m_refs |
bool | m_registeredRef |
BNDebugInfoParser * | m_object |
CustomDebugInfoParser::CustomDebugInfoParser | ( | const std::string & | name | ) |
|
inlinevirtual |
|
pure virtual |
|
pure virtual |