Loading...
Searching...
No Matches
Commands

Detailed Description

Functions

bool undefineForAddress (BinaryViewRef data, uint64_t addr)
 
bool undefineNameForAddress (BinaryViewRef data, uint64_t addr)
 
bool undefineNameForLocalVariable (BinaryViewRef data, FunctionRef func, const BinaryNinja::Variable &var)
 
bool inputNameForAddress (QWidget *parent, BinaryViewRef data, uint64_t addr)
 
bool inputNameForLocalVariable (QWidget *parent, BinaryViewRef data, FunctionRef function, const BinaryNinja::Variable &var)
 
bool inputNameForType (QWidget *parent, std::string &name, const QString &title="Set Name", const QString &msg="Enter name:")
 
bool InferArraySize (TypeRef &type, size_t selectionSize)
 
bool askForNewType (QWidget *parent, std::optional< BinaryNinja::TypeContainer > container, const std::string &title, bool allowZeroSize, TypeRef &type, BinaryNinja::QualifiedName &name)
 
bool inputNewType (QWidget *parent, BinaryViewRef data, FunctionRef currentFunction, uint64_t currentAddr, size_t selectionSize, HighlightTokenState &highlight)
 
bool createInferredMember (QWidget *parent, BinaryViewRef data, HighlightTokenState &highlight, FunctionRef func, const BinaryNinja::FunctionViewType &ilType, size_t instrIndex)
 
bool createStructMembers (QWidget *parent, BinaryViewRef data, HighlightTokenState &highlight, FunctionRef func)
 
bool inputPossibleValueSet (QWidget *parent, BinaryViewRef data, FunctionRef currentFunction, const BinaryNinja::FunctionViewType &funcType, const BinaryNinja::Variable &var, size_t ilInstructionIndex=BN_INVALID_EXPR)
 
bool getEnumSelection (QWidget *parent, BinaryViewRef data, FunctionRef func, uint64_t constValue, TypeRef &selectedEnum, bool checkValue, bool canTruncate)
 
bool overwriteCode (BinaryViewRef data, ArchitectureRef arch, uint64_t addr, size_t len, const BinaryNinja::DataBuffer &buffer)
 
bool overwriteCode (BinaryViewRef data, ArchitectureRef arch, uint64_t addr, const BinaryNinja::DataBuffer &buffer)
 
StructureRef getInnerMostStructureContaining (BinaryViewRef data, StructureRef structure, size_t &memberIndex, const std::vector< std::string > &nameList, size_t nameIndex, TypeRef &type, std::string &typeName)
 
StructureRef getInnerMostStructureContainingOffset (BinaryViewRef data, StructureRef structure, const std::vector< std::string > &nameList, size_t nameIndex, size_t offset, TypeRef &type, std::string &typeName)
 
uint64_t getInnerMostStructureOffset (BinaryViewRef data, StructureRef structure, const std::vector< std::string > &nameList, size_t nameIndex)
 
std::string createStructureName (BinaryNinja::TypeContainer types, const std::string &prefix="struct_")
 
std::optional< BinaryNinja::VariablegetSplitVariableForAssignment (FunctionRef func, const BinaryNinja::FunctionViewType &ilType, uint64_t location, const BinaryNinja::Variable &var)
 
std::optional< size_t > getVariableDefinitionInstructionIndex (FunctionRef func, const BinaryNinja::FunctionViewType &funcType, const BinaryNinja::Variable &var, size_t ilInstructionIndex)
 
std::optional< size_t > getVariableDefinitionAddress (FunctionRef func, const BinaryNinja::FunctionViewType &funcType, const BinaryNinja::Variable &var, size_t ilInstructionIndex)
 
bool IsDefaultArgumentOrParameterName (const std::string &name)
 
std::optional< std::string > GetVariableNameFromExpr (BinaryNinja::Function *func, const BinaryNinja::HighLevelILInstruction &instr)
 

Function Documentation

◆ undefineForAddress()

bool undefineForAddress ( BinaryViewRef data,
uint64_t addr )

◆ undefineNameForAddress()

bool undefineNameForAddress ( BinaryViewRef data,
uint64_t addr )

◆ undefineNameForLocalVariable()

bool undefineNameForLocalVariable ( BinaryViewRef data,
FunctionRef func,
const BinaryNinja::Variable & var )

◆ inputNameForAddress()

bool inputNameForAddress ( QWidget * parent,
BinaryViewRef data,
uint64_t addr )

◆ inputNameForLocalVariable()

bool inputNameForLocalVariable ( QWidget * parent,
BinaryViewRef data,
FunctionRef function,
const BinaryNinja::Variable & var )

◆ inputNameForType()

bool inputNameForType ( QWidget * parent,
std::string & name,
const QString & title = "Set Name",
const QString & msg = "Enter name:" )

◆ InferArraySize()

bool InferArraySize ( TypeRef & type,
size_t selectionSize )

◆ askForNewType()

bool askForNewType ( QWidget * parent,
std::optional< BinaryNinja::TypeContainer > container,
const std::string & title,
bool allowZeroSize,
TypeRef & type,
BinaryNinja::QualifiedName & name )

◆ inputNewType()

bool inputNewType ( QWidget * parent,
BinaryViewRef data,
FunctionRef currentFunction,
uint64_t currentAddr,
size_t selectionSize,
HighlightTokenState & highlight )

◆ createInferredMember()

bool createInferredMember ( QWidget * parent,
BinaryViewRef data,
HighlightTokenState & highlight,
FunctionRef func,
const BinaryNinja::FunctionViewType & ilType,
size_t instrIndex )

◆ createStructMembers()

bool createStructMembers ( QWidget * parent,
BinaryViewRef data,
HighlightTokenState & highlight,
FunctionRef func )

◆ inputPossibleValueSet()

bool inputPossibleValueSet ( QWidget * parent,
BinaryViewRef data,
FunctionRef currentFunction,
const BinaryNinja::FunctionViewType & funcType,
const BinaryNinja::Variable & var,
size_t ilInstructionIndex = BN_INVALID_EXPR )

◆ getEnumSelection()

bool getEnumSelection ( QWidget * parent,
BinaryViewRef data,
FunctionRef func,
uint64_t constValue,
TypeRef & selectedEnum,
bool checkValue,
bool canTruncate )

◆ overwriteCode() [1/2]

bool overwriteCode ( BinaryViewRef data,
ArchitectureRef arch,
uint64_t addr,
size_t len,
const BinaryNinja::DataBuffer & buffer )

◆ overwriteCode() [2/2]

bool overwriteCode ( BinaryViewRef data,
ArchitectureRef arch,
uint64_t addr,
const BinaryNinja::DataBuffer & buffer )

◆ getInnerMostStructureContaining()

StructureRef getInnerMostStructureContaining ( BinaryViewRef data,
StructureRef structure,
size_t & memberIndex,
const std::vector< std::string > & nameList,
size_t nameIndex,
TypeRef & type,
std::string & typeName )

◆ getInnerMostStructureContainingOffset()

StructureRef getInnerMostStructureContainingOffset ( BinaryViewRef data,
StructureRef structure,
const std::vector< std::string > & nameList,
size_t nameIndex,
size_t offset,
TypeRef & type,
std::string & typeName )

◆ getInnerMostStructureOffset()

uint64_t getInnerMostStructureOffset ( BinaryViewRef data,
StructureRef structure,
const std::vector< std::string > & nameList,
size_t nameIndex )

◆ createStructureName()

std::string createStructureName ( BinaryNinja::TypeContainer types,
const std::string & prefix = "struct_" )

◆ getSplitVariableForAssignment()

std::optional< BinaryNinja::Variable > getSplitVariableForAssignment ( FunctionRef func,
const BinaryNinja::FunctionViewType & ilType,
uint64_t location,
const BinaryNinja::Variable & var )

◆ getVariableDefinitionInstructionIndex()

std::optional< size_t > getVariableDefinitionInstructionIndex ( FunctionRef func,
const BinaryNinja::FunctionViewType & funcType,
const BinaryNinja::Variable & var,
size_t ilInstructionIndex )

◆ getVariableDefinitionAddress()

std::optional< size_t > getVariableDefinitionAddress ( FunctionRef func,
const BinaryNinja::FunctionViewType & funcType,
const BinaryNinja::Variable & var,
size_t ilInstructionIndex )

◆ IsDefaultArgumentOrParameterName()

bool IsDefaultArgumentOrParameterName ( const std::string & name)

◆ GetVariableNameFromExpr()

std::optional< std::string > GetVariableNameFromExpr ( BinaryNinja::Function * func,
const BinaryNinja::HighLevelILInstruction & instr )