This code should now build the x86_x64-softmmu part 2.

This commit is contained in:
xorstream
2017-01-19 22:50:28 +11:00
parent 37f9a248ea
commit 1aeaf5c40d
174 changed files with 2418 additions and 1414 deletions

View File

@@ -1,9 +1,9 @@
#include <unicorn/unicorn.h>
#include <inttypes.h>
#include "platform.h"
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include "platform.h"
/**
* Assert that err matches expect

View File

@@ -5,7 +5,7 @@
#include "unicorn_test.h"
#include <stdio.h>
#include <inttypes.h>
#include "platform.h"
uint64_t trunc_page(uint64_t addr)
{

View File

@@ -4,7 +4,7 @@
// emulation by counts of instruction code
//
#include "unicorn_test.h"
#include <inttypes.h>
#include "platform.h"
#define DEBUG 1

View File

@@ -7,7 +7,7 @@
#include "unicorn_test.h"
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
#include "platform.h"
/* Called before every test to set up a new instance */
static int setup(void **state)

View File

@@ -1,5 +1,5 @@
#include "unicorn_test.h"
#include <inttypes.h>
#include "platform.h"
#define OK(x) uc_assert_success(x)

View File

@@ -1,6 +1,6 @@
// Test PC change during the callback. by Nguyen Anh Quynh, 2016
#include "unicorn_test.h"
#include <inttypes.h>
#include "platform.h"
#define OK(x) uc_assert_success(x)

View File

@@ -8,7 +8,7 @@
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
#include "platform.h"
#define RIP_NEXT_TO_THE_SELFMODIFY_OPCODE (1)

View File

@@ -1,5 +1,5 @@
#include "unicorn_test.h"
#include <inttypes.h>
#include "platform.h"
#define OK(x) uc_assert_success(x)

View File

@@ -1,5 +1,5 @@
#include <unistd.h>
#include <inttypes.h>
#include "platform.h"
#include "platform.h"
#include <unicorn/unicorn.h>
#include "unicorn_test.h"

View File

@@ -1,6 +1,5 @@
#include <stdint.h>
#include "platform.h"
#include <string.h>
#include <inttypes.h>
#include "unicorn_test.h"

View File

@@ -1,5 +1,5 @@
#include "unicorn_test.h"
#include <inttypes.h>
#include "platform.h"
/*
Two tests here for software paging