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

Method GetChildForIdentifier

linearviewobject.cpp:133–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131
132
133Ref<LinearViewObject> LinearViewObject::GetChildForIdentifier(const LinearViewObjectIdentifier& id)
134{
135 BNLinearViewObjectIdentifier lvid;
136 lvid.name = BNAllocString(id.name.c_str());
137 lvid.type = id.type;
138 lvid.start = id.start;
139 lvid.end = id.end;
140 BNLinearViewObject* result = BNGetLinearViewObjectChildForIdentifier(m_object, &lvid);
141 BNFreeString(lvid.name);
142 if (result)
143 return new LinearViewObject(result);
144 return nullptr;
145}
146
147
148int LinearViewObject::CompareChildren(LinearViewObject* a, LinearViewObject* b)

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected