mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-04-06 06:53:49 +00:00
Added MIPS support and projects for all samples.
This commit is contained in:
parent
1756ae770b
commit
72a497bc14
55 changed files with 3295 additions and 772 deletions
|
|
@ -3,30 +3,7 @@
|
|||
|
||||
/* Sample code to trace code with Linux code with syscall */
|
||||
|
||||
// windows specific
|
||||
#ifdef _MSC_VER
|
||||
#include <io.h>
|
||||
#include <windows.h>
|
||||
#define PRIx64 "llX"
|
||||
#ifdef DYNLOAD
|
||||
#include "unicorn_dynload.h"
|
||||
#else // DYNLOAD
|
||||
#include <unicorn/unicorn.h>
|
||||
#ifdef _WIN64
|
||||
#pragma comment(lib, "unicorn_staload64.lib")
|
||||
#else // _WIN64
|
||||
#pragma comment(lib, "unicorn_staload.lib")
|
||||
#endif // _WIN64
|
||||
#endif // DYNLOAD
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
// common includes
|
||||
#include <string.h>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue