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

Method GetDataVariableAtAddress

binaryview.cpp:2226–2240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2224
2225
2226bool BinaryView::GetDataVariableAtAddress(uint64_t addr, DataVariable& var)
2227{
2228 var.address = 0;
2229 var.type = Confidence<Ref<Type>>(nullptr, 0);
2230 var.autoDiscovered = false;
2231
2232 BNDataVariable result;
2233 if (!BNGetDataVariableAtAddress(m_object, addr, &result))
2234 return false;
2235
2236 var.address = result.address;
2237 var.type = Confidence<Ref<Type>>(new Type(result.type), result.typeConfidence);
2238 var.autoDiscovered = result.autoDiscovered;
2239 return true;
2240}
2241
2242
2243vector<Ref<Function>> BinaryView::GetAnalysisFunctionList()

Callers 9

ReadTypeInfoVariantFunction · 0.80
ProcessVFTMethod · 0.80
TailCallTranslationFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected