platform.h move #3
This commit is contained in:
parent
f4b375c651
commit
fac6a66860
@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
|
@ -63,13 +63,13 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\..\include\list.h" />
|
||||
<ClInclude Include="..\..\..\include\platform.h" />
|
||||
<ClInclude Include="..\..\..\include\qemu.h" />
|
||||
<ClInclude Include="..\..\..\include\uc_priv.h" />
|
||||
<ClInclude Include="..\..\..\include\unicorn\arm.h" />
|
||||
<ClInclude Include="..\..\..\include\unicorn\arm64.h" />
|
||||
<ClInclude Include="..\..\..\include\unicorn\m68k.h" />
|
||||
<ClInclude Include="..\..\..\include\unicorn\mips.h" />
|
||||
<ClInclude Include="..\..\..\include\unicorn\platform.h" />
|
||||
<ClInclude Include="..\..\..\include\unicorn\sparc.h" />
|
||||
<ClInclude Include="..\..\..\include\unicorn\unicorn.h" />
|
||||
<ClInclude Include="..\..\..\include\unicorn\x86.h" />
|
||||
|
@ -493,8 +493,6 @@
|
||||
<ClInclude Include="..\..\..\include\unicorn\sparc.h" />
|
||||
<ClInclude Include="..\..\..\include\unicorn\unicorn.h" />
|
||||
<ClInclude Include="..\..\..\include\unicorn\x86.h" />
|
||||
<ClInclude Include="..\..\..\include\platform.h">
|
||||
<Filter>priv</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\include\unicorn\platform.h" />
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -1,7 +1,7 @@
|
||||
#ifndef UC_LLIST_H
|
||||
#define UC_LLIST_H
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
struct list_item {
|
||||
struct list_item *next;
|
||||
|
@ -4,7 +4,7 @@
|
||||
#ifndef UC_PRIV_H
|
||||
#define UC_PRIV_H
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "qemu.h"
|
||||
|
@ -8,7 +8,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4201)
|
||||
|
@ -8,7 +8,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
// GCC SPARC toolchain has a default macro called "sparc" which breaks
|
||||
// compilation
|
||||
|
@ -12,7 +12,7 @@ extern "C" {
|
||||
#pragma comment(lib, "unicorn.lib")
|
||||
#endif
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <stdarg.h>
|
||||
#if defined(UNICORN_HAS_OSXKERNEL)
|
||||
#include <libkern/libkern.h>
|
||||
|
@ -8,7 +8,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
// Memory-Management Register for instructions IDTR, GDTR, LDTR, TR.
|
||||
// Borrow from SegmentCache in qemu/target-i386/cpu.h
|
||||
|
2
list.c
2
list.c
@ -1,5 +1,5 @@
|
||||
#include <stdlib.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "list.h"
|
||||
|
||||
// simple linked list implementation
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef _QEMU_ELF_H
|
||||
#define _QEMU_ELF_H
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
/* 32-bit ELF base types. */
|
||||
typedef uint32_t Elf32_Addr;
|
||||
|
@ -24,7 +24,7 @@
|
||||
#endif
|
||||
|
||||
#include "config.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/queue.h"
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
|
@ -7,7 +7,7 @@
|
||||
/* hwaddr is the type of a physical address (its size can
|
||||
be different from 'target_ulong'). */
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
typedef uint64_t hwaddr;
|
||||
#define HWADDR_MAX UINT64_MAX
|
||||
|
@ -19,7 +19,7 @@
|
||||
#define DIRTY_MEMORY_CODE 0
|
||||
#define DIRTY_MEMORY_NUM 1 /* num of dirty bits */
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "qemu-common.h"
|
||||
#include "exec/cpu-common.h"
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
|
@ -42,7 +42,7 @@ these four paragraphs for those parts of this code that are retained.
|
||||
#include <sunmath.h>
|
||||
#endif
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "config-host.h"
|
||||
#include "qemu/osdep.h"
|
||||
|
||||
|
@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#ifndef __GLIB_COMPAT_H
|
||||
#define __GLIB_COMPAT_H
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
#include "qemu/compiler.h"
|
||||
#include "qapi-types.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
/**
|
||||
* A class representing internal errors within QEMU. An error has a ErrorClass
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef QBOOL_H
|
||||
#define QBOOL_H
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "qapi/qmp/qobject.h"
|
||||
|
||||
typedef struct QBool {
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include "qapi/qmp/qobject.h"
|
||||
#include "qapi/qmp/qlist.h"
|
||||
#include "qemu/queue.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#define QDICT_BUCKET_MAX 512
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef QFLOAT_H
|
||||
#define QFLOAT_H
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "qapi/qmp/qobject.h"
|
||||
|
||||
typedef struct QFloat {
|
||||
|
@ -13,7 +13,7 @@
|
||||
#ifndef QINT_H
|
||||
#define QINT_H
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "qapi/qmp/qobject.h"
|
||||
|
||||
typedef struct QInt {
|
||||
|
@ -13,7 +13,7 @@
|
||||
#ifndef QSTRING_H
|
||||
#define QSTRING_H
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "qapi/qmp/qobject.h"
|
||||
|
||||
typedef struct QString {
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include <time.h>
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef BITOPS_H
|
||||
#define BITOPS_H
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <assert.h>
|
||||
|
||||
#include "host-utils.h"
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define BSWAP_H
|
||||
|
||||
#include "config-host.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
#include "fpu/softfloat.h"
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define INT128_H
|
||||
|
||||
//#include <assert.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
typedef struct Int128 Int128;
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define QEMU_LOG_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "qemu/compiler.h"
|
||||
#include "qom/cpu.h"
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "config-host.h"
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <sys/types.h>
|
||||
#ifdef __OpenBSD__
|
||||
#include <sys/signal.h>
|
||||
@ -17,7 +17,7 @@
|
||||
#define WEXITSTATUS(x) (x)
|
||||
#endif
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#if defined(CONFIG_SOLARIS) && CONFIG_SOLARIS_VERSION < 10
|
||||
/* [u]int_fast*_t not in <sys/int_types.h> */
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef QEMU_RANGE_H
|
||||
#define QEMU_RANGE_H
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <qemu/typedefs.h>
|
||||
#include "qemu/queue.h"
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef __QEMU_THREAD_H
|
||||
#define __QEMU_THREAD_H 1
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
typedef struct QemuThread QemuThread;
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
#define QEMU_OBJECT_H
|
||||
|
||||
#include "glib_compat.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "qemu/queue.h"
|
||||
#include "qapi/error.h"
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#include "cpu.h"
|
||||
#include "tcg-op.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#include "cpu.h"
|
||||
#include "internals.h"
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#include "cpu.h"
|
||||
#include "sysemu/cpus.h"
|
||||
|
@ -38,7 +38,7 @@
|
||||
* CPUID Fn8000_0008_ECX[ApicIdCoreIdSize[3:0]] is set to apicid_core_width().
|
||||
*/
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <string.h>
|
||||
|
||||
#include "qemu/bitops.h"
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <signal.h>
|
||||
|
||||
#include "qemu/host-utils.h"
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <signal.h>
|
||||
|
||||
#include "cpu.h"
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#include "cpu.h"
|
||||
#include "exec/helper-proto.h"
|
||||
|
@ -21,7 +21,7 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "qemu/host-utils.h"
|
||||
|
||||
/* This file is compiled once, and thus we can't include the standard
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "qemu/host-utils.h"
|
||||
|
||||
#ifndef CONFIG_INT128
|
||||
|
@ -39,7 +39,7 @@
|
||||
#endif
|
||||
#define HUGETLBFS_MAGIC 0x958458f6
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#include "config-host.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include <errno.h>
|
||||
#include <time.h>
|
||||
#include <signal.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#ifdef __linux__
|
||||
|
@ -38,8 +38,8 @@
|
||||
|
||||
// posix specific includes
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unicorn/unicorn.h>
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
|
@ -20,11 +20,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include <unicorn/unicorn.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#pragma pack(push, 1)
|
||||
struct SegmentDescriptor {
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include <sys/types.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#include <unicorn/unicorn.h>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <assert.h>
|
||||
|
||||
#include <unicorn/unicorn.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include <sys/types.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#include <unicorn/unicorn.h>
|
||||
|
||||
|
@ -22,8 +22,8 @@ Test for uc_emu_stop() in code hook not always stopping the emu at the current i
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#include "pthread.h"
|
||||
#endif // _MSC_VER
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#include <unicorn/unicorn.h>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
|
||||
static void hook_block(uc_engine *uc, uint64_t address, uint32_t size, void *user_data) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include <stdio.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
|
||||
uint64_t starts[] = {0x10000000, 0x110004000ll};
|
||||
|
@ -1,7 +1,7 @@
|
||||
#define __STDC_FORMAT_MACROS
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
@ -19,9 +19,9 @@
|
||||
*/
|
||||
|
||||
#define __STDC_FORMAT_MACROS
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
@ -1,7 +1,7 @@
|
||||
#define __STDC_FORMAT_MACROS
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#include <unicorn/unicorn.h>
|
||||
|
||||
|
@ -19,9 +19,9 @@
|
||||
*/
|
||||
|
||||
#define __STDC_FORMAT_MACROS
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
@ -20,9 +20,9 @@
|
||||
*/
|
||||
|
||||
#define __STDC_FORMAT_MACROS
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
|
@ -22,8 +22,8 @@
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#include "pthread.h"
|
||||
#endif // _MSC_VER
|
||||
|
@ -27,8 +27,8 @@ but that the code hook is just not occurring.
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
|
@ -18,9 +18,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#include <unicorn/unicorn.h>
|
||||
|
||||
|
@ -20,9 +20,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#define __STDC_FORMAT_MACROS
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
@ -18,9 +18,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#include <unicorn/unicorn.h>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
|
||||
#define ADDRESS 0x1000000
|
||||
|
@ -33,8 +33,8 @@ background.
|
||||
|
||||
// posix specific
|
||||
#else // _MSC_VER
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
#include "pthread.h"
|
||||
#endif // _MSC_VER
|
||||
|
@ -9,7 +9,7 @@ call to uc_emu_start(). See issue #78 for more details:
|
||||
https://github.com/unicorn-engine/unicorn/issues/78
|
||||
*/
|
||||
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#include <unicorn/unicorn.h>
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include <unicorn/unicorn.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
/**
|
||||
* Assert that err matches expect
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
#include "unicorn_test.h"
|
||||
#include <stdio.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
uint64_t trunc_page(uint64_t addr)
|
||||
{
|
||||
|
@ -4,7 +4,7 @@
|
||||
// emulation by counts of instruction code
|
||||
//
|
||||
#include "unicorn_test.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#define DEBUG 1
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "unicorn_test.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
/* Called before every test to set up a new instance */
|
||||
static int setup(void **state)
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "unicorn_test.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#define OK(x) uc_assert_success(x)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Test PC change during the callback. by Nguyen Anh Quynh, 2016
|
||||
#include "unicorn_test.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#define OK(x) uc_assert_success(x)
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#define RIP_NEXT_TO_THE_SELFMODIFY_OPCODE (1)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "unicorn_test.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
#define OK(x) uc_assert_success(x)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "platform.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <unicorn/unicorn.h>
|
||||
|
||||
#include "unicorn_test.h"
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
#include <string.h>
|
||||
|
||||
#include "unicorn_test.h"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "unicorn_test.h"
|
||||
#include "platform.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
||||
/*
|
||||
Two tests here for software paging
|
||||
|
Loading…
Reference in New Issue
Block a user