BinaryNinja::DataRenderer Class Reference

Public Member Functions

 DataRenderer ()
 
 DataRenderer (BNDataRenderer *renderer)
 
virtual bool IsValidForData (BinaryView *data, uint64_t addr, Type *type, std::vector< std::pair< Type *, size_t > > &context)
 
virtual std::vector< DisassemblyTextLineGetLinesForData (BinaryView *data, uint64_t addr, Type *type, const std::vector< InstructionTextToken > &prefix, size_t width, std::vector< std::pair< Type *, size_t > > &context)
 
std::vector< DisassemblyTextLineRenderLinesForData (BinaryView *data, uint64_t addr, Type *type, const std::vector< InstructionTextToken > &prefix, size_t width, std::vector< std::pair< Type *, size_t > > &context)
 
- Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNDataRenderer, BNNewDataRendererReference, BNFreeDataRenderer >
 CoreRefCountObject ()
 
virtual ~CoreRefCountObject ()
 
BNDataRenderer * GetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 
void ReleaseForRegistration ()
 

Static Public Member Functions

static bool IsStructOfTypeName (Type *type, const QualifiedName &name, std::vector< std::pair< Type *, size_t > > &context)
 
static bool IsStructOfTypeName (Type *type, const std::string &name, std::vector< std::pair< Type *, size_t > > &context)
 
- Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNDataRenderer, BNNewDataRendererReference, BNFreeDataRenderer >
static BNDataRenderer * GetObject (CoreRefCountObject *obj)
 

Additional Inherited Members

- Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNDataRenderer, BNNewDataRendererReference, BNFreeDataRenderer >
std::atomic< int > m_refs
 
bool m_registeredRef
 
BNDataRenderer * m_object
 

Constructor & Destructor Documentation

◆ DataRenderer() [1/2]

DataRenderer::DataRenderer ( )

◆ DataRenderer() [2/2]

DataRenderer::DataRenderer ( BNDataRenderer *  renderer)

Member Function Documentation

◆ GetLinesForData()

vector< DisassemblyTextLine > DataRenderer::GetLinesForData ( BinaryView data,
uint64_t  addr,
Type type,
const std::vector< InstructionTextToken > &  prefix,
size_t  width,
std::vector< std::pair< Type *, size_t > > &  context 
)
virtual

◆ IsStructOfTypeName() [1/2]

static bool BinaryNinja::DataRenderer::IsStructOfTypeName ( Type type,
const QualifiedName name,
std::vector< std::pair< Type *, size_t > > &  context 
)
static

◆ IsStructOfTypeName() [2/2]

static bool BinaryNinja::DataRenderer::IsStructOfTypeName ( Type type,
const std::string &  name,
std::vector< std::pair< Type *, size_t > > &  context 
)
static

◆ IsValidForData()

bool DataRenderer::IsValidForData ( BinaryView data,
uint64_t  addr,
Type type,
std::vector< std::pair< Type *, size_t > > &  context 
)
virtual

◆ RenderLinesForData()

vector< DisassemblyTextLine > DataRenderer::RenderLinesForData ( BinaryView data,
uint64_t  addr,
Type type,
const std::vector< InstructionTextToken > &  prefix,
size_t  width,
std::vector< std::pair< Type *, size_t > > &  context 
)

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