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

Method GetRelatedPlatform

platform.cpp:520–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518
519
520Ref<Platform> Platform::GetRelatedPlatform(Architecture* arch)
521{
522 BNPlatform* platform = BNGetRelatedPlatform(m_object, arch->GetObject());
523 if (!platform)
524 return nullptr;
525 return new CorePlatform(platform);
526}
527
528
529void Platform::AddRelatedPlatform(Architecture* arch, Platform* platform)

Callers 1

InitMethod · 0.80

Calls 1

GetObjectMethod · 0.45

Tested by

no test coverage detected