From bcbf223398cd83346d512cc8ccaf7b754f48ac81 Mon Sep 17 00:00:00 2001 From: Will Hawkins <8715530+hawkinsw@users.noreply.github.com> Date: Tue, 21 Dec 2021 15:26:54 -0500 Subject: [PATCH] Updated README.md Simply update `ZYDIS_ADDRESS_WIDTH_64` to `ZYDIS_STACK_WIDTH_64`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cf39a82..ad52d97 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ int main() // Initialize decoder context ZydisDecoder decoder; - ZydisDecoderInit(&decoder, ZYDIS_MACHINE_MODE_LONG_64, ZYDIS_ADDRESS_WIDTH_64); + ZydisDecoderInit(&decoder, ZYDIS_MACHINE_MODE_LONG_64, ZYDIS_STACK_WIDTH_64); // Initialize formatter. Only required when you actually plan to do instruction // formatting ("disassembling"), like we do here