summaryrefslogtreecommitdiff
path: root/view/sharedcache/workflow/SharedCacheWorkflow.h
blob: 528c69f4cb48af7d80a2400b901d6214174e7f3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef SHAREDCACHE_SHAREDCACHEWORKFLOW_H
#define SHAREDCACHE_SHAREDCACHEWORKFLOW_H

#include "binaryninjaapi.h"
#include "view/sharedcache/api/sharedcacheapi.h"

class SharedCacheWorkflow
{
public:
	static void ProcessOffImageCall(Ref<AnalysisContext> ctx, Ref<SharedCacheAPI::SharedCache> cache, Ref<Function> func, Ref<MediumLevelILFunction> il, const MediumLevelILInstruction instr, bool applySymbolIfFoundToCurrentFunction = false);
	static void FixupStubs(Ref<AnalysisContext> ctx);
	static void Register();
};

#ifdef __cplusplus
extern "C" {
#endif
	void RegisterSharedCacheWorkflow();
#ifdef __cplusplus
}
#endif

#endif //SHAREDCACHE_SHAREDCACHEWORKFLOW_H