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

Method ProcessEntry

view/sharedcache/core/SlideInfo.cpp:264–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264std::vector<SlideMappingInfo> SlideInfoProcessor::ProcessEntry(MappedFileAccessor& accessor, const CacheEntry& entry) const
265{
266 try
267 {
268 auto slideMappings = ReadEntryInfo(accessor, entry);
269 ApplyMappings(accessor, slideMappings);
270 return slideMappings;
271 }
272 catch (const std::exception& e)
273 {
274 // Just log an error, we technically can continue as if the slide info is not applied for a given entry it does
275 // not necessarily mean we cannot do analysis on others.
276 m_logger->LogError("Error processing slide info for entry `%s`: %s", entry.GetFileName().c_str(), e.what());
277 return {};
278 }
279}

Callers 1

ProcessEntrySlideInfoMethod · 0.80

Calls 4

LogErrorMethod · 0.80
c_strMethod · 0.80
GetFileNameMethod · 0.80
whatMethod · 0.45

Tested by

no test coverage detected