Public Slots | |
| virtual void | assemble () |
| virtual void | compile () |
Signals | |
| void | notifyCloseFeatureMap (bool recreate) |
| void | notifyViewChanged (ViewFrame *frame) |
Public Member Functions | |
| ViewFrame (QWidget *parent, FileContext *file, const QString &type, bool createDynamicWidgets=false) | |
| virtual | ~ViewFrame () |
| FileContext * | getFileContext () const |
| bool | areFileContentsLocked (bool showToolTip=false) |
| void | setFileContentsLocked (bool enable) |
| DockHandler * | getDockHandler () |
| QString | getTabName () |
| QString | getShortFileName () |
| std::vector< QString > | getAvailableTypes () const |
| QString | getCurrentView () const |
| BinaryViewRef | getCurrentBinaryView () const |
| QString | getCurrentDataType () const |
| uint64_t | getCurrentOffset () const |
| BNAddressRange | getSelectionOffsets () const |
| ViewLocation | getViewLocation () const |
| void | setViewLocation (const ViewLocation &viewLocation) |
| View * | getCurrentViewInterface () const |
| QWidget * | getCurrentWidget () const |
| bool | setViewType (const QString &type) |
| bool | isGraphViewPreferred () |
| void | setGraphViewPreferred (bool graphViewPreferred) |
| void | focus () |
| QWidget * | getExtendedView (const QString &name, bool create=false) |
| Sidebar * | getSidebar () |
| template<class T > | |
| T * | getSidebarWidget (const QString &name) |
| bool | navigate (const QString &type, uint64_t offset, bool updateInfo=true, bool addHistoryEntry=true) |
| bool | navigate (const QString &type, const std::function< bool(View *)> &handler, bool updateInfo=true, bool addHistoryEntry=true) |
| bool | navigate (BinaryViewRef data, uint64_t offset, bool updateInfo=true, bool addHistoryEntry=true) |
| bool | navigateToFunction (FunctionRef func, uint64_t offset, bool updateInfo=true, bool addHistoryEntry=true) |
| bool | goToReference (BinaryViewRef data, FunctionRef func, uint64_t source, uint64_t target, bool addHistoryEntry=true) |
| bool | navigateToViewLocation (BinaryViewRef data, const ViewLocation &viewLocation, bool addHistoryEntry=true, bool center=false) |
| bool | navigateToHistoryEntry (BinaryNinja::Ref< HistoryEntry > entry) |
| QString | getTypeForView (QWidget *view) const |
| QString | getDataTypeForView (const QString &type) const |
| QString | getDataTypeForView (QWidget *view) const |
| QWidget * | getViewWidgetForType (const QString &type) |
| View * | getViewForType (const QString &type) |
| bool | closeRequest () |
| void | closing () |
| void | clearViewLocation () |
| void | updateFonts () |
| void | updateTheme () |
| void | addHistoryEntry () |
| void | readHistoryEntries (BinaryViewRef data) |
| Parse history entries from the raw data associated with a BinaryView, loading them into the back/forward navigation stacks, and navigating to the saved position. More... | |
| void | writeHistoryEntries (BinaryViewRef data) |
| Serialize history entries and current position, storing them in the raw data associated with a BinaryView. More... | |
| void | back () |
| void | forward () |
| void | setCurrentFunction (FunctionRef func) |
| void | updateCrossReferences () |
| void | updateCrossReferenceSelection () |
| void | nextCrossReference () |
| void | prevCrossReference () |
| void | updateVariableList () |
| void | updateStackView () |
| void | showTags () |
| void | editTag (TagRef tag) |
| void | nextTag () |
| void | prevTag () |
| virtual UIActionContext | actionContext () |
| void | bindActions () |
| int | preferredSyncGroup () const |
| void | setPreferredSyncGroup (int syncGroup) |
| void | disableSync () |
| void | enableSync () |
| void | enableSync (int id) |
| void | newSyncGroup () |
| void | toggleSync () |
| SyncGroup * | syncGroup () |
| void | syncToOtherViews () |
| void | forceSyncFromView () |
| ViewFrame * | getOtherPane () |
Static Public Member Functions | |
| static bool | getAddressFromString (QWidget *parent, BinaryViewRef data, uint64_t &offset, uint64_t currentAddress, const QString &addrStr, std::string &errorString) |
| static bool | getAddressFromInput (QWidget *parent, BinaryViewRef data, uint64_t &offset, uint64_t currentAddress, const QString &title="Go to Address", const QString &msg="Address:", bool defaultToCurrent=false) |
| static bool | getFileOffsetFromInput (QWidget *parent, BinaryViewRef data, uint64_t &offset, uint64_t currentAddress, const QString &title="Go to File Offset", const QString &msg="File Offset:", bool defaultToCurrent=false) |
| static void | registerActions () |
| static ViewFrame * | viewFrameForWidget (QWidget *widget) |
| static bool | lineHasInstructionToken (const BinaryNinja::DisassemblyTextLine &line) |
| static QString | getDisassemblyText (const std::vector< BinaryNinja::DisassemblyTextLine > &lines) |
Protected Member Functions | |
| bool | event (QEvent *event) override |
| virtual void | mousePressEvent (QMouseEvent *event) override |
| bool | gestureEvent (QGestureEvent *event) |
| void | setView (QWidget *view) |
| BinaryNinja::Ref< HistoryEntry > | deserializeHistoryEntry (const Json::Value &json) |
| Load one history entry from json representation. More... | |
Protected Attributes | |
| QPointer< CompileDialog > | compileDialog |
|
explicit |
|
virtual |
|
virtual |
| void ViewFrame::addHistoryEntry | ( | ) |
| bool ViewFrame::areFileContentsLocked | ( | bool | showToolTip = false | ) |
|
virtualslot |
| void ViewFrame::back | ( | ) |
| void ViewFrame::bindActions | ( | ) |
| void ViewFrame::clearViewLocation | ( | ) |
| bool ViewFrame::closeRequest | ( | ) |
| void ViewFrame::closing | ( | ) |
|
virtualslot |
|
protected |
Load one history entry from json representation.
| json | Json rep of history entry |
| void ViewFrame::disableSync | ( | ) |
| void ViewFrame::editTag | ( | TagRef | tag | ) |
| void ViewFrame::enableSync | ( | ) |
| void ViewFrame::enableSync | ( | int | id | ) |
|
overrideprotected |
| void ViewFrame::focus | ( | ) |
| void ViewFrame::forceSyncFromView | ( | ) |
| void ViewFrame::forward | ( | ) |
|
protected |
|
static |
|
static |
| std::vector< QString > ViewFrame::getAvailableTypes | ( | ) | const |
| BinaryViewRef ViewFrame::getCurrentBinaryView | ( | ) | const |
| QString ViewFrame::getCurrentDataType | ( | ) | const |
| uint64_t ViewFrame::getCurrentOffset | ( | ) | const |
| QString ViewFrame::getCurrentView | ( | ) | const |
|
inline |
|
inline |
| QString ViewFrame::getDataTypeForView | ( | const QString & | type | ) | const |
| QString ViewFrame::getDataTypeForView | ( | QWidget * | view | ) | const |
|
static |
| DockHandler * ViewFrame::getDockHandler | ( | ) |
| QWidget * ViewFrame::getExtendedView | ( | const QString & | name, |
| bool | create = false |
||
| ) |
|
inline |
|
static |
| ViewFrame * ViewFrame::getOtherPane | ( | ) |
| BNAddressRange ViewFrame::getSelectionOffsets | ( | ) | const |
| QString ViewFrame::getShortFileName | ( | ) |
| Sidebar * ViewFrame::getSidebar | ( | ) |
|
inline |
| QString ViewFrame::getTabName | ( | ) |
| QString ViewFrame::getTypeForView | ( | QWidget * | view | ) | const |
| View * ViewFrame::getViewForType | ( | const QString & | type | ) |
| ViewLocation ViewFrame::getViewLocation | ( | ) | const |
| QWidget * ViewFrame::getViewWidgetForType | ( | const QString & | type | ) |
| bool ViewFrame::goToReference | ( | BinaryViewRef | data, |
| FunctionRef | func, | ||
| uint64_t | source, | ||
| uint64_t | target, | ||
| bool | addHistoryEntry = true |
||
| ) |
|
inline |
|
static |
|
overrideprotectedvirtual |
| bool ViewFrame::navigate | ( | BinaryViewRef | data, |
| uint64_t | offset, | ||
| bool | updateInfo = true, |
||
| bool | addHistoryEntry = true |
||
| ) |
| bool ViewFrame::navigate | ( | const QString & | type, |
| const std::function< bool(View *)> & | handler, | ||
| bool | updateInfo = true, |
||
| bool | addHistoryEntry = true |
||
| ) |
| bool ViewFrame::navigate | ( | const QString & | type, |
| uint64_t | offset, | ||
| bool | updateInfo = true, |
||
| bool | addHistoryEntry = true |
||
| ) |
| bool ViewFrame::navigateToFunction | ( | FunctionRef | func, |
| uint64_t | offset, | ||
| bool | updateInfo = true, |
||
| bool | addHistoryEntry = true |
||
| ) |
| bool ViewFrame::navigateToHistoryEntry | ( | BinaryNinja::Ref< HistoryEntry > | entry | ) |
| bool ViewFrame::navigateToViewLocation | ( | BinaryViewRef | data, |
| const ViewLocation & | viewLocation, | ||
| bool | addHistoryEntry = true, |
||
| bool | center = false |
||
| ) |
| void ViewFrame::newSyncGroup | ( | ) |
| void ViewFrame::nextCrossReference | ( | ) |
| void ViewFrame::nextTag | ( | ) |
|
signal |
|
signal |
|
inline |
| void ViewFrame::prevCrossReference | ( | ) |
| void ViewFrame::prevTag | ( | ) |
| void ViewFrame::readHistoryEntries | ( | BinaryViewRef | data | ) |
Parse history entries from the raw data associated with a BinaryView, loading them into the back/forward navigation stacks, and navigating to the saved position.
| data | View containing history entries |
|
static |
| void ViewFrame::setCurrentFunction | ( | FunctionRef | func | ) |
| void ViewFrame::setFileContentsLocked | ( | bool | enable | ) |
|
inline |
|
inline |
|
protected |
| void ViewFrame::setViewLocation | ( | const ViewLocation & | viewLocation | ) |
| bool ViewFrame::setViewType | ( | const QString & | type | ) |
| void ViewFrame::showTags | ( | ) |
| SyncGroup * ViewFrame::syncGroup | ( | ) |
| void ViewFrame::syncToOtherViews | ( | ) |
| void ViewFrame::toggleSync | ( | ) |
| void ViewFrame::updateCrossReferences | ( | ) |
| void ViewFrame::updateCrossReferenceSelection | ( | ) |
| void ViewFrame::updateFonts | ( | ) |
| void ViewFrame::updateStackView | ( | ) |
| void ViewFrame::updateTheme | ( | ) |
| void ViewFrame::updateVariableList | ( | ) |
|
static |
| void ViewFrame::writeHistoryEntries | ( | BinaryViewRef | data | ) |
Serialize history entries and current position, storing them in the raw data associated with a BinaryView.
| data | View for saving history entries |
|
protected |