From 50caca8fdcb1316571849cfb2f293b929d1089bd Mon Sep 17 00:00:00 2001 From: howard97 <837971940@qq.com> Date: Tue, 26 Mar 2024 00:42:01 +0800 Subject: [REFACTOR] Refactor main.c (#1362) Co-authored-by: howard --- src/include/core.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/include/core.h (limited to 'src/include') diff --git a/src/include/core.h b/src/include/core.h new file mode 100644 index 00000000..c9fec47c --- /dev/null +++ b/src/include/core.h @@ -0,0 +1,13 @@ +#ifndef __CORE_H +#define __CORE_H + +#include "custommem.h" +#include "callback.h" +#include "library.h" + +// exec : 0 = lib, 1 = exec +int initialize(int argc, const char **argv, char** env, x64emu_t** emulator, elfheader_t** elfheader, int exec); + +int emulate(x64emu_t* emu, elfheader_t* elf_header); + +#endif // __CORE_H \ No newline at end of file -- cgit 1.4.1