mirror of https://github.com/x64dbg/zydis
Fixed README
This commit is contained in:
parent
03ef968413
commit
a525342b42
|
@ -56,7 +56,7 @@ int main()
|
||||||
ZydisDecodedInstruction instruction;
|
ZydisDecodedInstruction instruction;
|
||||||
char buffer[256];
|
char buffer[256];
|
||||||
while (ZYDIS_SUCCESS(
|
while (ZYDIS_SUCCESS(
|
||||||
ZydisDecoderDecodeBuffer(decoder, data, length, instructionPointer, &instruction)))
|
ZydisDecoderDecodeBuffer(&decoder, &data[0], length, instructionPointer, &instruction)))
|
||||||
{
|
{
|
||||||
data += instruction.length;
|
data += instruction.length;
|
||||||
length -= instruction.length;
|
length -= instruction.length;
|
||||||
|
|
Loading…
Reference in New Issue