From 136645748d002fdcb2c1bbbe4f85a808bf7dd2ed Mon Sep 17 00:00:00 2001
From: windy <19060@qq.com>
Date: Tue, 3 Aug 2021 20:07:22 +0800
Subject: [PATCH] Fix Debug library of capstone (for /INCREMENTAL)
---
VTIL-Common/VTIL-Common.vcxproj | 4 ++--
VTIL-Common/arch/register_mapping.hpp | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/VTIL-Common/VTIL-Common.vcxproj b/VTIL-Common/VTIL-Common.vcxproj
index db3d642..74198c0 100644
--- a/VTIL-Common/VTIL-Common.vcxproj
+++ b/VTIL-Common/VTIL-Common.vcxproj
@@ -77,13 +77,13 @@
true
$(ProjectDir)..\Capstone\include;$(ProjectDir)..\Keystone\include;$(IncludePath)
- $(ProjectDir)..\Keystone\build\llvm\lib\x64\Debug;$(ProjectDir)..\Capstone\msvc\x64\Release;$(LibraryPath)
+ $(ProjectDir)..\Keystone\build\llvm\lib\x64\Debug;$(ProjectDir)..\Capstone\msvc\x64\Debug;$(LibraryPath)
$(ProjectDir)..\$(Platform)\$(Configuration)\
true
$(ProjectDir)..\Capstone\include;$(ProjectDir)..\Keystone\include;$(IncludePath)
- $(ProjectDir)..\Keystone\build\llvm\lib\Debug;$(ProjectDir)..\Capstone\msvc\Release;$(LibraryPath)
+ $(ProjectDir)..\Keystone\build\llvm\lib\Debug;$(ProjectDir)..\Capstone\msvc\Debug;$(LibraryPath)
$(ProjectDir)..\$(Platform)\$(Configuration)\
diff --git a/VTIL-Common/arch/register_mapping.hpp b/VTIL-Common/arch/register_mapping.hpp
index 15802f6..bde4e9f 100644
--- a/VTIL-Common/arch/register_mapping.hpp
+++ b/VTIL-Common/arch/register_mapping.hpp
@@ -132,7 +132,7 @@ namespace vtil
return { T( _reg ), 0, 8 };
}
- // Gets the base register for the given register.
+ // Gets the base register for the given register. (EAX->RAX)
//
constexpr T extend( uint32_t _reg ) const
{