From fa3946ddec7235ad08afbd0829f3fe02cbba84cc Mon Sep 17 00:00:00 2001 From: athre0z Date: Thu, 21 May 2015 17:01:07 +0200 Subject: [PATCH 1/3] fixed travis build (hopefully #2) --- Zydis/ZydisInstructionFormatter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Zydis/ZydisInstructionFormatter.cpp b/Zydis/ZydisInstructionFormatter.cpp index 5866609..6364784 100644 --- a/Zydis/ZydisInstructionFormatter.cpp +++ b/Zydis/ZydisInstructionFormatter.cpp @@ -33,6 +33,7 @@ #include #include #include +#include namespace Zydis { From c6511bac1df58d08e413a5a15f53180334355bc9 Mon Sep 17 00:00:00 2001 From: athre0z Date: Thu, 21 May 2015 17:15:59 +0200 Subject: [PATCH 2/3] fixed travis build (hopefully #3) --- Examples/C/SimpleDemo/SimpleDemo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Examples/C/SimpleDemo/SimpleDemo.c b/Examples/C/SimpleDemo/SimpleDemo.c index 1484985..bf992af 100644 --- a/Examples/C/SimpleDemo/SimpleDemo.c +++ b/Examples/C/SimpleDemo/SimpleDemo.c @@ -32,6 +32,7 @@ #include #include +#include void PrintZydisError() { @@ -153,7 +154,7 @@ int main() puts("64 bit test ...\n\n"); while (ZydisDecodeInstruction(decoder, &info)) { - printf("%016llX ", info.instrAddress); + printf("%016"PRIu64"X ", info.instrAddress); if (info.flags & ZYDIS_IF_ERROR_MASK) { printf("db %02X", info.data[0]); From 9572b08daf676e0c4a1d99f832736dd74fca47c7 Mon Sep 17 00:00:00 2001 From: athre0z Date: Thu, 21 May 2015 17:35:26 +0200 Subject: [PATCH 3/3] fixed formatted printing --- Examples/C/SimpleDemo/SimpleDemo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/C/SimpleDemo/SimpleDemo.c b/Examples/C/SimpleDemo/SimpleDemo.c index bf992af..bf10f55 100644 --- a/Examples/C/SimpleDemo/SimpleDemo.c +++ b/Examples/C/SimpleDemo/SimpleDemo.c @@ -154,7 +154,7 @@ int main() puts("64 bit test ...\n\n"); while (ZydisDecodeInstruction(decoder, &info)) { - printf("%016"PRIu64"X ", info.instrAddress); + printf("%016"PRIX64" ", info.instrAddress); if (info.flags & ZYDIS_IF_ERROR_MASK) { printf("db %02X", info.data[0]);