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

Method GetAPIObject

linearviewobject.cpp:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26
27BNLinearDisassemblyLine LinearDisassemblyLine::GetAPIObject() const
28{
29 BNLinearDisassemblyLine result;
30 result.type = this->type;
31 result.function = this->function ? BNNewFunctionReference(this->function->GetObject()) : nullptr;
32 result.block = this->block ? BNNewBasicBlockReference(this->block->GetObject()) : nullptr;
33 result.contents = this->contents.GetAPIObject();
34 return result;
35}
36
37
38LinearDisassemblyLine LinearDisassemblyLine::FromAPIObject(const BNLinearDisassemblyLine* line)

Callers

nothing calls this directly

Calls 1

GetObjectMethod · 0.45

Tested by

no test coverage detected