Classes | |
| class | FileContext |
| class FileContext |
Public Member Functions | |
| 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 () |
Public Member Functions inherited from FileContextBase | |
| FileContextBase () | |
Public Member Functions inherited from BinaryNinja::NavigationHandler | |
| NavigationHandler () | |
| virtual | ~NavigationHandler () |
| BNNavigationHandler * | GetCallbacks () |
Static Public Member Functions | |
| static void | closeAllOpenFiles () |
| static FileContext * | newFile () |
| static FileContext * | newMappedFile (PlatformRef platform) |
| static FileContext * | openFilename (const QString &path) |
| static const std::set< FileContext * > & | getOpenFileContexts () |
| FileContext::FileContext | ( | FileMetadataRef | file, |
| BinaryViewRef | rawData, | ||
| const QString & | filename = QString(), | ||
| bool | isValidSaveName = false, | ||
| bool | createViews = true ) |
|
virtual |
| void FileContext::registerReference | ( | QObject * | widget | ) |
| void FileContext::unregisterReference | ( | QObject * | widget | ) |
| void FileContext::close | ( | ) |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| QString FileContext::getTabName | ( | QWidget * | widget | ) |
| QString FileContext::getShortFileName | ( | QWidget * | widget | ) |
|
inline |
| void FileContext::markAsSaved | ( | const QString & | filename | ) |
| bool FileContext::isModified | ( | ) |
| BinaryViewRef FileContext::createDataView | ( | const QString & | type | ) |
| BinaryViewRef FileContext::getDataView | ( | const QString & | type, |
| bool | createView = false ) |
| std::vector< BinaryViewRef > FileContext::getAllDataViews | ( | ) |
| void FileContext::refreshDataViewCache | ( | ) |
| void FileContext::setCurrentViewFrame | ( | ViewFrame * | view | ) |
|
overridevirtual |
Implements BinaryNinja::NavigationHandler.
|
overridevirtual |
Implements BinaryNinja::NavigationHandler.
|
overridevirtual |
Implements BinaryNinja::NavigationHandler.
| QString FileContext::getBestType | ( | ) |
| std::vector< QString > FileContext::getAvailableTypes | ( | ) |
| bool FileContext::isTypeAvailable | ( | const QString & | type | ) |
| bool FileContext::resolveType | ( | const QString & | type, |
| ViewType *& | viewType, | ||
| BinaryViewTypeRef & | data ) |
| bool FileContext::resolveTypeAndData | ( | const QString & | type, |
| ViewType *& | viewType, | ||
| BinaryViewRef & | data ) |
| void FileContext::updateAnalysis | ( | ) |
| SyncGroup * FileContext::newSyncGroup | ( | ) |
| SyncGroup * FileContext::syncGroupById | ( | int | id | ) |
| void FileContext::deleteSyncGroup | ( | SyncGroup * | syncGroup | ) |
| void FileContext::removeFrame | ( | ViewFrame * | frame | ) |
|
inline |
| void FileContext::forceLocationSyncForFrame | ( | ViewFrame * | frame | ) |
| bool FileContext::syncLocation | ( | ViewFrame * | frame, |
| View * | view, | ||
| const ViewLocation & | location ) |
|
inline |
|
inline |
|
static |
|
static |
|
static |
|
static |