BinaryNinja::Function Class Reference

Public Member Functions

 Function (BNFunction *func)
 
virtual ~Function ()
 
Ref< BinaryViewGetView () const
 
Ref< ArchitectureGetArchitecture () const
 
Ref< PlatformGetPlatform () const
 
uint64_t GetStart () const
 
Ref< SymbolGetSymbol () const
 
bool WasAutomaticallyDiscovered () const
 
bool HasUserAnnotations () const
 
Confidence< bool > CanReturn () const
 
bool HasExplicitlyDefinedType () const
 
bool NeedsUpdate () const
 
std::vector< Ref< BasicBlock > > GetBasicBlocks () const
 
Ref< BasicBlockGetBasicBlockAtAddress (Architecture *arch, uint64_t addr) const
 
void MarkRecentUse ()
 
std::string GetComment () const
 
std::string GetCommentForAddress (uint64_t addr) const
 
std::vector< uint64_t > GetCommentedAddresses () const
 
void SetComment (const std::string &comment)
 
void SetCommentForAddress (uint64_t addr, const std::string &comment)
 
std::vector< ReferenceSourceGetCallSites () const
 
void AddUserCodeReference (Architecture *fromArch, uint64_t fromAddr, uint64_t toAddr)
 
void RemoveUserCodeReference (Architecture *fromArch, uint64_t fromAddr, uint64_t toAddr)
 
void AddUserTypeReference (Architecture *fromArch, uint64_t fromAddr, const QualifiedName &name)
 
void RemoveUserTypeReference (Architecture *fromArch, uint64_t fromAddr, const QualifiedName &name)
 
void AddUserTypeFieldReference (Architecture *fromArch, uint64_t fromAddr, const QualifiedName &name, uint64_t offset, size_t size=0)
 
void RemoveUserTypeFieldReference (Architecture *fromArch, uint64_t fromAddr, const QualifiedName &name, uint64_t offset, size_t size=0)
 
Ref< LowLevelILFunctionGetLowLevelIL () const
 
Ref< LowLevelILFunctionGetLowLevelILIfAvailable () const
 
size_t GetLowLevelILForInstruction (Architecture *arch, uint64_t addr)
 
std::set< size_t > GetLowLevelILInstructionsForAddress (Architecture *arch, uint64_t addr)
 
std::vector< size_t > GetLowLevelILExitsForInstruction (Architecture *arch, uint64_t addr)
 
RegisterValue GetRegisterValueAtInstruction (Architecture *arch, uint64_t addr, uint32_t reg)
 
RegisterValue GetRegisterValueAfterInstruction (Architecture *arch, uint64_t addr, uint32_t reg)
 
RegisterValue GetStackContentsAtInstruction (Architecture *arch, uint64_t addr, int64_t offset, size_t size)
 
RegisterValue GetStackContentsAfterInstruction (Architecture *arch, uint64_t addr, int64_t offset, size_t size)
 
RegisterValue GetParameterValueAtInstruction (Architecture *arch, uint64_t addr, Type *functionType, size_t i)
 
RegisterValue GetParameterValueAtLowLevelILInstruction (size_t instr, Type *functionType, size_t i)
 
std::vector< uint32_t > GetRegistersReadByInstruction (Architecture *arch, uint64_t addr)
 
std::vector< uint32_t > GetRegistersWrittenByInstruction (Architecture *arch, uint64_t addr)
 
std::vector< StackVariableReferenceGetStackVariablesReferencedByInstruction (Architecture *arch, uint64_t addr)
 
std::vector< StackVariableReferenceGetStackVariablesReferencedByInstructionIfAvailable (Architecture *arch, uint64_t addr)
 
std::vector< BNConstantReferenceGetConstantsReferencedByInstruction (Architecture *arch, uint64_t addr)
 
std::vector< BNConstantReferenceGetConstantsReferencedByInstructionIfAvailable (Architecture *arch, uint64_t addr)
 
std::vector< ILReferenceSourceGetMediumLevelILVariableReferences (const Variable &var)
 
std::vector< VariableReferenceSourceGetMediumLevelILVariableReferencesFrom (Architecture *arch, uint64_t addr)
 
std::vector< VariableReferenceSourceGetMediumLevelILVariableReferencesInRange (Architecture *arch, uint64_t addr, uint64_t len)
 
std::vector< ILReferenceSourceGetMediumLevelILVariableReferencesIfAvailable (const Variable &var)
 
std::vector< VariableReferenceSourceGetMediumLevelILVariableReferencesFromIfAvailable (Architecture *arch, uint64_t addr)
 
std::vector< VariableReferenceSourceGetMediumLevelILVariableReferencesInRangeIfAvailable (Architecture *arch, uint64_t addr, uint64_t len)
 
std::vector< ILReferenceSourceGetHighLevelILVariableReferences (const Variable &var)
 
std::vector< VariableReferenceSourceGetHighLevelILVariableReferencesFrom (Architecture *arch, uint64_t addr)
 
std::vector< VariableReferenceSourceGetHighLevelILVariableReferencesInRange (Architecture *arch, uint64_t addr, uint64_t len)
 
std::vector< ILReferenceSourceGetHighLevelILVariableReferencesIfAvailable (const Variable &var)
 
std::vector< VariableReferenceSourceGetHighLevelILVariableReferencesFromIfAvailable (Architecture *arch, uint64_t addr)
 
std::vector< VariableReferenceSourceGetHighLevelILVariableReferencesInRangeIfAvailable (Architecture *arch, uint64_t addr, uint64_t len)
 
Ref< LowLevelILFunctionGetLiftedIL () const
 
Ref< LowLevelILFunctionGetLiftedILIfAvailable () const
 
size_t GetLiftedILForInstruction (Architecture *arch, uint64_t addr)
 
std::set< size_t > GetLiftedILInstructionsForAddress (Architecture *arch, uint64_t addr)
 
std::set< size_t > GetLiftedILFlagUsesForDefinition (size_t i, uint32_t flag)
 
std::set< size_t > GetLiftedILFlagDefinitionsForUse (size_t i, uint32_t flag)
 
std::set< uint32_t > GetFlagsReadByLiftedILInstruction (size_t i)
 
std::set< uint32_t > GetFlagsWrittenByLiftedILInstruction (size_t i)
 
Ref< MediumLevelILFunctionGetMediumLevelIL () const
 
Ref< MediumLevelILFunctionGetMediumLevelILIfAvailable () const
 
Ref< MediumLevelILFunctionGetMappedMediumLevelIL () const
 
Ref< MediumLevelILFunctionGetMappedMediumLevelILIfAvailable () const
 
Ref< HighLevelILFunctionGetHighLevelIL () const
 
Ref< HighLevelILFunctionGetHighLevelILIfAvailable () const
 
Ref< LanguageRepresentationFunctionGetLanguageRepresentation () const
 
Ref< LanguageRepresentationFunctionGetLanguageRepresentationIfAvailable () const
 
Ref< TypeGetType () const
 
Confidence< Ref< Type > > GetReturnType () const
 
Confidence< std::vector< uint32_t > > GetReturnRegisters () const
 
Confidence< Ref< CallingConvention > > GetCallingConvention () const
 
Confidence< std::vector< Variable > > GetParameterVariables () const
 
