From 489772464a914408a6754114d8635e41060ed1af Mon Sep 17 00:00:00 2001 From: _xeroxz Date: Wed, 9 Dec 2020 09:20:06 +0000 Subject: [PATCH] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 4ac137c..21e8d6b 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,7 @@ auto get_module_base(vdm::vdm_ctx* v_ctx, nasa::injector_ctx* rinjector, rinjector->translate(reinterpret_cast( ldr_data->InMemoryOrderModuleList.Flink))); - const auto list_head = &ldr_data->InMemoryOrderModuleList; - while (current_entry != list_head) + while (current_entry != &ldr_data->InMemoryOrderModuleList) { const auto current_entry_data = reinterpret_cast(