Binary Ninja API C++: Util

Classes

struct  fmt::formatter< QString >

Functions

std::string getStringForLocalVariable (ArchitectureRef arch, FunctionRef func, BinaryNinja::Variable localVar)
std::string getStringForRegisterValue (ArchitectureRef arch, BinaryNinja::RegisterValue value)
std::string getPossibleValueSetStateName (BNRegisterValueType state)
std::string getStringForIntegerValue (int64_t value)
std::string getStringForUIntegerValue (uint64_t value)
std::string getStringForPossibleValueSet (ArchitectureRef arch, const BinaryNinja::PossibleValueSet &values, bool pretty=true)
std::string getStringForInstructionDataflowDetails (BinaryViewRef data, ArchitectureRef arch, FunctionRef func, uint64_t address)
std::optional< BinaryNinja::PossibleValueSetgetPossibleValueSetForToken (View *view, BinaryViewRef data, ArchitectureRef arch, FunctionRef func, HighlightTokenState token, size_t instrIdx)
std::optional< BinaryNinja::PossibleValueSetgetPossibleValueSetForILToken (View *view, HighlightTokenState token)
std::optional< uint64_t > getAddressOfILTokenExpr (View *view, HighlightTokenState token)
template<typename T>
std::optional< T > visitILInstructionForToken (View *view, const HighlightTokenState &token, const std::function< std::optional< T >(BinaryNinja::LowLevelILInstruction &)> &llil, const std::function< std::optional< T >(BinaryNinja::MediumLevelILInstruction &)> &mlil, const std::function< std::optional< T >(BinaryNinja::HighLevelILInstruction &)> &hlil)
void showHexPreview (QWidget *parent, ViewFrame *frame, const QPoint &previewPos, BinaryViewRef data, uint64_t address)
bool showDisassemblyPreview (QWidget *parent, ViewFrame *frame, const QPoint &previewPos, BinaryViewRef data, FunctionRef func, const ViewLocation &location)
void showTextTooltip (QWidget *parent, const QPoint &previewPos, const QString &text)
bool isBinaryNinjaDatabase (QFileInfo &info, QFileAccessor &accessor)
PlatformRef getOrAskForPlatform (QWidget *parent, BinaryViewRef data)
PlatformRef getOrAskForPlatform (QWidget *parent, PlatformRef defaultValue)
std::optional< std::string > getStringForGraphType (BNFunctionGraphType type)
std::optional< BinaryNinja::FunctionViewTypegetGraphTypeForString (const std::string &type)

◆ fmt::formatter< QString >

struct fmt::formatter< QString >

Public Member Functions

format_context::iterator format (const QString &obj, format_context &ctx) const
constexpr auto parse (format_parse_context &ctx) -> format_parse_context::iterator

◆ format()

format_context::iterator fmt::formatter< QString >::format ( const QString & obj,
format_context & ctx ) const
inline

◆ parse()

auto fmt::formatter< QString >::parse ( format_parse_context & ctx) ->format_parse_context::iterator
inlineconstexpr

◆ getStringForLocalVariable()

◆ getStringForRegisterValue()

◆ getPossibleValueSetStateName()

◆ getStringForIntegerValue()

std::string getStringForIntegerValue ( int64_t value)

◆ getStringForUIntegerValue()

std::string getStringForUIntegerValue ( uint64_t value)

◆ getStringForPossibleValueSet()

◆ getStringForInstructionDataflowDetails()

◆ getPossibleValueSetForToken()

◆ getPossibleValueSetForILToken()

◆ getAddressOfILTokenExpr()

◆ visitILInstructionForToken()

◆ showHexPreview()

void showHexPreview ( QWidget * parent,
ViewFrame * frame,
const QPoint & previewPos,
BinaryViewRef data,
uint64_t address )

◆ showDisassemblyPreview()

◆ showTextTooltip()

void showTextTooltip ( QWidget * parent,
const QPoint & previewPos,
const QString & text )

◆ isBinaryNinjaDatabase()

bool isBinaryNinjaDatabase ( QFileInfo & info,
QFileAccessor & accessor )

◆ getOrAskForPlatform() [1/2]

◆ getOrAskForPlatform() [2/2]

◆ getStringForGraphType()

◆ getGraphTypeForString()