Fixed fuzzer tool

This commit is contained in:
flobernd 2016-09-13 05:35:25 +02:00
parent 2472a86405
commit a636fa353e
2 changed files with 6 additions and 6 deletions

View File

@ -775,7 +775,7 @@ begin
for I := Low(MnemonicList) to High(MnemonicList) do
begin
Buffer.Append(
Format(' /* %.4x */ ZYDIS_MNEMONIC_%s', [I, AnsiUpperCase(MnemonicList[I])]));
Format(' /*%.4x*/ ZYDIS_MNEMONIC_%s', [I, AnsiUpperCase(MnemonicList[I])]));
if (I = High(MnemonicList)) then
begin
Buffer.AppendLn('');
@ -796,7 +796,7 @@ begin
try
for I := Low(MnemonicList) to High(MnemonicList) do
begin
Buffer.Append(Format(' /* %.4x */ "%s"', [I, AnsiLowerCase(MnemonicList[I])]));
Buffer.Append(Format(' /*%.4x*/ "%s"', [I, AnsiLowerCase(MnemonicList[I])]));
if (I = High(MnemonicList)) then
begin
Buffer.AppendLn('');

View File

@ -38,10 +38,10 @@
#include <Zydis/Zydis.h>
typedef struct ZydisFuzzControlBlock_ {
int disasMode;
int decoderFlags;
int formatterStyle;
int formatterFlags;
ZydisDisassemblerMode disasMode;
ZydisDecoderFlags decoderFlags;
ZydisFormatterStyle formatterStyle;
ZydisFormatterFlags formatterFlags;
uint8_t bufSize;
} ZydisFuzzControlBlock;