diff --git a/.gitignore b/.gitignore
index cee3080..72de34f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,29 +1,388 @@
-.DS_Store
-*.swp
-*.d
-*.o
-*.a
-*.dSYM
-*.so
-*.so.*
-*.exe
-*.dll
-*.dylib
-*.class
-*.jar
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+##
+## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
+
+# User-specific files
+*.rsuser
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Mono auto generated files
+mono_crash.*
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+[Ww][Ii][Nn]32/
+[Aa][Rr][Mm]/
+[Aa][Rr][Mm]64/
+bld/
+[Bb]in/
+[Oo]bj/
+[Ll]og/
+[Ll]ogs/
+
+# Visual Studio 2015/2017 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# Visual Studio 2017 auto generated files
+Generated\ Files/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUnit
+*.VisualState.xml
+TestResult.xml
+nunit-*.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# Benchmark Results
+BenchmarkDotNet.Artifacts/
+
+# .NET Core
+project.lock.json
+project.fragment.lock.json
+artifacts/
+
+# ASP.NET Scaffolding
+ScaffoldingReadMe.txt
+
+# StyleCop
+StyleCopReport.xml
+
+# Files built by Visual Studio
+*_i.c
+*_p.c
+*_h.h
+*.ilk
+*.meta
+*.obj
+*.iobj
+*.pch
+*.pdb
+*.ipdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*_wpftmp.csproj
+*.log
+*.tlog
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# Visual Studio Trace Files
+*.e2e
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# AxoCover is a Code Coverage Tool
+.axoCover/*
+!.axoCover/settings.json
+
+# Coverlet is a free, cross platform Code Coverage Tool
+coverage*.json
+coverage*.xml
+coverage*.info
+
+# Visual Studio code coverage results
+*.coverage
+*.coveragexml
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# Note: Comment the next line if you want to checkin your web deploy settings,
+# but database connection strings (with potential passwords) will be unencrypted
+*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# NuGet Symbol Packages
+*.snupkg
+# The packages folder can be ignored because of Package Restore
+**/[Pp]ackages/*
+# except build/, which is used as an MSBuild target.
+!**/[Pp]ackages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/[Pp]ackages/repositories.config
+# NuGet v3's project.json files produces more ignorable files
+*.nuget.props
+*.nuget.targets
+
+# Nuget personal access tokens and Credentials
+nuget.config
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+*.appx
+*.appxbundle
+*.appxupload
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!?*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.jfm
+*.pfx
+*.publishsettings
+orleans.codegen.cs
+
+# Including strong name files can present a security risk
+# (https://github.com/github/gitignore/pull/2483#issue-259490424)
+#*.snk
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+ServiceFabricBackup/
+*.rptproj.bak
+
+# SQL Server files
+*.mdf
+*.ldf
+*.ndf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+*.rptproj.rsuser
+*- [Bb]ackup.rdl
+*- [Bb]ackup ([0-9]).rdl
+*- [Bb]ackup ([0-9][0-9]).rdl
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+node_modules/
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
+*.vbw
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# CodeRush personal settings
+.cr/personal
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
*.pyc
-*.egg-info
-*.tgz
-*.tar.gz
-*.github.io
-_*.diff
-build*/
-samples/sample
-_sample*.txt
-tmp
-MANIFEST
+# Cake - Uncomment if you are using it
+# tools/**
+# !tools/packages.config
+
+# Tabs Studio
+*.tss
+
+# Telerik's JustMock configuration file
+*.jmconfig
+
+# BizTalk build output
+*.btp.cs
+*.btm.cs
+*.odx.cs
+*.xsd.cs
+
+# OpenCover UI analysis results
+OpenCover/
+
+# Azure Stream Analytics local run output
+ASALocalRun/
+
+# MSBuild Binary and Structured Log
+*.binlog
+
+# NVidia Nsight GPU debugger configuration file
+*.nvuser
+
+# MFractors (Xamarin productivity tool) working folder
+.mfractor/
+
+# Local History for Visual Studio
+.localhistory/
+
+# BeatPulse healthcheck temp database
+healthchecksdb
+
+# Backup folder for Package Reference Convert tool in Visual Studio 2017
+MigrationBackup/
+
+# Ionide (cross platform F# VS Code tools) working folder
+.ionide/
+
+# Fody - auto-generated XML schema
+FodyWeavers.xsd
+
+# VS Code files for those working on multiple tools
+.vscode/*
+!.vscode/settings.json
+!.vscode/tasks.json
+!.vscode/launch.json
+!.vscode/extensions.json
+*.code-workspace
+
+# Local History for Visual Studio Code
+.history/
-bindings/python/dist/
-bindings/python/src/
+# Windows Installer files from build outputs
+*.cab
+*.msi
+*.msix
+*.msm
+*.msp
+# JetBrains Rider
+.idea/
+*.sln.iml
\ No newline at end of file
diff --git a/msvc/llvm/keystone/keystone.dir/Release/keystone.lib.recipe b/msvc/llvm/keystone/keystone.dir/Release/keystone.lib.recipe
deleted file mode 100644
index 899d86f..0000000
--- a/msvc/llvm/keystone/keystone.dir/Release/keystone.lib.recipe
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
- D:\keystone\msvc\x64\Release\ZERO_CHECK
-
-
-
-
-
-
\ No newline at end of file
diff --git a/msvc/llvm/keystone/keystone.dir/Release/keystone.log b/msvc/llvm/keystone/keystone.dir/Release/keystone.log
deleted file mode 100644
index 24b5bb9..0000000
--- a/msvc/llvm/keystone/keystone.dir/Release/keystone.log
+++ /dev/null
@@ -1,151 +0,0 @@
- Building Custom Rule D:/keystone/llvm/keystone/CMakeLists.txt
- ConstantPools.cpp
- ELFObjectWriter.cpp
- MCAsmBackend.cpp
- MCAsmInfo.cpp
- MCAsmInfoCOFF.cpp
- MCAsmInfoDarwin.cpp
- MCAsmInfoELF.cpp
- MCAssembler.cpp
- MCCodeEmitter.cpp
- MCContext.cpp
- MCELFObjectTargetWriter.cpp
- MCELFStreamer.cpp
- MCExpr.cpp
- MCFragment.cpp
- MCInst.cpp
- MCInstrDesc.cpp
- MCLabel.cpp
- MCObjectFileInfo.cpp
- MCObjectStreamer.cpp
- MCObjectWriter.cpp
- AsmLexer.cpp
- AsmParser.cpp
- COFFAsmParser.cpp
- DarwinAsmParser.cpp
- ELFAsmParser.cpp
- MCAsmLexer.cpp
- MCAsmParser.cpp
- MCAsmParserExtension.cpp
- MCTargetAsmParser.cpp
- MCRegisterInfo.cpp
- MCSection.cpp
- MCSectionCOFF.cpp
- MCSectionELF.cpp
- MCSectionMachO.cpp
- MCStreamer.cpp
- MCSubtargetInfo.cpp
- MCSymbol.cpp
- MCSymbolELF.cpp
- MCTargetOptions.cpp
- MCValue.cpp
- StringTableBuilder.cpp
- SubtargetFeature.cpp
- APFloat.cpp
- APInt.cpp
- APSInt.cpp
- ARMBuildAttrs.cpp
- ErrorHandling.cpp
- Hashing.cpp
- IntEqClasses.cpp
- LEB128.cpp
- Memory.cpp
- MemoryBuffer.cpp
- Path.cpp
- Regex.cpp
- ScaledNumber.cpp
- SmallPtrSet.cpp
- SmallVector.cpp
- SourceMgr.cpp
- StringExtras.cpp
- StringMap.cpp
- StringPool.cpp
- StringRef.cpp
- StringSaver.cpp
- TargetParser.cpp
- TargetRegistry.cpp
- Triple.cpp
- Twine.cpp
- raw_ostream.cpp
- AArch64AsmParser.cpp
- AArch64AsmBackend.cpp
- AArch64ELFObjectWriter.cpp
- AArch64MCAsmInfo.cpp
- AArch64MCCodeEmitter.cpp
- AArch64MCExpr.cpp
- AArch64MCTargetDesc.cpp
- AArch64TargetStreamer.cpp
- AArch64TargetInfo.cpp
- AArch64BaseInfo.cpp
- ARMAsmParser.cpp
- ARMAsmBackend.cpp
- ARMELFObjectWriter.cpp
- ARMMCAsmInfo.cpp
- ARMMCCodeEmitter.cpp
- ARMMCExpr.cpp
- ARMMCTargetDesc.cpp
- ARMTargetStreamer.cpp
- ARMTargetInfo.cpp
- HexagonAsmParser.cpp
- HexagonAsmBackend.cpp
- HexagonELFObjectWriter.cpp
- HexagonMCAsmInfo.cpp
- HexagonMCChecker.cpp
- HexagonMCCodeEmitter.cpp
- HexagonMCCompound.cpp
- HexagonMCDuplexInfo.cpp
- HexagonMCExpr.cpp
- HexagonMCInstrInfo.cpp
- HexagonMCShuffler.cpp
- HexagonMCTargetDesc.cpp
- HexagonShuffler.cpp
- HexagonTargetInfo.cpp
- MipsAsmParser.cpp
- MipsABIInfo.cpp
- MipsAsmBackend.cpp
- MipsELFObjectWriter.cpp
- MipsMCAsmInfo.cpp
- MipsMCCodeEmitter.cpp
- MipsMCExpr.cpp
- MipsMCTargetDesc.cpp
- MipsTargetInfo.cpp
- PPCAsmParser.cpp
- PPCAsmBackend.cpp
- PPCELFObjectWriter.cpp
- PPCMCAsmInfo.cpp
- PPCMCCodeEmitter.cpp
- PPCMCExpr.cpp
- PPCMCTargetDesc.cpp
- PPCPredicates.cpp
- PowerPCTargetInfo.cpp
- SparcAsmParser.cpp
- SparcAsmBackend.cpp
- SparcELFObjectWriter.cpp
- SparcMCAsmInfo.cpp
- SparcMCCodeEmitter.cpp
- SparcMCExpr.cpp
- SparcMCTargetDesc.cpp
- SparcTargetInfo.cpp
- SystemZAsmParser.cpp
- SystemZMCAsmBackend.cpp
- SystemZMCAsmInfo.cpp
- SystemZMCCodeEmitter.cpp
- SystemZMCObjectWriter.cpp
- SystemZMCTargetDesc.cpp
- SystemZTargetInfo.cpp
- X86AsmInstrumentation.cpp
- X86AsmParser.cpp
- X86AsmBackend.cpp
- X86ELFObjectWriter.cpp
- X86MCAsmInfo.cpp
- X86MCCodeEmitter.cpp
- X86MCTargetDesc.cpp
- X86TargetInfo.cpp
- ks.cpp
- EVMMapping.cpp
- regcomp.c
- regerror.c
- regexec.c
- regfree.c
- regstrlcpy.c
- keystone.vcxproj -> D:\keystone\msvc\llvm\lib\Release\keystone.lib
diff --git a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CL.11500.write.1.tlog b/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CL.11500.write.1.tlog
deleted file mode 100644
index 6ccab93..0000000
Binary files a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CL.11500.write.1.tlog and /dev/null differ
diff --git a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CL.command.1.tlog b/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CL.command.1.tlog
deleted file mode 100644
index f322972..0000000
Binary files a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CL.command.1.tlog and /dev/null differ
diff --git a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CL.read.1.tlog b/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CL.read.1.tlog
deleted file mode 100644
index bab065b..0000000
Binary files a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CL.read.1.tlog and /dev/null differ
diff --git a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CustomBuild.command.1.tlog b/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CustomBuild.command.1.tlog
deleted file mode 100644
index 0a4ebd0..0000000
--- a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CustomBuild.command.1.tlog
+++ /dev/null
@@ -1,10 +0,0 @@
-^D:\KEYSTONE\LLVM\KEYSTONE\CMAKELISTS.TXT
-setlocal
-"C:\Program Files\CMake\bin\cmake.exe" -SD:/keystone -BD:/keystone/msvc --check-stamp-file D:/keystone/msvc/llvm/keystone/CMakeFiles/generate.stamp
-if %errorlevel% neq 0 goto :cmEnd
-:cmEnd
-endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
-:cmErrorLevel
-exit /b %1
-:cmDone
-if %errorlevel% neq 0 goto :VCEnd
diff --git a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CustomBuild.read.1.tlog b/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CustomBuild.read.1.tlog
deleted file mode 100644
index 7b6c4e0..0000000
--- a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CustomBuild.read.1.tlog
+++ /dev/null
@@ -1 +0,0 @@
-^D:\KEYSTONE\LLVM\KEYSTONE\CMAKELISTS.TXT
diff --git a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CustomBuild.write.1.tlog b/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CustomBuild.write.1.tlog
deleted file mode 100644
index 36b41b2..0000000
--- a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/CustomBuild.write.1.tlog
+++ /dev/null
@@ -1,2 +0,0 @@
-^D:\KEYSTONE\LLVM\KEYSTONE\CMAKELISTS.TXT
-D:\KEYSTONE\MSVC\LLVM\KEYSTONE\CMAKEFILES\GENERATE.STAMP
diff --git a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/Lib-link.read.1.tlog b/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/Lib-link.read.1.tlog
deleted file mode 100644
index d365042..0000000
Binary files a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/Lib-link.read.1.tlog and /dev/null differ
diff --git a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/Lib-link.write.1.tlog b/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/Lib-link.write.1.tlog
deleted file mode 100644
index 2fbd4c4..0000000
Binary files a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/Lib-link.write.1.tlog and /dev/null differ
diff --git a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/Lib.command.1.tlog b/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/Lib.command.1.tlog
deleted file mode 100644
index f03b137..0000000
Binary files a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/Lib.command.1.tlog and /dev/null differ
diff --git a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/keystone.lastbuildstate b/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/keystone.lastbuildstate
deleted file mode 100644
index 3b71d77..0000000
--- a/msvc/llvm/keystone/keystone.dir/Release/keystone.tlog/keystone.lastbuildstate
+++ /dev/null
@@ -1,2 +0,0 @@
-PlatformToolSet=v142:VCToolArchitecture=Native64Bit:VCToolsVersion=14.29.30037:TargetPlatformVersion=10.0.19041.0:
-Release|x64|D:\keystone\msvc\|
diff --git a/msvc/llvm/keystone/keystone.vcxproj b/msvc/llvm/keystone/keystone.vcxproj
index 409c789..0dcf287 100644
--- a/msvc/llvm/keystone/keystone.vcxproj
+++ b/msvc/llvm/keystone/keystone.vcxproj
@@ -129,7 +129,7 @@
MaxSpeed
NotUsing
true
- MultiThreaded
+ MultiThreadedDLL
4238
false
Level4
diff --git a/msvc/llvm/keystone/keystone.vcxproj.user b/msvc/llvm/keystone/keystone.vcxproj.user
new file mode 100644
index 0000000..88a5509
--- /dev/null
+++ b/msvc/llvm/keystone/keystone.vcxproj.user
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file