Confidence< bool > HasVariableArguments () const
 
Confidence< int64_t > GetStackAdjustment () const
 
std::map< uint32_t, Confidence< int32_t > > GetRegisterStackAdjustments () const
 
Confidence< std::set< uint32_t > > GetClobberedRegisters () const
 
void SetAutoType (Type *type)
 
void SetAutoReturnType (const Confidence< Ref< Type > > &type)
 
void SetAutoReturnRegisters (const Confidence< std::vector< uint32_t > > &returnRegs)
 
void SetAutoCallingConvention (const Confidence< Ref< CallingConvention > > &convention)
 
void SetAutoParameterVariables (const Confidence< std::vector< Variable > > &vars)
 
void SetAutoHasVariableArguments (const Confidence< bool > &varArgs)
 
void SetAutoCanReturn (const Confidence< bool > &returns)
 
void SetAutoStackAdjustment (const Confidence< int64_t > &stackAdjust)
 
void SetAutoRegisterStackAdjustments (const std::map< uint32_t, Confidence< int32_t > > &regStackAdjust)
 
void SetAutoClobberedRegisters (const Confidence< std::set< uint32_t > > &clobbered)
 
void SetUserType (Type *type)
 
void SetReturnType (const Confidence< Ref< Type > > &type)
 
void SetReturnRegisters (const Confidence< std::vector< uint32_t > > &returnRegs)
 
void SetCallingConvention (const Confidence< Ref< CallingConvention > > &convention)
 
void SetParameterVariables (const Confidence< std::vector< Variable > > &vars)
 
void SetHasVariableArguments (const Confidence< bool > &varArgs)
 
void SetCanReturn (const Confidence< bool > &returns)
 
void SetStackAdjustment (const Confidence< int64_t > &stackAdjust)
 
void SetRegisterStackAdjustments (const std::map< uint32_t, Confidence< int32_t > > &regStackAdjust)
 
void SetClobberedRegisters (const Confidence< std::set< uint32_t > > &clobbered)
 
void ApplyImportedTypes (Symbol *sym, Ref< Type > type=nullptr)
 
void ApplyAutoDiscoveredType (Type *type)
 
Ref< FlowGraphCreateFunctionGraph (BNFunctionGraphType type, DisassemblySettings *settings=nullptr)
 
std::map< int64_t, std::vector< VariableNameAndType > > GetStackLayout ()
 
void CreateAutoStackVariable (int64_t offset, const Confidence< Ref< Type > > &type, const std::string &name)
 
void CreateUserStackVariable (int64_t offset, const Confidence< Ref< Type > > &type, const std::string &name)
 
void DeleteAutoStackVariable (int64_t offset)
 
void DeleteUserStackVariable (int64_t offset)
 
bool GetStackVariableAtFrameOffset (Architecture *arch, uint64_t addr, int64_t offset, VariableNameAndType &var)
 
std::map< Variable, VariableNameAndTypeGetVariables ()
 
std::set< VariableGetMediumLevelILVariables ()
 
std::set< VariableGetMediumLevelILAliasedVariables ()
 
std::set< SSAVariableGetMediumLevelILSSAVariables ()
 
std::set< VariableGetHighLevelILVariables ()
 
std::set< VariableGetHighLevelILAliasedVariables ()
 
std::set< SSAVariableGetHighLevelILSSAVariables ()
 
std::set< VariableGetMediumLevelILVariablesIfAvailable ()
 
std::set< VariableGetMediumLevelILAliasedVariablesIfAvailable ()
 
std::set< SSAVariableGetMediumLevelILSSAVariablesIfAvailable ()
 
std::set< VariableGetHighLevelILVariablesIfAvailable ()
 
std::set< VariableGetHighLevelILAliasedVariablesIfAvailable ()
 
std::set< SSAVariableGetHighLevelILSSAVariablesIfAvailable ()
 
void CreateAutoVariable (const Variable &var, const Confidence< Ref< Type > > &type, const std::string &name, bool ignoreDisjointUses=false)
 
void CreateUserVariable (const Variable &var, const Confidence< Ref< Type > > &type, const std::string &name, bool ignoreDisjointUses=false)
 
void DeleteAutoVariable (const Variable &var)
 
void DeleteUserVariable (const Variable &var)
 
bool IsVariableUserDefinded (const Variable &var)
 
Confidence< Ref< Type > > GetVariableType (const Variable &var)
 
std::string GetVariableName (const Variable &var)
 
void SetAutoIndirectBranches (Architecture *sourceArch, uint64_t source, const std::vector< ArchAndAddr > &branches)
 
void SetUserIndirectBranches (Architecture *sourceArch, uint64_t source, const std::vector< ArchAndAddr > &branches)
 
std::vector< IndirectBranchInfoGetIndirectBranches ()
 
std::vector< IndirectBranchInfoGetIndirectBranchesAt (Architecture *arch, uint64_t addr)
 
std::vector< uint64_t > GetUnresolvedIndirectBranches ()
 
bool HasUnresolvedIndirectBranches ()
 
void SetAutoCallTypeAdjustment (Architecture *arch, uint64_t addr, const Confidence< Ref< Type > > &adjust)
 
void SetAutoCallStackAdjustment (Architecture *arch, uint64_t addr, const Confidence< int64_t > &adjust)
 
void SetAutoCallRegisterStackAdjustment (Architecture *arch, uint64_t addr, const std::map< uint32_t, Confidence< int32_t > > &adjust)
 
void SetAutoCallRegisterStackAdjustment (Architecture *arch, uint64_t addr, uint32_t regStack, const Confidence< int32_t > &adjust)
 
void SetUserCallTypeAdjustment (Architecture *arch, uint64_t addr, const Confidence< Ref< Type > > &adjust)
 
void SetUserCallStackAdjustment (Architecture *arch, uint64_t addr, const Confidence< int64_t > &adjust)
 
void SetUserCallRegisterStackAdjustment (Architecture *arch, uint64_t addr, const std::map< uint32_t, Confidence< int32_t > > &adjust)
 
void SetUserCallRegisterStackAdjustment (Architecture *arch, uint64_t addr, uint32_t regStack, const Confidence< int32_t > &adjust)
 
Confidence< Ref< Type > > GetCallTypeAdjustment (Architecture *arch, uint64_t addr)
 
Confidence< int64_t > GetCallStackAdjustment (Architecture *arch, uint64_t addr)
 
std::map< uint32_t, Confidence< int32_t > > GetCallRegisterStackAdjustment (Architecture *arch, uint64_t addr)
 
Confidence< int32_t > GetCallRegisterStackAdjustment (Architecture *arch, uint64_t addr, uint32_t regStack)
 
bool IsCallInstruction (Architecture *arch, uint64_t addr)
 
std::vector< std::vector< InstructionTextToken > > GetBlockAnnotations (Architecture *arch, uint64_t addr)
 
BNIntegerDisplayType GetIntegerConstantDisplayType (Architecture *arch, uint64_t instrAddr, uint64_t value, size_t operand)
 
void SetIntegerConstantDisplayType (Architecture *arch, uint64_t instrAddr, uint64_t value, size_t operand, BNIntegerDisplayType type)
 
BNHighlightColor GetInstructionHighlight (Architecture *arch, uint64_t addr)
 
void SetAutoInstructionHighlight (Architecture *arch, uint64_t addr, BNHighlightColor color)
 
void SetAutoInstructionHighlight (Architecture *arch, uint64_t addr, BNHighlightStandardColor color, uint8_t alpha=255)
 
void SetAutoInstructionHighlight (Architecture *arch, uint64_t addr, BNHighlightStandardColor color, BNHighlightStandardColor mixColor, uint8_t mix, uint8_t alpha=255)
 
void SetAutoInstructionHighlight (Architecture *arch, uint64_t addr, uint8_t r, uint8_t g, uint8_t b, uint8_t alpha=255)
 
void SetUserInstructionHighlight (Architecture *arch, uint64_t addr, BNHighlightColor color)
 
void SetUserInstructionHighlight (Architecture *arch, uint64_t addr, BNHighlightStandardColor color, uint8_t alpha=255)
 
void SetUserInstructionHighlight (Architecture *arch, uint64_t addr, BNHighlightStandardColor color, BNHighlightStandardColor mixColor, uint8_t mix, uint8_t alpha=255)
 
void SetUserInstructionHighlight (Architecture *arch, uint64_t addr, uint8_t r, uint8_t g, uint8_t b, uint8_t alpha=255)
 
std::vector< TagReferenceGetAllTagReferences ()
 
std::vector< TagReferenceGetTagReferencesOfType (Ref< TagType > tagType)
 
std::vector< TagReferenceGetAddressTagReferences ()
 
std::vector< TagReferenceGetAutoAddressTagReferences ()
 
std::vector< TagReferenceGetUserAddressTagReferences ()
 
std::vector< Ref< Tag > > GetAddressTags (Architecture *arch, uint64_t addr)
 
std::vector< Ref< Tag > > GetAutoAddressTags (Architecture *arch, uint64_t addr)
 
std::vector< Ref< Tag > > GetUserAddressTags (Architecture *arch, uint64_t addr)
 
std::vector< Ref< Tag > > GetAddressTagsOfType (Architecture *arch, uint64_t addr, Ref< TagType > tagType)
 
std::vector< Ref< Tag > > GetAutoAddressTagsOfType (Architecture *arch, uint64_t addr, Ref< TagType > tagType)
 
std::vector< Ref< Tag > > GetUserAddressTagsOfType (Architecture *arch, uint64_t addr, Ref< TagType > tagType)
 
std::vector< TagReferenceGetAddressTagsInRange (Architecture *arch, uint64_t start, uint64_t end)
 
std::vector< TagReferenceGetAutoAddressTagsInRange (Architecture *arch, uint64_t start, uint64_t end)
 
std::vector< TagReferenceGetUserAddressTagsInRange (Architecture *arch, uint64_t start, uint64_t end)
 
void AddAutoAddressTag (Architecture *arch, uint64_t addr, Ref< Tag > tag)
 
void RemoveAutoAddressTag (Architecture *arch, uint64_t addr, Ref< Tag > tag)
 
void RemoveAutoAddressTagsOfType (Architecture *arch, uint64_t addr, Ref< TagType > tagType)
 
void AddUserAddressTag (Architecture *arch, uint64_t addr, Ref< Tag > tag)
 
void RemoveUserAddressTag (Architecture *arch, uint64_t addr, Ref< Tag > tag)
 
void RemoveUserAddressTagsOfType (Architecture *arch, uint64_t addr, Ref< TagType > tagType)
 
std::vector< TagReferenceGetFunctionTagReferences ()
 
std::vector< TagReferenceGetAutoFunctionTagReferences ()
 
std::vector< TagReferenceGetUserFunctionTagReferences ()
 
std::vector< Ref< Tag > > GetFunctionTags ()
 
std::vector< Ref< Tag > > GetAutoFunctionTags ()
 
std::vector< Ref< Tag > > GetUserFunctionTags ()
 
std::vector< Ref< Tag > > GetFunctionTagsOfType (Ref< TagType > tagType)
 
std::vector< Ref< Tag > > GetAutoFunctionTagsOfType (Ref< TagType > tagType)
 
std::vector< Ref< Tag > > GetUserFunctionTagsOfType (Ref< TagType > tagType)
 
void AddAutoFunctionTag (Ref< Tag > tag)
 
void RemoveAutoFunctionTag (Ref< Tag > tag)
 
void RemoveAutoFunctionTagsOfType (Ref< TagType > tagType)
 
void AddUserFunctionTag (Ref< Tag > tag)
 
void RemoveUserFunctionTag (Ref< Tag > tag)
 
void RemoveUserFunctionTagsOfType (Ref< TagType > tagType)
 
Ref< TagCreateAutoAddressTag (Architecture *arch, uint64_t addr, const std::string &tagTypeName, const std::string &data, bool unique=false)
 
Ref< TagCreateUserAddressTag (Architecture *arch, uint64_t addr, const std::string &tagTypeName, const std::string &data, bool unique=false)
 
Ref< TagCreateAutoFunctionTag (const std::string &tagTypeName, const std::string &data, bool unique=false)
 
Ref< TagCreateUserFunctionTag (const std::string &tagTypeName, const std::string &data, bool unique=false)
 
Ref< TagCreateAutoAddressTag (Architecture *arch, uint64_t addr, Ref< TagType > tagType, const std::string &data, bool unique=false)
 
Ref< TagCreateUserAddressTag (Architecture *arch, uint64_t addr, Ref< TagType > tagType, const std::string &data, bool unique=false)
 
Ref< TagCreateAutoFunctionTag (Ref< TagType > tagType, const std::string &data, bool unique=false)
 
Ref< TagCreateUserFunctionTag (Ref< TagType > tagType, const std::string &data, bool unique=false)
 
void Reanalyze (BNFunctionUpdateType type=UserFunctionUpdate)
 
void MarkUpdatesRequired (BNFunctionUpdateType type=UserFunctionUpdate)
 
void MarkCallerUpdatesRequired (BNFunctionUpdateType type=UserFunctionUpdate)
 
Ref< WorkflowGetWorkflow () const
 
void RequestAdvancedAnalysisData ()
 
void ReleaseAdvancedAnalysisData ()
 
void ReleaseAdvancedAnalysisData (size_t count)
 
std::map< std::string, double > GetAnalysisPerformanceInfo ()
 
std::vector< DisassemblyTextLineGetTypeTokens (DisassemblySettings *settings=nullptr)
 
Confidence< RegisterValueGetGlobalPointerValue () const
 
Confidence< RegisterValueGetRegisterValueAtExit (uint32_t reg) const
 
bool IsFunctionTooLarge ()
 
bool IsAnalysisSkipped ()
 
BNAnalysisSkipReason GetAnalysisSkipReason ()
 
BNFunctionAnalysisSkipOverride GetAnalysisSkipOverride ()
 
void SetAnalysisSkipOverride (BNFunctionAnalysisSkipOverride skip)
 
Ref< FlowGraphGetUnresolvedStackAdjustmentGraph ()
 
void SetUserVariableValue (const Variable &var, uint64_t defAddr, PossibleValueSet &value)
 
void ClearUserVariableValue (const Variable &var, uint64_t defAddr)
 
std::map< Variable, std::map< ArchAndAddr, PossibleValueSet > > GetAllUserVariableValues ()
 
void ClearAllUserVariableValues ()
 
void RequestDebugReport (const std::string &name)
 
std::string GetGotoLabelName (uint64_t labelId)
 
void SetGotoLabelName (uint64_t labelId, const std::string &name)
 
BNDeadStoreElimination GetVariableDeadStoreElimination (const Variable &var)
 
void SetVariableDeadStoreElimination (const Variable &var, BNDeadStoreElimination mode)
 
uint64_t GetHighestAddress ()
 
uint64_t GetLowestAddress ()
 
std::vector< BNAddressRangeGetAddressRanges ()
 
bool GetInstructionContainingAddress (Architecture *arch, uint64_t addr, uint64_t *start)
 
- Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNFunction, BNNewFunctionReference, BNFreeFunction >
 CoreRefCountObject ()
 
virtual ~CoreRefCountObject ()
 
BNFunction * GetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 
void ReleaseForRegistration ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNFunction, BNNewFunctionReference, BNFreeFunction >
static BNFunction * GetObject (CoreRefCountObject *obj)
 
- Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNFunction, BNNewFunctionReference, BNFreeFunction >
std::atomic< int > m_refs
 
bool m_registeredRef
 
BNFunction * m_object
 

Constructor & Destructor Documentation

◆ Function()

Function::Function ( BNFunction *  func)

◆ ~Function()

Function::~Function ( )
virtual

Member Function Documentation

◆ AddAutoAddressTag()

void Function::AddAutoAddressTag ( Architecture arch,
uint64_t  addr,
Ref< Tag tag 
)

◆ AddAutoFunctionTag()

void Function::AddAutoFunctionTag ( Ref< Tag tag)

◆ AddUserAddressTag()

void Function::AddUserAddressTag ( Architecture arch,
uint64_t  addr,
Ref< Tag tag 
)

◆ AddUserCodeReference()

void Function::AddUserCodeReference ( Architecture fromArch,
uint64_t  fromAddr,
uint64_t  toAddr 
)

◆ AddUserFunctionTag()

void Function::AddUserFunctionTag ( Ref< Tag tag)

◆ AddUserTypeFieldReference()

void Function::AddUserTypeFieldReference ( Architecture fromArch,
uint64_t  fromAddr,
const QualifiedName name,
uint64_t  offset,
size_t  size = 0 
)

◆ AddUserTypeReference()

void Function::AddUserTypeReference ( Architecture fromArch,
uint64_t  fromAddr,
const QualifiedName name 
)

◆ ApplyAutoDiscoveredType()

void Function::ApplyAutoDiscoveredType ( Type type)

◆ ApplyImportedTypes()

void Function::ApplyImportedTypes ( Symbol sym,
Ref< Type type = nullptr 
)

◆ CanReturn()

Confidence< bool > Function::CanReturn ( ) const

◆ ClearAllUserVariableValues()

void Function::ClearAllUserVariableValues ( )

◆ ClearUserVariableValue()

void Function::ClearUserVariableValue ( const Variable var,
uint64_t  defAddr 
)

◆ CreateAutoAddressTag() [1/2]

Ref< Tag > Function::CreateAutoAddressTag ( Architecture arch,
uint64_t  addr,
const std::string &  tagTypeName,
const std::string &  data,
bool  unique = false 
)

◆ CreateAutoAddressTag() [2/2]

Ref< Tag > Function::CreateAutoAddressTag ( Architecture arch,
uint64_t  addr,
Ref< TagType tagType,
const std::string &  data,
bool  unique = false 
)

◆ CreateAutoFunctionTag() [1/2]

Ref< Tag > Function::CreateAutoFunctionTag ( const std::string &  tagTypeName,
const std::string &  data,
bool  unique = false 
)

◆ CreateAutoFunctionTag() [2/2]

Ref< Tag > Function::CreateAutoFunctionTag ( Ref< TagType tagType,
const std::string &  data,
bool  unique = false 
)

◆ CreateAutoStackVariable()

void Function::CreateAutoStackVariable ( int64_t  offset,
const Confidence< Ref< Type > > &  type,
const std::string &  name 
)

◆ CreateAutoVariable()

void Function::CreateAutoVariable ( const Variable var,
const Confidence< Ref< Type > > &  type,
const std::string &  name,
bool  ignoreDisjointUses = false 
)

◆ CreateFunctionGraph()

Ref< FlowGraph > Function::CreateFunctionGraph ( BNFunctionGraphType  type,
DisassemblySettings settings = nullptr 
)

◆ CreateUserAddressTag() [1/2]

Ref< Tag > Function::CreateUserAddressTag ( Architecture arch,
uint64_t  addr,
const std::string &  tagTypeName,
const std::string &  data,
bool  unique = false 
)

◆ CreateUserAddressTag() [2/2]

Ref< Tag > Function::CreateUserAddressTag ( Architecture arch,
uint64_t  addr,
Ref< TagType tagType,
const std::string &  data,
bool  unique = false 
)

◆ CreateUserFunctionTag() [1/2]

Ref< Tag > Function::CreateUserFunctionTag ( const std::string &  tagTypeName,
const std::string &  data,
bool  unique = false 
)

◆ CreateUserFunctionTag() [2/2]

Ref< Tag > Function::CreateUserFunctionTag ( Ref< TagType tagType,
const std::string &  data,
bool  unique = false 
)

◆ CreateUserStackVariable()

void Function::CreateUserStackVariable ( int64_t  offset,
const Confidence< Ref< Type > > &  type,
const std::string &  name 
)

◆ CreateUserVariable()

void Function::CreateUserVariable ( const Variable var,
const Confidence< Ref< Type > > &  type,
const std::string &  name,
bool  ignoreDisjointUses = false 
)

◆ DeleteAutoStackVariable()

void Function::DeleteAutoStackVariable ( int64_t  offset)

◆ DeleteAutoVariable()

void BinaryNinja::Function::DeleteAutoVariable ( const Variable var)

◆ DeleteUserStackVariable()

void Function::DeleteUserStackVariable ( int64_t  offset)

◆ DeleteUserVariable()

void Function::DeleteUserVariable ( const Variable var)

◆ GetAddressRanges()

std::vector< BNAddressRange > Function::GetAddressRanges ( )

◆ GetAddressTagReferences()

std::vector< TagReference > Function::GetAddressTagReferences ( )

◆ GetAddressTags()

std::vector< Ref< Tag > > Function::GetAddressTags ( Architecture arch,
uint64_t  addr 
)

◆ GetAddressTagsInRange()

std::vector< TagReference > Function::GetAddressTagsInRange ( Architecture arch,
uint64_t  start,
uint64_t  end 
)

◆ GetAddressTagsOfType()

std::vector< Ref< Tag > > Function::GetAddressTagsOfType ( Architecture arch,
uint64_t  addr,
Ref< TagType tagType 
)

◆ GetAllTagReferences()

std::vector< TagReference > Function::GetAllTagReferences ( )

◆ GetAllUserVariableValues()

map< Variable, map< ArchAndAddr, PossibleValueSet > > Function::GetAllUserVariableValues ( )

◆ GetAnalysisPerformanceInfo()

map< string, double > Function::GetAnalysisPerformanceInfo ( )

◆ GetAnalysisSkipOverride()

BNFunctionAnalysisSkipOverride Function::GetAnalysisSkipOverride ( )

◆ GetAnalysisSkipReason()

BNAnalysisSkipReason Function::GetAnalysisSkipReason ( )

◆ GetArchitecture()

Ref< Architecture > Function::GetArchitecture ( ) const

◆ GetAutoAddressTagReferences()

std::vector< TagReference > Function::GetAutoAddressTagReferences ( )

◆ GetAutoAddressTags()

std::vector< Ref< Tag > > Function::GetAutoAddressTags ( Architecture arch,
uint64_t  addr 
)

◆ GetAutoAddressTagsInRange()

std::vector< TagReference > Function::GetAutoAddressTagsInRange ( Architecture arch,
uint64_t  start,
uint64_t  end 
)

◆ GetAutoAddressTagsOfType()

std::vector< Ref< Tag > > Function::GetAutoAddressTagsOfType ( Architecture arch,
uint64_t  addr,
Ref< TagType tagType 
)

◆ GetAutoFunctionTagReferences()

std::vector< TagReference > Function::GetAutoFunctionTagReferences ( )

◆ GetAutoFunctionTags()

std::vector< Ref< Tag > > Function::GetAutoFunctionTags ( )

◆ GetAutoFunctionTagsOfType()

std::vector< Ref< Tag > > Function::GetAutoFunctionTagsOfType ( Ref< TagType tagType)

◆ GetBasicBlockAtAddress()

Ref< BasicBlock > Function::GetBasicBlockAtAddress ( Architecture arch,
uint64_t  addr 
) const

◆ GetBasicBlocks()

vector< Ref< BasicBlock > > Function::GetBasicBlocks ( ) const

◆ GetBlockAnnotations()

vector< vector< InstructionTextToken > > Function::GetBlockAnnotations ( Architecture arch,
uint64_t  addr 
)

◆ GetCallingConvention()

Confidence< Ref< CallingConvention > > Function::GetCallingConvention ( ) const

◆ GetCallRegisterStackAdjustment() [1/2]

map< uint32_t, Confidence< int32_t > > Function::GetCallRegisterStackAdjustment ( Architecture arch,
uint64_t  addr 
)

◆ GetCallRegisterStackAdjustment() [2/2]

Confidence< int32_t > Function::GetCallRegisterStackAdjustment ( Architecture arch,
uint64_t  addr,
uint32_t  regStack 
)

◆ GetCallSites()

vector< ReferenceSource > Function::GetCallSites ( ) const

◆ GetCallStackAdjustment()

Confidence< int64_t > Function::GetCallStackAdjustment ( Architecture arch,
uint64_t  addr 
)

◆ GetCallTypeAdjustment()

Confidence< Ref< Type > > Function::GetCallTypeAdjustment ( Architecture arch,
uint64_t  addr 
)

◆ GetClobberedRegisters()

Confidence< set< uint32_t > > Function::GetClobberedRegisters ( ) const

◆ GetComment()

string Function::GetComment ( ) const

◆ GetCommentedAddresses()

vector< uint64_t > Function::GetCommentedAddresses ( ) const

◆ GetCommentForAddress()

string Function::GetCommentForAddress ( uint64_t  addr) const

◆ GetConstantsReferencedByInstruction()

vector< BNConstantReference > Function::GetConstantsReferencedByInstruction ( Architecture arch,
uint64_t  addr 
)

◆ GetConstantsReferencedByInstructionIfAvailable()

vector< BNConstantReference > Function::GetConstantsReferencedByInstructionIfAvailable ( Architecture arch,
uint64_t  addr 
)

◆ GetFlagsReadByLiftedILInstruction()

set< uint32_t > Function::GetFlagsReadByLiftedILInstruction ( size_t  i)

◆ GetFlagsWrittenByLiftedILInstruction()

set< uint32_t > Function::GetFlagsWrittenByLiftedILInstruction ( size_t  i)

◆ GetFunctionTagReferences()

std::vector< TagReference > Function::GetFunctionTagReferences ( )

◆ GetFunctionTags()

std::vector< Ref< Tag > > Function::GetFunctionTags ( )

◆ GetFunctionTagsOfType()

std::vector< Ref< Tag > > Function::GetFunctionTagsOfType ( Ref< TagType tagType)

◆ GetGlobalPointerValue()

Confidence< RegisterValue > Function::GetGlobalPointerValue ( ) const

◆ GetGotoLabelName()

string Function::GetGotoLabelName ( uint64_t  labelId)

◆ GetHighestAddress()

uint64_t Function::GetHighestAddress ( )

◆ GetHighLevelIL()

Ref< HighLevelILFunction > Function::GetHighLevelIL ( ) const

◆ GetHighLevelILAliasedVariables()

set< Variable > Function::GetHighLevelILAliasedVariables ( )

◆ GetHighLevelILAliasedVariablesIfAvailable()

set< Variable > Function::GetHighLevelILAliasedVariablesIfAvailable ( )

◆ GetHighLevelILIfAvailable()

Ref< HighLevelILFunction > Function::GetHighLevelILIfAvailable ( ) const

◆ GetHighLevelILSSAVariables()

set< SSAVariable > Function::GetHighLevelILSSAVariables ( )

◆ GetHighLevelILSSAVariablesIfAvailable()

set< SSAVariable > Function::GetHighLevelILSSAVariablesIfAvailable ( )

◆ GetHighLevelILVariableReferences()

vector< ILReferenceSource > Function::GetHighLevelILVariableReferences ( const Variable var)

◆ GetHighLevelILVariableReferencesFrom()

vector< VariableReferenceSource > Function::GetHighLevelILVariableReferencesFrom ( Architecture arch,
uint64_t  addr 
)

◆ GetHighLevelILVariableReferencesFromIfAvailable()

vector< VariableReferenceSource > Function::GetHighLevelILVariableReferencesFromIfAvailable ( Architecture arch,
uint64_t  addr 
)

◆ GetHighLevelILVariableReferencesIfAvailable()

vector< ILReferenceSource > Function::GetHighLevelILVariableReferencesIfAvailable ( const Variable var)

◆ GetHighLevelILVariableReferencesInRange()

vector< VariableReferenceSource > Function::GetHighLevelILVariableReferencesInRange ( Architecture arch,
uint64_t  addr,
uint64_t  len 
)

◆ GetHighLevelILVariableReferencesInRangeIfAvailable()

vector< VariableReferenceSource > Function::GetHighLevelILVariableReferencesInRangeIfAvailable ( Architecture arch,
uint64_t  addr,
uint64_t  len 
)

◆ GetHighLevelILVariables()

set< Variable > Function::GetHighLevelILVariables ( )

◆ GetHighLevelILVariablesIfAvailable()

set< Variable > Function::GetHighLevelILVariablesIfAvailable ( )

◆ GetIndirectBranches()

vector< IndirectBranchInfo > Function::GetIndirectBranches ( )

◆ GetIndirectBranchesAt()

vector< IndirectBranchInfo > Function::GetIndirectBranchesAt ( Architecture arch,
uint64_t  addr 
)

◆ GetInstructionContainingAddress()

bool Function::GetInstructionContainingAddress ( Architecture arch,
uint64_t  addr,
uint64_t *  start 
)

◆ GetInstructionHighlight()

BNHighlightColor Function::GetInstructionHighlight ( Architecture arch,
uint64_t  addr 
)

◆ GetIntegerConstantDisplayType()

BNIntegerDisplayType Function::GetIntegerConstantDisplayType ( Architecture arch,
uint64_t  instrAddr,
uint64_t  value,
size_t  operand 
)

◆ GetLanguageRepresentation()

Ref< LanguageRepresentationFunction > Function::GetLanguageRepresentation ( ) const

◆ GetLanguageRepresentationIfAvailable()

Ref< LanguageRepresentationFunction > Function::GetLanguageRepresentationIfAvailable ( ) const

◆ GetLiftedIL()

Ref< LowLevelILFunction > Function::GetLiftedIL ( ) const

◆ GetLiftedILFlagDefinitionsForUse()

set< size_t > Function::GetLiftedILFlagDefinitionsForUse ( size_t  i,
uint32_t  flag 
)

◆ GetLiftedILFlagUsesForDefinition()

set< size_t > Function::GetLiftedILFlagUsesForDefinition ( size_t  i,
uint32_t  flag 
)

◆ GetLiftedILForInstruction()

size_t Function::GetLiftedILForInstruction ( Architecture arch,
uint64_t  addr 
)

◆ GetLiftedILIfAvailable()

Ref< LowLevelILFunction > Function::GetLiftedILIfAvailable ( ) const

◆ GetLiftedILInstructionsForAddress()

set< size_t > Function::GetLiftedILInstructionsForAddress ( Architecture arch,
uint64_t  addr 
)

◆ GetLowestAddress()

uint64_t Function::GetLowestAddress ( )

◆ GetLowLevelIL()

Ref< LowLevelILFunction > Function::GetLowLevelIL ( ) const

◆ GetLowLevelILExitsForInstruction()

vector< size_t > Function::GetLowLevelILExitsForInstruction ( Architecture arch,
uint64_t  addr 
)

◆ GetLowLevelILForInstruction()

size_t Function::GetLowLevelILForInstruction ( Architecture arch,
uint64_t  addr 
)

◆ GetLowLevelILIfAvailable()

Ref< LowLevelILFunction > Function::GetLowLevelILIfAvailable ( ) const

◆ GetLowLevelILInstructionsForAddress()

set< size_t > Function::GetLowLevelILInstructionsForAddress ( Architecture arch,
uint64_t  addr 
)

◆ GetMappedMediumLevelIL()

Ref< MediumLevelILFunction > Function::GetMappedMediumLevelIL ( ) const

◆ GetMappedMediumLevelILIfAvailable()

Ref< MediumLevelILFunction > Function::GetMappedMediumLevelILIfAvailable ( ) const

◆ GetMediumLevelIL()

Ref< MediumLevelILFunction > Function::GetMediumLevelIL ( ) const

◆ GetMediumLevelILAliasedVariables()

set< Variable > Function::GetMediumLevelILAliasedVariables ( )

◆ GetMediumLevelILAliasedVariablesIfAvailable()

set< Variable > Function::GetMediumLevelILAliasedVariablesIfAvailable ( )

◆ GetMediumLevelILIfAvailable()

Ref< MediumLevelILFunction > Function::GetMediumLevelILIfAvailable ( ) const

◆ GetMediumLevelILSSAVariables()

set< SSAVariable > Function::GetMediumLevelILSSAVariables ( )

◆ GetMediumLevelILSSAVariablesIfAvailable()

set< SSAVariable > Function::GetMediumLevelILSSAVariablesIfAvailable ( )

◆ GetMediumLevelILVariableReferences()

vector< ILReferenceSource > Function::GetMediumLevelILVariableReferences ( const Variable var)

◆ GetMediumLevelILVariableReferencesFrom()

vector< VariableReferenceSource > Function::GetMediumLevelILVariableReferencesFrom ( Architecture arch,
uint64_t  addr 
)

◆ GetMediumLevelILVariableReferencesFromIfAvailable()

vector< VariableReferenceSource > Function::GetMediumLevelILVariableReferencesFromIfAvailable ( Architecture arch,
uint64_t  addr 
)

◆ GetMediumLevelILVariableReferencesIfAvailable()

vector< ILReferenceSource > Function::GetMediumLevelILVariableReferencesIfAvailable ( const Variable var)

◆ GetMediumLevelILVariableReferencesInRange()

vector< VariableReferenceSource > Function::GetMediumLevelILVariableReferencesInRange ( Architecture arch,
uint64_t  addr,
uint64_t  len 
)

◆ GetMediumLevelILVariableReferencesInRangeIfAvailable()

vector< VariableReferenceSource > Function::GetMediumLevelILVariableReferencesInRangeIfAvailable ( Architecture arch,
uint64_t  addr,
uint64_t  len 
)

◆ GetMediumLevelILVariables()

set< Variable > Function::GetMediumLevelILVariables ( )

◆ GetMediumLevelILVariablesIfAvailable()

set< Variable > Function::GetMediumLevelILVariablesIfAvailable ( )

◆ GetParameterValueAtInstruction()

RegisterValue Function::GetParameterValueAtInstruction ( Architecture arch,
uint64_t  addr,
Type functionType,
size_t  i 
)

◆ GetParameterValueAtLowLevelILInstruction()

RegisterValue Function::GetParameterValueAtLowLevelILInstruction ( size_t  instr,
Type functionType,
size_t  i 
)

◆ GetParameterVariables()

Confidence< vector< Variable > > Function::GetParameterVariables ( ) const

◆ GetPlatform()

Ref< Platform > Function::GetPlatform ( ) const

◆ GetRegistersReadByInstruction()

vector< uint32_t > Function::GetRegistersReadByInstruction ( Architecture arch,
uint64_t  addr 
)

◆ GetRegisterStackAdjustments()

map< uint32_t, Confidence< int32_t > > Function::GetRegisterStackAdjustments ( ) const

◆ GetRegistersWrittenByInstruction()

vector< uint32_t > Function::GetRegistersWrittenByInstruction ( Architecture arch,
uint64_t  addr 
)

◆ GetRegisterValueAfterInstruction()

RegisterValue Function::GetRegisterValueAfterInstruction ( Architecture arch,
uint64_t  addr,
uint32_t  reg 
)

◆ GetRegisterValueAtExit()

Confidence< RegisterValue > Function::GetRegisterValueAtExit ( uint32_t  reg) const

◆ GetRegisterValueAtInstruction()

RegisterValue Function::GetRegisterValueAtInstruction ( Architecture arch,
uint64_t  addr,
uint32_t  reg 
)

◆ GetReturnRegisters()

Confidence< vector< uint32_t > > Function::GetReturnRegisters ( ) const

◆ GetReturnType()

Confidence< Ref< Type > > Function::GetReturnType ( ) const

◆ GetStackAdjustment()

Confidence< int64_t > Function::GetStackAdjustment ( ) const

◆ GetStackContentsAfterInstruction()

RegisterValue Function::GetStackContentsAfterInstruction ( Architecture arch,
uint64_t  addr,
int64_t  offset,
size_t  size 
)

◆ GetStackContentsAtInstruction()

RegisterValue Function::GetStackContentsAtInstruction ( Architecture arch,
uint64_t  addr,
int64_t  offset,
size_t  size 
)

◆ GetStackLayout()

map< int64_t, vector< VariableNameAndType > > Function::GetStackLayout ( )

◆ GetStackVariableAtFrameOffset()

bool Function::GetStackVariableAtFrameOffset ( Architecture arch,
uint64_t  addr,
int64_t  offset,
VariableNameAndType var 
)

◆ GetStackVariablesReferencedByInstruction()

vector< StackVariableReference > Function::GetStackVariablesReferencedByInstruction ( Architecture arch,
uint64_t  addr 
)

◆ GetStackVariablesReferencedByInstructionIfAvailable()

vector< StackVariableReference > Function::GetStackVariablesReferencedByInstructionIfAvailable ( Architecture arch,
uint64_t  addr 
)

◆ GetStart()

uint64_t Function::GetStart ( ) const

◆ GetSymbol()

Ref< Symbol > Function::GetSymbol ( ) const

◆ GetTagReferencesOfType()

std::vector< TagReference > Function::GetTagReferencesOfType ( Ref< TagType tagType)

◆ GetType()

Ref< Type > Function::GetType ( ) const

◆ GetTypeTokens()

vector< DisassemblyTextLine > Function::GetTypeTokens ( DisassemblySettings settings = nullptr)

◆ GetUnresolvedIndirectBranches()

vector< uint64_t > Function::GetUnresolvedIndirectBranches ( )

◆ GetUnresolvedStackAdjustmentGraph()

Ref< FlowGraph > Function::GetUnresolvedStackAdjustmentGraph ( )

◆ GetUserAddressTagReferences()

std::vector< TagReference > Function::GetUserAddressTagReferences ( )

◆ GetUserAddressTags()

std::vector< Ref< Tag > > Function::GetUserAddressTags ( Architecture arch,
uint64_t  addr 
)

◆ GetUserAddressTagsInRange()

std::vector< TagReference > Function::GetUserAddressTagsInRange ( Architecture arch,
uint64_t  start,
uint64_t  end 
)

◆ GetUserAddressTagsOfType()

std::vector< Ref< Tag > > Function::GetUserAddressTagsOfType ( Architecture arch,
uint64_t  addr,
Ref< TagType tagType 
)

◆ GetUserFunctionTagReferences()

std::vector< TagReference > Function::GetUserFunctionTagReferences ( )

◆ GetUserFunctionTags()

std::vector< Ref< Tag > > Function::GetUserFunctionTags ( )

◆ GetUserFunctionTagsOfType()

std::vector< Ref< Tag > > Function::GetUserFunctionTagsOfType ( Ref< TagType tagType)

◆ GetVariableDeadStoreElimination()

BNDeadStoreElimination Function::GetVariableDeadStoreElimination ( const Variable var)

◆ GetVariableName()

string Function::GetVariableName ( const Variable var)

◆ GetVariables()

map< Variable, VariableNameAndType > Function::GetVariables ( )

◆ GetVariableType()

Confidence< Ref< Type > > Function::GetVariableType ( const Variable var)

◆ GetView()

Ref< BinaryView > Function::GetView ( ) const

◆ GetWorkflow()

Ref< Workflow > Function::GetWorkflow ( ) const

◆ HasExplicitlyDefinedType()

bool Function::HasExplicitlyDefinedType ( ) const

◆ HasUnresolvedIndirectBranches()

bool Function::HasUnresolvedIndirectBranches ( )

◆ HasUserAnnotations()

bool Function::HasUserAnnotations ( ) const

◆ HasVariableArguments()

Confidence< bool > Function::HasVariableArguments ( ) const

◆ IsAnalysisSkipped()

bool Function::IsAnalysisSkipped ( )

◆ IsCallInstruction()

bool Function::IsCallInstruction ( Architecture arch,
uint64_t  addr 
)

◆ IsFunctionTooLarge()

bool Function::IsFunctionTooLarge ( )

◆ IsVariableUserDefinded()

bool Function::IsVariableUserDefinded ( const Variable var)

◆ MarkCallerUpdatesRequired()

void Function::MarkCallerUpdatesRequired ( BNFunctionUpdateType  type = UserFunctionUpdate)

◆ MarkRecentUse()

void Function::MarkRecentUse ( )

◆ MarkUpdatesRequired()

void Function::MarkUpdatesRequired ( BNFunctionUpdateType  type = UserFunctionUpdate)

◆ NeedsUpdate()

bool Function::NeedsUpdate ( ) const

◆ Reanalyze()

void Function::Reanalyze ( BNFunctionUpdateType  type = UserFunctionUpdate)

◆ ReleaseAdvancedAnalysisData() [1/2]

void Function::ReleaseAdvancedAnalysisData ( )

◆ ReleaseAdvancedAnalysisData() [2/2]

void BinaryNinja::Function::ReleaseAdvancedAnalysisData ( size_t  count)

◆ RemoveAutoAddressTag()

void Function::RemoveAutoAddressTag ( Architecture arch,
uint64_t  addr,
Ref< Tag tag 
)

◆ RemoveAutoAddressTagsOfType()

void Function::RemoveAutoAddressTagsOfType ( Architecture arch,
uint64_t  addr,
Ref< TagType tagType 
)

◆ RemoveAutoFunctionTag()

void Function::RemoveAutoFunctionTag ( Ref< Tag tag)

◆ RemoveAutoFunctionTagsOfType()

void Function::RemoveAutoFunctionTagsOfType ( Ref< TagType tagType)

◆ RemoveUserAddressTag()

void Function::RemoveUserAddressTag ( Architecture arch,
uint64_t  addr,
Ref< Tag tag 
)

◆ RemoveUserAddressTagsOfType()

void Function::RemoveUserAddressTagsOfType ( Architecture arch,
uint64_t  addr,
Ref< TagType tagType 
)

◆ RemoveUserCodeReference()

void Function::RemoveUserCodeReference ( Architecture fromArch,
uint64_t  fromAddr,
uint64_t  toAddr 
)

◆ RemoveUserFunctionTag()

void Function::RemoveUserFunctionTag ( Ref< Tag tag)

◆ RemoveUserFunctionTagsOfType()

void Function::RemoveUserFunctionTagsOfType ( Ref< TagType tagType)

◆ RemoveUserTypeFieldReference()

void Function::RemoveUserTypeFieldReference ( Architecture fromArch,
uint64_t  fromAddr,
const QualifiedName name,
uint64_t  offset,
size_t  size = 0 
)

◆ RemoveUserTypeReference()

void Function::RemoveUserTypeReference ( Architecture fromArch,
uint64_t  fromAddr,
const QualifiedName name 
)

◆ RequestAdvancedAnalysisData()

void Function::RequestAdvancedAnalysisData ( )

◆ RequestDebugReport()

void Function::RequestDebugReport ( const std::string &  name)

◆ SetAnalysisSkipOverride()

void Function::SetAnalysisSkipOverride ( BNFunctionAnalysisSkipOverride  skip)

◆ SetAutoCallingConvention()

void Function::SetAutoCallingConvention ( const Confidence< Ref< CallingConvention > > &  convention)

◆ SetAutoCallRegisterStackAdjustment() [1/2]

void BinaryNinja::Function::SetAutoCallRegisterStackAdjustment ( Architecture arch,
uint64_t  addr,
const std::map< uint32_t, Confidence< int32_t > > &  adjust 
)

