BinaryNinja::InteractionHandler Class Referenceabstract

Public Member Functions

virtual void ShowPlainTextReport (Ref< BinaryView > view, const std::string &title, const std::string &contents)=0
 
virtual void ShowMarkdownReport (Ref< BinaryView > view, const std::string &title, const std::string &contents, const std::string &plainText)
 
virtual void ShowHTMLReport (Ref< BinaryView > view, const std::string &title, const std::string &contents, const std::string &plainText)
 
virtual void ShowGraphReport (Ref< BinaryView > view, const std::string &title, Ref< FlowGraph > graph)
 
virtual void ShowReportCollection (const std::string &title, Ref< ReportCollection > reports)
 
virtual bool GetTextLineInput (std::string &result, const std::string &prompt, const std::string &title)=0
 
virtual bool GetIntegerInput (int64_t &result, const std::string &prompt, const std::string &title)
 
virtual bool GetAddressInput (uint64_t &result, const std::string &prompt, const std::string &title, Ref< BinaryView > view, uint64_t currentAddr)
 
virtual bool GetChoiceInput (size_t &idx, const std::string &prompt, const std::string &title, const std::vector< std::string > &choices)=0
 
virtual bool GetOpenFileNameInput (std::string &result, const std::string &prompt, const std::string &ext="")
 
virtual bool GetSaveFileNameInput (std::string &result, const std::string &prompt, const std::string &ext="", const std::string &defaultName="")
 
virtual bool GetDirectoryNameInput (std::string &result, const std::string &prompt, const std::string &defaultName="")
 
virtual bool GetFormInput (std::vector< FormInputField > &fields, const std::string &title)=0
 
virtual BNMessageBoxButtonResult ShowMessageBox (const std::string &title, const std::string &text, BNMessageBoxButtonSet buttons=OKButtonSet, BNMessageBoxIcon icon=InformationIcon)=0
 
virtual bool OpenUrl (const std::string &url)=0
 

Member Function Documentation

◆ GetAddressInput()

bool InteractionHandler::GetAddressInput ( uint64_t &  result,
const std::string &  prompt,
const std::string &  title,
Ref< BinaryView view,
uint64_t  currentAddr 
)
virtual

◆ GetChoiceInput()

virtual bool BinaryNinja::InteractionHandler::GetChoiceInput ( size_t &  idx,
const std::string &  prompt,
const std::string &  title,
const std::vector< std::string > &  choices 
)
pure virtual

◆ GetDirectoryNameInput()

bool InteractionHandler::GetDirectoryNameInput ( std::string &  result,
const std::string &  prompt,
const std::string &  defaultName = "" 
)
virtual

◆ GetFormInput()

virtual bool BinaryNinja::InteractionHandler::GetFormInput ( std::vector< FormInputField > &  fields,
const std::string &  title 
)
pure virtual

◆ GetIntegerInput()

bool InteractionHandler::GetIntegerInput ( int64_t &  result,
const std::string &  prompt,
const std::string &  title 
)
virtual

◆ GetOpenFileNameInput()

bool InteractionHandler::GetOpenFileNameInput ( std::string &  result,
const std::string &  prompt,
const std::string &  ext = "" 
)
virtual

◆ GetSaveFileNameInput()

bool InteractionHandler::GetSaveFileNameInput ( std::string &  result,
const std::string &  prompt,
const std::string &  ext = "",
const std::string &  defaultName = "" 
)
virtual

◆ GetTextLineInput()

virtual bool BinaryNinja::InteractionHandler::GetTextLineInput ( std::string &  result,
const std::string &  prompt,
const std::string &  title 
)
pure virtual

◆ OpenUrl()

virtual bool BinaryNinja::InteractionHandler::OpenUrl ( const std::string &  url)
pure virtual

◆ ShowGraphReport()

void InteractionHandler::ShowGraphReport ( Ref< BinaryView view,
const std::string &  title,
Ref< FlowGraph graph 
)
virtual

◆ ShowHTMLReport()

void InteractionHandler::ShowHTMLReport ( Ref< BinaryView view,
const std::string &  title,
const std::string &  contents,
const std::string &  plainText 
)
virtual

◆ ShowMarkdownReport()

void InteractionHandler::ShowMarkdownReport ( Ref< BinaryView view,
const std::string &  title,
const std::string &  contents,
const std::string &  plainText 
)
virtual

◆ ShowMessageBox()

virtual BNMessageBoxButtonResult BinaryNinja::InteractionHandler::ShowMessageBox ( const std::string &  title,
const std::string &  text,
BNMessageBoxButtonSet  buttons = OKButtonSet,
BNMessageBoxIcon  icon = InformationIcon 
)
pure virtual

◆ ShowPlainTextReport()

virtual void BinaryNinja::InteractionHandler::ShowPlainTextReport ( Ref< BinaryView view,
const std::string &  title,
const std::string &  contents 
)
pure virtual

◆ ShowReportCollection()

void InteractionHandler::ShowReportCollection ( const std::string &  title,
Ref< ReportCollection reports 
)
virtual

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