From 7bf4cf8b53ba81ed7ebde410a3b3e4dcef757edb Mon Sep 17 00:00:00 2001 From: Jeremy <51220084+jeremy-rifkin@users.noreply.github.com> Date: Wed, 22 May 2024 23:41:34 -0500 Subject: [PATCH] Quick fix --- src/binary/pe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/binary/pe.cpp b/src/binary/pe.cpp index bb28024..c1316a3 100644 --- a/src/binary/pe.cpp +++ b/src/binary/pe.cpp @@ -69,7 +69,7 @@ namespace detail { WORD optional_header_magic = pe_byteswap_if_needed(optional_header_magic_raw.unwrap_value()); VERIFY( optional_header_magic == IMAGE_NT_OPTIONAL_HDR_MAGIC, - "PE file does not match expected bit-mode " + object_path + ("PE file does not match expected bit-mode " + object_path).c_str() ); // finally get image base if(optional_header_magic == IMAGE_NT_OPTIONAL_HDR32_MAGIC) {