|
| FileContext (FileMetadataRef file, BinaryViewRef rawData, const QString &filename=QString(), bool isValidSaveName=false, bool createViews=true) |
|
virtual | ~FileContext () |
|
void | registerReference (QObject *widget) |
|
void | unregisterReference (QObject *widget) |
|
void | close () |
|
BinaryViewRef | getRawData () const |
|
FileMetadataRef | getMetadata () const |
|
QString | getFilename () const |
|
void | setFilename (QString newName) |
|
ViewFrame * | getCurrentViewFrame () const |
|
QString | getTabName (QWidget *widget) |
|
QString | getShortFileName (QWidget *widget) |
|
bool | isValidSaveFilename () const |
|
void | markAsSaved (const QString &filename) |
|
bool | isModified () |
|
BinaryViewRef | createDataView (const QString &type) |
|
BinaryViewRef | getDataView (const QString &type, bool createView=false) |
|
std::vector< BinaryViewRef > | getAllDataViews () |
|
void | refreshDataViewCache () |
|
void | setCurrentViewFrame (ViewFrame *view) |
|
virtual std::string | GetCurrentView () override |
|
virtual uint64_t | GetCurrentOffset () override |
|
virtual bool | Navigate (const std::string &view, uint64_t offset) override |
|
QString | getBestType () |
|
std::vector< QString > | getAvailableTypes () |
|
bool | isTypeAvailable (const QString &type) |
|
bool | resolveType (const QString &type, ViewType *&viewType, BinaryViewTypeRef &data) |
|
bool | resolveTypeAndData (const QString &type, ViewType *&viewType, BinaryViewRef &data) |
|
void | updateAnalysis () |
|
SyncGroup * | newSyncGroup () |
|
SyncGroup * | syncGroupById (int id) |
|
void | deleteSyncGroup (SyncGroup *syncGroup) |
|
SyncGroup * | syncGroupForFrame (ViewFrame *frame) |
|
void | removeFrame (ViewFrame *frame) |
|
const std::vector< SyncGroup * > & | allSyncGroups () const |
|
void | forceLocationSyncForFrame (ViewFrame *frame) |
|
bool | syncLocation (ViewFrame *frame, View *view, const ViewLocation &location) |
|
void | suspendSync () |
|
void | resumeSync () |
|
| FileContextBase () |
|
Public Member Functions inherited from BinaryNinja::NavigationHandler |
| NavigationHandler () |
|
virtual | ~NavigationHandler () |
|
BNNavigationHandler * | GetCallbacks () |
|
virtual std::string | GetCurrentView ()=0 |
|
virtual uint64_t | GetCurrentOffset ()=0 |
|
virtual bool | Navigate (const std::string &view, uint64_t offset)=0 |
|
◆ FileContext()
FileContext::FileContext |
( |
FileMetadataRef |
file, |
|
|
BinaryViewRef |
rawData, |
|
|
const QString & |
filename = QString() , |
|
|
bool |
isValidSaveName = false , |
|
|
bool |
createViews = true |
|
) |
| |
◆ ~FileContext()
virtual FileContext::~FileContext |
( |
| ) |
|
|
virtual |
◆ allSyncGroups()
const std::vector< SyncGroup * > & FileContext::allSyncGroups |
( |
| ) |
const |
|
inline |
◆ close()
void FileContext::close |
( |
| ) |
|
◆ closeAllOpenFiles()
static void FileContext::closeAllOpenFiles |
( |
| ) |
|
|
static |
◆ createDataView()
BinaryViewRef FileContext::createDataView |
( |
const QString & |
type | ) |
|
◆ deleteSyncGroup()
void FileContext::deleteSyncGroup |
( |
SyncGroup * |
syncGroup | ) |
|
◆ forceLocationSyncForFrame()
void FileContext::forceLocationSyncForFrame |
( |
ViewFrame * |
frame | ) |
|
◆ getAllDataViews()
◆ getAvailableTypes()
std::vector< QString > FileContext::getAvailableTypes |
( |
| ) |
|
◆ getBestType()
QString FileContext::getBestType |
( |
| ) |
|
◆ GetCurrentOffset()
virtual uint64_t FileContext::GetCurrentOffset |
( |
| ) |
|
|
overridevirtual |
◆ GetCurrentView()
virtual std::string FileContext::GetCurrentView |
( |
| ) |
|
|
overridevirtual |
◆ getCurrentViewFrame()
ViewFrame * FileContext::getCurrentViewFrame |
( |
| ) |
const |
|
inline |
◆ getDataView()
BinaryViewRef FileContext::getDataView |
( |
const QString & |
type, |
|
|
bool |
createView = false |
|
) |
| |
◆ getFilename()
QString FileContext::getFilename |
( |
| ) |
const |
|
inline |
◆ getMetadata()
◆ getOpenFileContexts()
static const std::set< FileContext * > & FileContext::getOpenFileContexts |
( |
| ) |
|
|
static |
◆ getRawData()
◆ getShortFileName()
QString FileContext::getShortFileName |
( |
QWidget * |
widget | ) |
|
◆ getTabName()
QString FileContext::getTabName |
( |
QWidget * |
widget | ) |
|
◆ isModified()
bool FileContext::isModified |
( |
| ) |
|
◆ isTypeAvailable()
bool FileContext::isTypeAvailable |
( |
const QString & |
type | ) |
|
◆ isValidSaveFilename()
bool FileContext::isValidSaveFilename |
( |
| ) |
const |
|
inline |
◆ markAsSaved()
void FileContext::markAsSaved |
( |
const QString & |
filename | ) |
|
◆ Navigate()
virtual bool FileContext::Navigate |
( |
const std::string & |
view, |
|
|
uint64_t |
offset |
|
) |
| |
|
overridevirtual |
◆ newFile()
◆ newSyncGroup()
◆ openFilename()
static FileContext * FileContext::openFilename |
( |
const QString & |
path | ) |
|
|
static |
◆ refreshDataViewCache()
void FileContext::refreshDataViewCache |
( |
| ) |
|
◆ registerReference()
void FileContext::registerReference |
( |
QObject * |
widget | ) |
|
◆ removeFrame()
void FileContext::removeFrame |
( |
ViewFrame * |
frame | ) |
|
◆ resolveType()
◆ resolveTypeAndData()
bool FileContext::resolveTypeAndData |
( |
const QString & |
type, |
|
|
ViewType *& |
viewType, |
|
|
BinaryViewRef & |
data |
|
) |
| |
◆ resumeSync()
void FileContext::resumeSync |
( |
| ) |
|
|
inline |
◆ setCurrentViewFrame()
void FileContext::setCurrentViewFrame |
( |
ViewFrame * |
view | ) |
|
◆ setFilename()
void FileContext::setFilename |
( |
QString |
newName | ) |
|
|
inline |
◆ suspendSync()
void FileContext::suspendSync |
( |
| ) |
|
|
inline |
◆ syncGroupById()
SyncGroup * FileContext::syncGroupById |
( |
int |
id | ) |
|
◆ syncGroupForFrame()
◆ syncLocation()
◆ unregisterReference()
void FileContext::unregisterReference |
( |
QObject * |
widget | ) |
|
◆ updateAnalysis()
void FileContext::updateAnalysis |
( |
| ) |
|
The documentation for this class was generated from the following file: