MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / GetConstantsReferencedByInstructionIfAvailable

Method GetConstantsReferencedByInstructionIfAvailable

function.cpp:766–777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

764
765
766vector<BNConstantReference> Function::GetConstantsReferencedByInstructionIfAvailable(Architecture* arch, uint64_t addr)
767{
768 size_t count;
769 BNConstantReference* refs =
770 BNGetConstantsReferencedByInstructionIfAvailable(m_object, arch->GetObject(), addr, &count);
771
772 vector<BNConstantReference> result;
773 result.insert(result.end(), &refs[0], &refs[count]);
774
775 BNFreeConstantReferenceList(refs);
776 return result;
777}
778
779
780Ref<LowLevelILFunction> Function::GetLiftedIL() const

Callers 2

Calls 3

GetObjectMethod · 0.45
insertMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected