BinaryNinja::TemporaryFile Class Reference

Public Member Functions

 TemporaryFile ()
 
 TemporaryFile (const DataBuffer &contents)
 
 TemporaryFile (const std::string &contents)
 
 TemporaryFile (BNTemporaryFile *file)
 
bool IsValid () const
 
std::string GetPath () const
 
DataBuffer GetContents ()
 
- Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNTemporaryFile, BNNewTemporaryFileReference, BNFreeTemporaryFile >
 CoreRefCountObject ()
 
virtual ~CoreRefCountObject ()
 
BNTemporaryFile * GetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 
void ReleaseForRegistration ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNTemporaryFile, BNNewTemporaryFileReference, BNFreeTemporaryFile >
static BNTemporaryFile * GetObject (CoreRefCountObject *obj)
 
- Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNTemporaryFile, BNNewTemporaryFileReference, BNFreeTemporaryFile >
std::atomic< int > m_refs
 
bool m_registeredRef
 
BNTemporaryFile * m_object
 

Constructor & Destructor Documentation

◆ TemporaryFile() [1/4]

TemporaryFile::TemporaryFile ( )

◆ TemporaryFile() [2/4]

TemporaryFile::TemporaryFile ( const DataBuffer contents)

◆ TemporaryFile() [3/4]

BinaryNinja::TemporaryFile::TemporaryFile ( const std::string &  contents)

◆ TemporaryFile() [4/4]

TemporaryFile::TemporaryFile ( BNTemporaryFile *  file)

Member Function Documentation

◆ GetContents()

DataBuffer TemporaryFile::GetContents ( )

◆ GetPath()

string TemporaryFile::GetPath ( ) const

◆ IsValid()

bool BinaryNinja::TemporaryFile::IsValid ( ) const
inline

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