BinaryNinja::CoreFileAccessor Class Reference

Public Member Functions

 CoreFileAccessor (BNFileAccessor *accessor)
 
virtual bool IsValid () const override
 
virtual uint64_t GetLength () const override
 
virtual size_t Read (void *dest, uint64_t offset, size_t len) override
 
virtual size_t Write (uint64_t offset, const void *src, size_t len) override
 
- Public Member Functions inherited from BinaryNinja::FileAccessor
 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
 

Additional Inherited Members

- Protected Attributes inherited from BinaryNinja::FileAccessor
BNFileAccessor m_callbacks
 

Constructor & Destructor Documentation

◆ CoreFileAccessor()

CoreFileAccessor::CoreFileAccessor ( BNFileAccessor accessor)

Member Function Documentation

◆ GetLength()

uint64_t CoreFileAccessor::GetLength ( ) const
overridevirtual

◆ IsValid()

virtual bool BinaryNinja::CoreFileAccessor::IsValid ( ) const
inlineoverridevirtual

◆ Read()

size_t CoreFileAccessor::Read ( void *  dest,
uint64_t  offset,
size_t  len 
)
overridevirtual

◆ Write()

size_t CoreFileAccessor::Write ( uint64_t  offset,
const void *  src,
size_t  len 
)
overridevirtual

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