BinaryNinja::FileAccessor Class Referenceabstract

Public Member Functions

 FileAccessor ()
 
 FileAccessor (BNFileAccessor *accessor)
 
virtual ~FileAccessor ()
 
BNFileAccessorGetCallbacks ()
 
virtual bool IsValid () const =0
 
virtual uint64_t GetLength () const =0
 
virtual size_t Read (void *dest, uint64_t offset, size_t len)=0
 
virtual size_t Write (uint64_t offset, const void *src, size_t len)=0
 

Protected Attributes

BNFileAccessor m_callbacks
 

Constructor & Destructor Documentation

◆ FileAccessor() [1/2]

FileAccessor::FileAccessor ( )

◆ FileAccessor() [2/2]

FileAccessor::FileAccessor ( BNFileAccessor accessor)

◆ ~FileAccessor()

virtual BinaryNinja::FileAccessor::~FileAccessor ( )
inlinevirtual

Member Function Documentation

◆ GetCallbacks()

BNFileAccessor * BinaryNinja::FileAccessor::GetCallbacks ( )
inline

◆ GetLength()

virtual uint64_t BinaryNinja::FileAccessor::GetLength ( ) const
pure virtual

◆ IsValid()

virtual bool BinaryNinja::FileAccessor::IsValid ( ) const
pure virtual

◆ Read()

virtual size_t BinaryNinja::FileAccessor::Read ( void *  dest,
uint64_t  offset,
size_t  len 
)
pure virtual

◆ Write()

virtual size_t BinaryNinja::FileAccessor::Write ( uint64_t  offset,
const void *  src,
size_t  len 
)
pure virtual

Member Data Documentation

◆ m_callbacks

BNFileAccessor BinaryNinja::FileAccessor::m_callbacks
protected

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