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

Method GetImageNameForAddress

view/kernelcache/api/kernelcache.cpp:154–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152 }
153
154 std::string KernelCache::GetImageNameForAddress(uint64_t address)
155 {
156 char* name = BNKCViewGetImageNameForAddress(m_object, address);
157 if (name == nullptr)
158 return {};
159 std::string result = name;
160 BNFreeString(name);
161 return result;
162 }
163
164 std::optional<KernelCacheMachOHeader> KernelCache::GetMachOHeaderForImage(std::string name)
165 {

Callers 3

OnViewChangeMethod · 0.80
loadImagesWithAddrMethod · 0.80
initSymbolTableMethod · 0.80

Calls 1

Tested by

no test coverage detected