From 6f8e486740cb9db34da732e64aa6f52b9cecbd57 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Sun, 22 Sep 2024 13:10:05 +0300 Subject: [PATCH] Add debug message for GetBinaryType --- exec/binary_parse.cpp | 1 + include/memory.hpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/binary_parse.cpp b/exec/binary_parse.cpp index ddcacdf3..4b063aa0 100644 --- a/exec/binary_parse.cpp +++ b/exec/binary_parse.cpp @@ -100,6 +100,7 @@ namespace Execute BinaryType GetBinaryType(std::string Path) { FileNode *node = fs->GetByPath(Path.c_str(), nullptr); + debug("Checking binary type of %s (returning %p)", Path.c_str(), node); assert(node != nullptr); return GetBinaryType(node); } diff --git a/include/memory.hpp b/include/memory.hpp index d37884e5..7ae38499 100644 --- a/include/memory.hpp +++ b/include/memory.hpp @@ -60,7 +60,6 @@ namespace Memory }; } -#include #include #include #include