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

Function ImageFromApi

view/sharedcache/api/sharedcache.cpp:24–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24CacheImage ImageFromApi(BNSharedCacheImage image)
25{
26 CacheImage apiImage {};
27 apiImage.name = image.name;
28 apiImage.headerAddress = image.headerAddress;
29 apiImage.regionStarts.reserve(image.regionStartCount);
30 for (size_t i = 0; i < image.regionStartCount; i++)
31 apiImage.regionStarts.push_back(image.regionStarts[i]);
32 return apiImage;
33}
34
35BNSharedCacheRegion RegionToApi(const CacheRegion &region)
36{

Callers 5

GetImageAtMethod · 0.70
GetImageContainingMethod · 0.70
GetImageWithNameMethod · 0.70
GetImagesMethod · 0.70
GetLoadedImagesMethod · 0.70

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected