mirror of https://github.com/x64dbg/zydis
fixed travis build (hopefully #3)
This commit is contained in:
parent
fa3946ddec
commit
c6511bac1d
|
@ -32,6 +32,7 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <inttypes.h>
|
||||||
|
|
||||||
void PrintZydisError()
|
void PrintZydisError()
|
||||||
{
|
{
|
||||||
|
@ -153,7 +154,7 @@ int main()
|
||||||
puts("64 bit test ...\n\n");
|
puts("64 bit test ...\n\n");
|
||||||
while (ZydisDecodeInstruction(decoder, &info))
|
while (ZydisDecodeInstruction(decoder, &info))
|
||||||
{
|
{
|
||||||
printf("%016llX ", info.instrAddress);
|
printf("%016"PRIu64"X ", info.instrAddress);
|
||||||
if (info.flags & ZYDIS_IF_ERROR_MASK)
|
if (info.flags & ZYDIS_IF_ERROR_MASK)
|
||||||
{
|
{
|
||||||
printf("db %02X", info.data[0]);
|
printf("db %02X", info.data[0]);
|
||||||
|
|
Loading…
Reference in New Issue