◆ SetAutoCallRegisterStackAdjustment() [2/2]

void Function::SetAutoCallRegisterStackAdjustment ( Architecture arch,
uint64_t  addr,
uint32_t  regStack,
const Confidence< int32_t > &  adjust 
)

◆ SetAutoCallStackAdjustment()

void Function::SetAutoCallStackAdjustment ( Architecture arch,
uint64_t  addr,
const Confidence< int64_t > &  adjust 
)

◆ SetAutoCallTypeAdjustment()

void Function::SetAutoCallTypeAdjustment ( Architecture arch,
uint64_t  addr,
const Confidence< Ref< Type > > &  adjust 
)

◆ SetAutoCanReturn()

void Function::SetAutoCanReturn ( const Confidence< bool > &  returns)

◆ SetAutoClobberedRegisters()

void Function::SetAutoClobberedRegisters ( const Confidence< std::set< uint32_t > > &  clobbered)

◆ SetAutoHasVariableArguments()

void Function::SetAutoHasVariableArguments ( const Confidence< bool > &  varArgs)

◆ SetAutoIndirectBranches()

void Function::SetAutoIndirectBranches ( Architecture sourceArch,
uint64_t  source,
const std::vector< ArchAndAddr > &  branches 
)

◆ SetAutoInstructionHighlight() [1/4]

void Function::SetAutoInstructionHighlight ( Architecture arch,
uint64_t  addr,
BNHighlightColor  color 
)

◆ SetAutoInstructionHighlight() [2/4]

void Function::SetAutoInstructionHighlight ( Architecture arch,
uint64_t  addr,
BNHighlightStandardColor  color,
BNHighlightStandardColor  mixColor,
uint8_t  mix,
uint8_t  alpha = 255 
)

◆ SetAutoInstructionHighlight() [3/4]

void Function::SetAutoInstructionHighlight ( Architecture arch,
uint64_t  addr,
BNHighlightStandardColor  color,
uint8_t  alpha = 255 
)

◆ SetAutoInstructionHighlight() [4/4]

void Function::SetAutoInstructionHighlight ( Architecture arch,
uint64_t  addr,
uint8_t  r,
uint8_t  g,
uint8_t  b,
uint8_t  alpha = 255 
)

◆ SetAutoParameterVariables()

void Function::SetAutoParameterVariables ( const Confidence< std::vector< Variable > > &  vars)

◆ SetAutoRegisterStackAdjustments()

void Function::SetAutoRegisterStackAdjustments ( const std::map< uint32_t, Confidence< int32_t > > &  regStackAdjust)

◆ SetAutoReturnRegisters()

void Function::SetAutoReturnRegisters ( const Confidence< std::vector< uint32_t > > &  returnRegs)

◆ SetAutoReturnType()

void Function::SetAutoReturnType ( const Confidence< Ref< Type > > &  type)

◆ SetAutoStackAdjustment()

void Function::SetAutoStackAdjustment ( const Confidence< int64_t > &  stackAdjust)

◆ SetAutoType()

void Function::SetAutoType ( Type type)

◆ SetCallingConvention()

void Function::SetCallingConvention ( const Confidence< Ref< CallingConvention > > &  convention)

◆ SetCanReturn()

void Function::SetCanReturn ( const Confidence< bool > &  returns)

◆ SetClobberedRegisters()

void Function::SetClobberedRegisters ( const Confidence< std::set< uint32_t > > &  clobbered)

◆ SetComment()

void Function::SetComment ( const std::string &  comment)

◆ SetCommentForAddress()

void Function::SetCommentForAddress ( uint64_t  addr,
const std::string &  comment 
)

◆ SetGotoLabelName()

void Function::SetGotoLabelName ( uint64_t  labelId,
const std::string &  name 
)

◆ SetHasVariableArguments()

void Function::SetHasVariableArguments ( const Confidence< bool > &  varArgs)

◆ SetIntegerConstantDisplayType()

void Function::SetIntegerConstantDisplayType ( Architecture arch,
uint64_t  instrAddr,
uint64_t  value,
size_t  operand,
BNIntegerDisplayType  type 
)

◆ SetParameterVariables()

void Function::SetParameterVariables ( const Confidence< std::vector< Variable > > &  vars)

◆ SetRegisterStackAdjustments()

void Function::SetRegisterStackAdjustments ( const std::map< uint32_t, Confidence< int32_t > > &  regStackAdjust)

◆ SetReturnRegisters()

void Function::SetReturnRegisters ( const Confidence< std::vector< uint32_t > > &  returnRegs)

◆ SetReturnType()

void Function::SetReturnType ( const Confidence< Ref< Type > > &  type)

◆ SetStackAdjustment()

void Function::SetStackAdjustment ( const Confidence< int64_t > &  stackAdjust)

◆ SetUserCallRegisterStackAdjustment() [1/2]

void BinaryNinja::Function::SetUserCallRegisterStackAdjustment ( Architecture arch,
uint64_t  addr,
const std::map< uint32_t, Confidence< int32_t > > &  adjust 
)

◆ SetUserCallRegisterStackAdjustment() [2/2]

void Function::SetUserCallRegisterStackAdjustment ( Architecture arch,
uint64_t  addr,
uint32_t  regStack,
const Confidence< int32_t > &  adjust 
)

◆ SetUserCallStackAdjustment()

void Function::SetUserCallStackAdjustment ( Architecture arch,
uint64_t  addr,
const Confidence< int64_t > &  adjust 
)

◆ SetUserCallTypeAdjustment()

void Function::SetUserCallTypeAdjustment ( Architecture arch,
uint64_t  addr,
const Confidence< Ref< Type > > &  adjust 
)

◆ SetUserIndirectBranches()

void Function::SetUserIndirectBranches ( Architecture sourceArch,
uint64_t  source,
const std::vector< ArchAndAddr > &  branches 
)

◆ SetUserInstructionHighlight() [1/4]

void Function::SetUserInstructionHighlight ( Architecture arch,
uint64_t  addr,
BNHighlightColor  color 
)

◆ SetUserInstructionHighlight() [2/4]

void Function::SetUserInstructionHighlight ( Architecture arch,
uint64_t  addr,
BNHighlightStandardColor  color,
BNHighlightStandardColor  mixColor,
uint8_t  mix,
uint8_t  alpha = 255 
)

◆ SetUserInstructionHighlight() [3/4]

void Function::SetUserInstructionHighlight ( Architecture arch,
uint64_t  addr,
BNHighlightStandardColor  color,
uint8_t  alpha = 255 
)

◆ SetUserInstructionHighlight() [4/4]

void Function::SetUserInstructionHighlight ( Architecture arch,
uint64_t  addr,
uint8_t  r,
uint8_t  g,
uint8_t  b,
uint8_t  alpha = 255 
)

◆ SetUserType()

void Function::SetUserType ( Type type)

◆ SetUserVariableValue()

void Function::SetUserVariableValue ( const Variable var,
uint64_t  defAddr,
PossibleValueSet value 
)

◆ SetVariableDeadStoreElimination()

void Function::SetVariableDeadStoreElimination ( const Variable var,
BNDeadStoreElimination  mode 
)

◆ WasAutomaticallyDiscovered()

bool Function::WasAutomaticallyDiscovered ( ) const

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