Minor refactorings

This commit is contained in:
flobernd 2016-11-29 11:49:38 +01:00
parent e926c26d6e
commit bcfb84e59b
2 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ void disassembleBuffer(uint8_t* data, size_t length, bool installHooks)
char buffer[256];
while (ZYDIS_SUCCESS(ZydisDecoderDecodeNextInstruction(&decoder, &info)))
{
printf("%016" PRIx64 " ", info.instrAddress);
printf("%016" PRIX64 " ", info.instrAddress);
if (info.instrFlags & ZYDIS_INSTRFLAG_ERROR_MASK)
{
printf(" db %02x\n", info.data[0]);

View File

@ -87,7 +87,7 @@ typedef uint8_t ZydisFormatterAddressFormat;
/**
* @brief Values that represent address-formats.
*/
enum ZydisFormatterAddressFormat_
enum ZydisFormatterAddressFormats
{
/**
* @brief Currently defaults to @c ZYDIS_FORMATTER_ADDR_ABSOLUTE.