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

Method GetFileByPathOnDisk

project.cpp:480–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478
479
480Ref<ProjectFile> Project::GetFileByPathOnDisk(const std::string& path)
481{
482 BNProjectFile* file = BNProjectGetFileByPathOnDisk(m_object, path.c_str());
483 if (file == nullptr)
484 return nullptr;
485 return new ProjectFile(file);
486}
487
488
489void Project::PushFile(Ref<ProjectFile> file)

Callers 2

InitControllerMethod · 0.80
GetPrimaryFilePathMethod · 0.80

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected