VariableList Class Reference

Detailed Description

The main variable list dock widget.

Public Member Functions

 VariableList (ViewFrame *view, BinaryViewRef data)
 
QWidget * headerWidget () override
 
void focus () override
 
void refresh ()
 
VariableListItemselectedItem () const
 Get the VariableListItem corresponding to the current selection. More...
 
void changeSelectedVariableName ()
 Show the rename dialog for the selected variable. More...
 
void changeSelectedVariableType ()
 Show the new type dialog for the seleected variable. More...
 
void clearSelectedVariableName ()
 Clear the selected variable's name. More...
 
void clearSelectedVariableType ()
 Clear the selected variable's type. More...
 
void clearSelectedVariableNameAndType ()
 Undefine the selected variable's user symbol. More...
 
void showSelectedVariableFirstUsage ()
 Navigate to the first usage of the selected variable. More...
 
void showSelectedDataVariableDefinition ()
 Navigate to the definition of the selected data variable. More...
 
void setSelectedVariableDeadStoreElimination (BNDeadStoreElimination dse)
 Set the selected variable's DSE policy. More...
 
- Public Member Functions inherited from SidebarWidget
 SidebarWidget (const QString &title)
 
const QString & title () const
 
virtual void notifyFontChanged ()
 
virtual void notifyOffsetChanged (uint64_t)
 
virtual void notifyThemeChanged ()
 
virtual void notifyViewChanged (ViewFrame *)
 
virtual void notifyViewLocationChanged (View *, const ViewLocation &)
 
virtual void focus ()
 
virtual QWidget * headerWidget ()
 

Additional Inherited Members

- Protected Attributes inherited from SidebarWidget
QString m_title
 
UIActionHandler m_actionHandler
 
ContextMenuManagerm_contextMenuManager = nullptr
 
Menum_menu = nullptr
 

Constructor & Destructor Documentation

◆ VariableList()

VariableList::VariableList ( ViewFrame view,
BinaryViewRef  data 
)

Member Function Documentation

◆ changeSelectedVariableName()

void VariableList::changeSelectedVariableName ( )

Show the rename dialog for the selected variable.

◆ changeSelectedVariableType()

void VariableList::changeSelectedVariableType ( )

Show the new type dialog for the seleected variable.

◆ clearSelectedVariableName()

void VariableList::clearSelectedVariableName ( )

Clear the selected variable's name.

◆ clearSelectedVariableNameAndType()

void VariableList::clearSelectedVariableNameAndType ( )

Undefine the selected variable's user symbol.

◆ clearSelectedVariableType()

void VariableList::clearSelectedVariableType ( )

Clear the selected variable's type.

◆ focus()

void VariableList::focus ( )
inlineoverridevirtual

Reimplemented from SidebarWidget.

◆ headerWidget()

QWidget * VariableList::headerWidget ( )
inlineoverridevirtual

Reimplemented from SidebarWidget.

◆ refresh()

void VariableList::refresh ( )

◆ selectedItem()

VariableListItem * VariableList::selectedItem ( ) const

Get the VariableListItem corresponding to the current selection.

◆ setSelectedVariableDeadStoreElimination()

void VariableList::setSelectedVariableDeadStoreElimination ( BNDeadStoreElimination  dse)

Set the selected variable's DSE policy.

◆ showSelectedDataVariableDefinition()

void VariableList::showSelectedDataVariableDefinition ( )

Navigate to the definition of the selected data variable.

◆ showSelectedVariableFirstUsage()

void VariableList::showSelectedVariableFirstUsage ( )

Navigate to the first usage of the selected variable.


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