about summary refs log tree commit diff stats
path: root/src/include/x64run.h
blob: b6c9e960c514d1a908619a4858301168bf5a8d53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __X64RUN_H_
#define __X64RUN_H_
#include <stdint.h>

typedef struct x64emu_s x64emu_t;
typedef struct x64test_s x64test_t;
int Run(x64emu_t *emu, int step); // 0 if run was successfull, 1 if error in x86 world
int RunTest(x64test_t *test);
void DynaRun(x64emu_t *emu);

uint32_t LibSyscall(x64emu_t *emu);
void PltResolver(x64emu_t* emu);
extern uintptr_t pltResolver;
int GetTID(void);

#endif //__X64RUN_H_