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

Class SharedCacheMachOProcessor

view/sharedcache/core/MachOProcessor.h:6–24  ·  view source on GitHub ↗

Process `SharedCacheMachOHeader`.

Source from the content-addressed store, hash-verified

4
5// Process `SharedCacheMachOHeader`.
6class SharedCacheMachOProcessor
7{
8 BinaryNinja::Ref<BinaryNinja::BinaryView> m_view;
9 BinaryNinja::Ref<BinaryNinja::Logger> m_logger;
10 std::shared_ptr<VirtualMemory> m_vm;
11
12 bool m_applyFunctions = true;
13
14public:
15 explicit SharedCacheMachOProcessor(
16 BinaryNinja::Ref<BinaryNinja::BinaryView> view, std::shared_ptr<VirtualMemory> vm);
17
18 // Initialize header information such as sections and symbols.
19 void ApplyHeader(const SharedCache& cache, SharedCacheMachOHeader& header);
20
21 uint64_t ApplyHeaderSections(SharedCacheMachOHeader& header);
22
23 void ApplyHeaderDataVariables(SharedCacheMachOHeader& header);
24};

Callers 1

ApplyImageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected