16 lines
750 B
C++
16 lines
750 B
C++
#pragma once
|
|
#include "sandbox.h"
|
|
namespace sandboxCallbacks {
|
|
void handleCodeRun(uc_engine* uc, uint64_t address, uint32_t size,
|
|
void* userData);
|
|
void handleMemoryRead(uc_engine* uc, uc_mem_type type, uint64_t address,
|
|
int size, int64_t value, void* userData);
|
|
void handleMemoryUnmapRead(uc_engine* uc, uc_mem_type type, uint64_t address,
|
|
int size, int64_t value, void* userData);
|
|
void handleMemoryWrite(uc_engine* uc, uc_mem_type type, uint64_t address,
|
|
int size, int64_t value, void* userData);
|
|
void handleSyscall(uc_engine* uc, void* userData);
|
|
auto InitApiHooks() -> void;
|
|
void dumpVmenv(uc_engine* uc, void* userData);
|
|
}; // namespace sandboxCallbacks
|