
448 changed files with 686845 additions and 15 deletions
@ -0,0 +1,65 @@
|
||||
syntax: glob |
||||
# Object files |
||||
*.o |
||||
*.obj |
||||
|
||||
# Libraries |
||||
*.lib |
||||
*.a |
||||
|
||||
# Shared objects (inc. Windows DLLs) |
||||
*.dll |
||||
*.so |
||||
*.so.* |
||||
*.dylib |
||||
|
||||
# Executables |
||||
*.exe |
||||
*.out |
||||
*.app |
||||
*.sys |
||||
|
||||
#VS/WDK project files |
||||
*.ilk |
||||
*.pdb |
||||
*.user |
||||
*.mac |
||||
*.res |
||||
*.log |
||||
build*_*_*.xml |
||||
*.suo |
||||
*.sdf |
||||
*.opensdf |
||||
*.tlog |
||||
*.ipch |
||||
vc*.idb |
||||
/bin/ |
||||
/_intdir/ |
||||
*.aps |
||||
*.vcxprojResolveAssemblyReference.cache |
||||
*.manifest |
||||
*.unsuccessfulbuild |
||||
UpgradeLog*.XML |
||||
_UpgradeReport_Files/* |
||||
*.sbr |
||||
|
||||
#other files |
||||
*.pyc |
||||
.*.swp |
||||
*.pyd |
||||
pydis/pydis.egg-info/ |
||||
pydis/build/ |
||||
pydis/dist/ |
||||
.vs/ |
||||
|
||||
disasmtool_lix/build |
||||
.dir-locals.el |
||||
.ccls-cache/ |
||||
compile_commands.json |
||||
.gdb_history |
||||
pydis/.eggs |
||||
bdshemu_fuzz/out |
||||
bdshemu_fuzz/shfuzz |
||||
bdshemu_fuzz/out-32 |
||||
bdshemu_fuzz/out-64 |
||||
docs/build |
@ -0,0 +1,21 @@
|
||||
{ |
||||
"version": "1.0", |
||||
"components": [ |
||||
"Microsoft.VisualStudio.Component.CoreEditor", |
||||
"Microsoft.VisualStudio.Workload.CoreEditor", |
||||
"Microsoft.VisualStudio.Component.Roslyn.Compiler", |
||||
"Microsoft.Component.MSBuild", |
||||
"Microsoft.VisualStudio.Component.TextTemplating", |
||||
"Microsoft.VisualStudio.Component.IntelliCode", |
||||
"Microsoft.VisualStudio.Component.VC.CoreIde", |
||||
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64", |
||||
"Microsoft.VisualStudio.Component.Windows10SDK.18362", |
||||
"Microsoft.VisualStudio.Component.VC.Redist.14.Latest", |
||||
"Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core", |
||||
"Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.CMake", |
||||
"Microsoft.VisualStudio.Component.VC.CMake.Project", |
||||
"Microsoft.VisualStudio.Component.VC.ATL", |
||||
"Microsoft.VisualStudio.Workload.NativeDesktop", |
||||
"Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre" |
||||
] |
||||
} |
@ -0,0 +1,22 @@
|
||||
.PHONY: all bddisasm bdshemu |
||||
|
||||
all: bddisasm bdshemu |
||||
|
||||
bddisasm: |
||||
@$(MAKE) --no-print-directory -C bddisasm
|
||||
@$(MAKE) --no-print-directory RELEASE=y -C bddisasm
|
||||
|
||||
bdshemu: |
||||
@$(MAKE) --no-print-directory -C bdshemu
|
||||
@$(MAKE) --no-print-directory RELEASE=y -C bdshemu
|
||||
|
||||
clean: |
||||
@$(MAKE) --no-print-directory -C bddisasm clean
|
||||
@$(MAKE) --no-print-directory RELEASE=y -C bddisasm clean
|
||||
@$(MAKE) --no-print-directory -C bdshemu clean
|
||||
@$(MAKE) --no-print-directory RELEASE=y -C bdshemu clean
|
||||
|
||||
install: |
||||
@$(MAKE) --no-print-directory RELEASE=y -C bddisasm install
|
||||
@$(MAKE) --no-print-directory RELEASE=y -C bdshemu install
|
||||
|
@ -0,0 +1,87 @@
|
||||
๏ปฟ |
||||
Microsoft Visual Studio Solution File, Format Version 12.00 |
||||
# Visual Studio Version 16 |
||||
VisualStudioVersion = 16.0.29519.87 |
||||
MinimumVisualStudioVersion = 10.0.40219.1 |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "disasmtool", "disasmtool\disasmtool.vcxproj", "{94F1B65D-3305-4CCB-9DF1-50B56900D867}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA} = {3C9B2CA7-CF4F-471B-BB72-6490C476CDCA} |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bddisasm", "bddisasm\bddisasm.vcxproj", "{3653AA19-048B-410E-B5C4-FF78E1D84C12}" |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bdshemu", "bdshemu\bdshemu.vcxproj", "{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12} = {3653AA19-048B-410E-B5C4-FF78E1D84C12} |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "isagenerator", "isagenerator\isagenerator.vcxproj", "{0E9D2957-34FA-40EE-B4B2-0D008D2FE317}" |
||||
EndProject |
||||
Global |
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution |
||||
Debug|Win32 = Debug|Win32 |
||||
Debug|x64 = Debug|x64 |
||||
DebugKernel|Win32 = DebugKernel|Win32 |
||||
DebugKernel|x64 = DebugKernel|x64 |
||||
Release|Win32 = Release|Win32 |
||||
Release|x64 = Release|x64 |
||||
ReleaseKernel|Win32 = ReleaseKernel|Win32 |
||||
ReleaseKernel|x64 = ReleaseKernel|x64 |
||||
EndGlobalSection |
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution |
||||
{94F1B65D-3305-4CCB-9DF1-50B56900D867}.Debug|Win32.ActiveCfg = Debug|Win32 |
||||
{94F1B65D-3305-4CCB-9DF1-50B56900D867}.Debug|x64.ActiveCfg = Debug|x64 |
||||
{94F1B65D-3305-4CCB-9DF1-50B56900D867}.DebugKernel|Win32.ActiveCfg = Debug|Win32 |
||||
{94F1B65D-3305-4CCB-9DF1-50B56900D867}.DebugKernel|x64.ActiveCfg = Debug|x64 |
||||
{94F1B65D-3305-4CCB-9DF1-50B56900D867}.Release|Win32.ActiveCfg = Release|Win32 |
||||
{94F1B65D-3305-4CCB-9DF1-50B56900D867}.Release|x64.ActiveCfg = Release|x64 |
||||
{94F1B65D-3305-4CCB-9DF1-50B56900D867}.ReleaseKernel|Win32.ActiveCfg = Release|Win32 |
||||
{94F1B65D-3305-4CCB-9DF1-50B56900D867}.ReleaseKernel|x64.ActiveCfg = Release|x64 |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12}.Debug|Win32.ActiveCfg = Debug|Win32 |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12}.Debug|Win32.Build.0 = Debug|Win32 |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12}.Debug|x64.ActiveCfg = Debug|x64 |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12}.Debug|x64.Build.0 = Debug|x64 |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12}.DebugKernel|Win32.ActiveCfg = DebugKernel|Win32 |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12}.DebugKernel|Win32.Build.0 = DebugKernel|Win32 |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12}.DebugKernel|x64.ActiveCfg = DebugKernel|x64 |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12}.DebugKernel|x64.Build.0 = DebugKernel|x64 |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12}.Release|Win32.ActiveCfg = Release|Win32 |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12}.Release|Win32.Build.0 = Release|Win32 |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12}.Release|x64.ActiveCfg = Release|x64 |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12}.Release|x64.Build.0 = Release|x64 |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12}.ReleaseKernel|Win32.ActiveCfg = ReleaseKernel|Win32 |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12}.ReleaseKernel|Win32.Build.0 = ReleaseKernel|Win32 |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12}.ReleaseKernel|x64.ActiveCfg = ReleaseKernel|x64 |
||||
{3653AA19-048B-410E-B5C4-FF78E1D84C12}.ReleaseKernel|x64.Build.0 = ReleaseKernel|x64 |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}.Debug|Win32.ActiveCfg = Debug|Win32 |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}.Debug|Win32.Build.0 = Debug|Win32 |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}.Debug|x64.ActiveCfg = Debug|x64 |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}.Debug|x64.Build.0 = Debug|x64 |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}.DebugKernel|Win32.ActiveCfg = DebugKernel|Win32 |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}.DebugKernel|Win32.Build.0 = DebugKernel|Win32 |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}.DebugKernel|x64.ActiveCfg = DebugKernel|x64 |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}.DebugKernel|x64.Build.0 = DebugKernel|x64 |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}.Release|Win32.ActiveCfg = Release|Win32 |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}.Release|Win32.Build.0 = Release|Win32 |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}.Release|x64.ActiveCfg = Release|x64 |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}.Release|x64.Build.0 = Release|x64 |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}.ReleaseKernel|Win32.ActiveCfg = ReleaseKernel|Win32 |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}.ReleaseKernel|Win32.Build.0 = ReleaseKernel|Win32 |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}.ReleaseKernel|x64.ActiveCfg = ReleaseKernel|x64 |
||||
{3C9B2CA7-CF4F-471B-BB72-6490C476CDCA}.ReleaseKernel|x64.Build.0 = ReleaseKernel|x64 |
||||
{0E9D2957-34FA-40EE-B4B2-0D008D2FE317}.Debug|Win32.ActiveCfg = Debug|Win32 |
||||
{0E9D2957-34FA-40EE-B4B2-0D008D2FE317}.Debug|x64.ActiveCfg = Debug|x64 |
||||
{0E9D2957-34FA-40EE-B4B2-0D008D2FE317}.DebugKernel|Win32.ActiveCfg = Debug|Win32 |
||||
{0E9D2957-34FA-40EE-B4B2-0D008D2FE317}.DebugKernel|x64.ActiveCfg = Debug|x64 |
||||
{0E9D2957-34FA-40EE-B4B2-0D008D2FE317}.Release|Win32.ActiveCfg = Release|Win32 |
||||
{0E9D2957-34FA-40EE-B4B2-0D008D2FE317}.Release|x64.ActiveCfg = Release|x64 |
||||
{0E9D2957-34FA-40EE-B4B2-0D008D2FE317}.ReleaseKernel|Win32.ActiveCfg = Release|Win32 |
||||
{0E9D2957-34FA-40EE-B4B2-0D008D2FE317}.ReleaseKernel|x64.ActiveCfg = Release|x64 |
||||
EndGlobalSection |
||||
GlobalSection(SolutionProperties) = preSolution |
||||
HideSolutionNode = FALSE |
||||
EndGlobalSection |
||||
GlobalSection(ExtensibilityGlobals) = postSolution |
||||
SolutionGuid = {E950FA16-07C1-4613-8328-906BC10C7C02} |
||||
EndGlobalSection |
||||
EndGlobal |
@ -0,0 +1,123 @@
|
||||
.PHONY: clean |
||||
|
||||
SRC_FILES := crt.c bddisasm.c
|
||||
|
||||
OBJECTS := $(SRC_FILES:.c=.o)
|
||||
|
||||
INCLUDES := -Iinclude -I../inc
|
||||
|
||||
ifeq ($(PLATFORM),) |
||||
PLATFORM := x64
|
||||
endif |
||||
|
||||
ifeq ($(RELEASE),y) |
||||
CONFIGURATION := Release
|
||||
else |
||||
CONFIGURATION := Debug
|
||||
endif |
||||
|
||||
ifeq ($(PREFIX),) |
||||
PREFIX := /usr/local
|
||||
endif |
||||
|
||||
DEFINES := -D_LIB -DAMD64
|
||||
|
||||
INT_DIR := ../_intdir/bddisasm/$(PLATFORM)/$(CONFIGURATION)
|
||||
|
||||
DEP_DIR := $(INT_DIR)/.d
|
||||
|
||||
OUT_DIR := ../bin/$(PLATFORM)/$(CONFIGURATION)
|
||||
|
||||
OBJECTS_PATH := $(addprefix $(INT_DIR)/, $(OBJECTS))
|
||||
|
||||
LIB_NAME := libbddisasm.a
|
||||
|
||||
WARNINGS_ENABLE := -Wall -Wextra -Wshadow -Wstrict-overflow \
|
||||
-Wframe-larger-than=3072 -Wstack-usage=3072
|
||||
|
||||
WARNINGS_DISABLE := -Wno-missing-field-initializers \
|
||||
-Wno-missing-braces \
|
||||
-Wno-unused-function \
|
||||
-Wno-unused-variable \
|
||||
-Wno-unknown-pragmas \
|
||||
-Wno-format \
|
||||
-Wno-multichar
|
||||
|
||||
# Some warnings are compiler-specific, some version-specific
|
||||
ifeq (,$(findstring clang,$(CC))) |
||||
CC_VERSION_MAJOR = $(shell $(CC) -dumpversion | cut -d '.' -f1)
|
||||
CC_VERSION_GT_4 = $(shell [ $(CC_VERSION_MAJOR) -gt 4 ] && echo true)
|
||||
CC_VERSION_GT_5 = $(shell [ $(CC_VERSION_MAJOR) -gt 5 ] && echo true)
|
||||
|
||||
ifeq (true,$(CC_VERSION_GT_4))
|
||||
WARNINGS_DISABLE += -Wno-incompatible-pointer-types
|
||||
endif
|
||||
|
||||
ifeq (true,$(CC_VERSION_GT_5))
|
||||
WARNINGS_ENABLE += -Wshift-overflow=2 \
|
||||
-Wnull-dereference \
|
||||
-Wduplicated-cond
|
||||
endif
|
||||
else |
||||
WARNINGS_DISABLE += -Wno-typedef-redefinition \
|
||||
-Wno-missing-braces \
|
||||
-Wno-incompatible-pointer-types \
|
||||
-Wno-missing-field-initializers
|
||||
endif |
||||
|
||||
DEPFLAGS = -MT $@ -MMD -MP -MF $(DEP_DIR)/$*.Td
|
||||
|
||||
CFLAGS = -pipe -c -std=c11 -fpic -fno-strict-aliasing \
|
||||
-D_REENTRANT -fstack-protector -ffunction-sections -fdata-sections \
|
||||
$(WARNINGS_ENABLE) $(WARNINGS_DISABLE) $(DEFINES) $(INCLUDES)
|
||||
|
||||
ifeq ($(RELEASE),y) |
||||
CFLAGS += -Ofast -g3 -DNDEBUG -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
|
||||
else |
||||
CFLAGS += -O0 -g3 -D_DEBUG -DDEBUG
|
||||
endif |
||||
|
||||
all: $(LIB_NAME) |
||||
|
||||
# Here it will link the objects created below in the final .a
|
||||
$(LIB_NAME): $(OBJECTS_PATH) |
||||
@mkdir -p $(OUT_DIR)
|
||||
@ar rcs $(OUT_DIR)/$(LIB_NAME) $(OBJECTS_PATH)
|
||||
@echo Disasm library in $(OUT_DIR)/$(LIB_NAME)
|
||||
|
||||
# We need to mkdir inside the rule, so each subfolder gets created,
|
||||
# and avoiding conflicts:
|
||||
# ./linux/example.c => $(INT_DIR)/linux/example.o
|
||||
# ./example.c => $(INT_DIR)/example.o
|
||||
$(INT_DIR)/%.o: %.c $(DEP_DIR)/%.d |
||||
@mkdir -p $(dir $@)
|
||||
@mkdir -p $(dir $(DEP_DIR)/$<) >/dev/null
|
||||
@echo $<
|
||||
@$(CC) $(DEPFLAGS) $(CFLAGS) -c $< -o $@
|
||||
@mv -f $(DEP_DIR)/$*.Td $(DEP_DIR)/$*.d
|
||||
|
||||
# So 'make' won't fail if the dependecy file doesn't exist
|
||||
$(DEP_DIR)/%.d: ; |
||||
|
||||
# Don't delete the dependecy files
|
||||
.PRECIOUS: $(DEP_DIR)/%.d |
||||
|
||||
# Include all the dependecy files (this will trigger a rebuild if a header is changed)
|
||||
-include $(patsubst %,$(DEP_DIR)/%.d,$(basename $(SRC_FILES))) |
||||
|
||||
clean_lib_file: |
||||
@rm $(OUT_DIR)/$(LIB_NAME) 2>/dev/null ||:
|
||||
|
||||
clean_int_dir: |
||||
@rm -r $(INT_DIR) 2>/dev/null ||:
|
||||
|
||||
clean_dep_dir: |
||||
@rm -r $(DEP_DIR) 2>/dev/null ||:
|
||||
|
||||
clean: clean_lib_file clean_int_dir clean_dep_dir |
||||
|
||||
install: all |
||||
install -d $(DESTDIR)$(PREFIX)/lib/
|
||||
install -m 644 $(OUT_DIR)/$(LIB_NAME) $(DESTDIR)$(PREFIX)/lib/
|
||||
install -d $(DESTDIR)$(PREFIX)/include/bddisasm
|
||||
cp -r ../inc/* $(DESTDIR)$(PREFIX)/include/bddisasm/
|
@ -0,0 +1,474 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?> |
||||
<VisualStudioProject |
||||
ProjectType="Visual C++" |
||||
Version="9.00" |
||||
Name="bddisasm" |
||||
ProjectGUID="{3653AA19-048B-410E-B5C4-FF78E1D84C12}" |
||||
RootNamespace="bddisasmlib" |
||||
Keyword="Win32Proj" |
||||
TargetFrameworkVersion="196613" |
||||
> |
||||
<Platforms> |
||||
<Platform |
||||
Name="Win32" |
||||
/> |
||||
<Platform |
||||
Name="x64" |
||||
/> |
||||
</Platforms> |
||||
<ToolFiles> |
||||
</ToolFiles> |
||||
<Configurations> |
||||
<Configuration |
||||
Name="Debug|Win32" |
||||
OutputDirectory="$(SolutionDir)bin\$(PlatformName)\$(ConfigurationName)" |
||||
IntermediateDirectory="$(SolutionDir)_intdir\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\" |
||||
ConfigurationType="4" |
||||
CharacterSet="1" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
CommandLine="generate_tables.py instructions" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
Optimization="0" |
||||
FavorSizeOrSpeed="1" |
||||
AdditionalIncludeDirectories="include;..\inc" |
||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;DEBUG;" |
||||
IgnoreStandardIncludePath="true" |
||||
MinimalRebuild="true" |
||||
BasicRuntimeChecks="3" |
||||
RuntimeLibrary="3" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="4" |
||||
WarnAsError="true" |
||||
Detect64BitPortabilityProblems="false" |
||||
DebugInformationFormat="3" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLibrarianTool" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
/> |
||||
</Configuration> |
||||
<Configuration |
||||
Name="Debug|x64" |
||||
OutputDirectory="$(SolutionDir)bin\$(PlatformName)\$(ConfigurationName)" |
||||
IntermediateDirectory="$(SolutionDir)_intdir\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\" |
||||
ConfigurationType="4" |
||||
CharacterSet="1" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
CommandLine="generate_tables.py instructions" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
TargetEnvironment="3" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
AdditionalOptions="/D "AMD64"" |
||||
Optimization="0" |
||||
EnableIntrinsicFunctions="true" |
||||
FavorSizeOrSpeed="1" |
||||
AdditionalIncludeDirectories="include;..\inc" |
||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;DEBUG;" |
||||
IgnoreStandardIncludePath="true" |
||||
StringPooling="true" |
||||
MinimalRebuild="true" |
||||
BasicRuntimeChecks="0" |
||||
RuntimeLibrary="3" |
||||
BufferSecurityCheck="false" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="4" |
||||
WarnAsError="true" |
||||
Detect64BitPortabilityProblems="false" |
||||
DebugInformationFormat="3" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLibrarianTool" |
||||
LinkLibraryDependencies="true" |
||||
AdditionalLibraryDirectories=""x:\Projects-devel\dacia-hg\bin\$(PlatformName)\$(ConfigurationName)"" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
/> |
||||
</Configuration> |
||||
<Configuration |
||||
Name="Release|Win32" |
||||
OutputDirectory="$(SolutionDir)bin\$(PlatformName)\$(ConfigurationName)" |
||||
IntermediateDirectory="$(SolutionDir)_intdir\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\" |
||||
ConfigurationType="4" |
||||
CharacterSet="1" |
||||
WholeProgramOptimization="1" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
CommandLine="generate_tables.py instructions" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
Optimization="2" |
||||
EnableIntrinsicFunctions="true" |
||||
FavorSizeOrSpeed="1" |
||||
AdditionalIncludeDirectories="include;..\inc" |
||||
PreprocessorDefinitions="WIN32;NDEBUG;_LIB" |
||||
IgnoreStandardIncludePath="true" |
||||
RuntimeLibrary="2" |
||||
EnableFunctionLevelLinking="true" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="4" |
||||
WarnAsError="true" |
||||
Detect64BitPortabilityProblems="false" |
||||
DebugInformationFormat="3" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLibrarianTool" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
/> |
||||
</Configuration> |
||||
<Configuration |
||||
Name="Release|x64" |
||||
OutputDirectory="$(SolutionDir)bin\$(PlatformName)\$(ConfigurationName)" |
||||
IntermediateDirectory="$(SolutionDir)_intdir\$(ProjectName)\$(PlatformName)\$(ConfigurationName)\" |
||||
ConfigurationType="4" |
||||
CharacterSet="1" |
||||
WholeProgramOptimization="1" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
CommandLine="generate_tables.py instructions" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
TargetEnvironment="3" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
AdditionalOptions="/D "AMD64"" |
||||
Optimization="2" |
||||
InlineFunctionExpansion="2" |
||||
EnableIntrinsicFunctions="true" |
||||
FavorSizeOrSpeed="1" |
||||
WholeProgramOptimization="true" |
||||
AdditionalIncludeDirectories="include;..\inc" |
||||
PreprocessorDefinitions="WIN32;NDEBUG;_LIB" |
||||
IgnoreStandardIncludePath="true" |
||||
StringPooling="true" |
||||
BasicRuntimeChecks="0" |
||||
RuntimeLibrary="0" |
||||
BufferSecurityCheck="false" |
||||
EnableFunctionLevelLinking="true" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="4" |
||||
WarnAsError="true" |
||||
Detect64BitPortabilityProblems="false" |
||||
DebugInformationFormat="3" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLibrarianTool" |
||||
LinkLibraryDependencies="false" |
||||
AdditionalLibraryDirectories="" |
||||
IgnoreAllDefaultLibraries="true" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
/> |
||||
</Configuration> |
||||
</Configurations> |
||||
<References> |
||||
</References> |
||||
<Files> |
||||
<Filter |
||||
Name="Source Files" |
||||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" |
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" |
||||
> |
||||
<File |
||||
RelativePath=".\crt.c" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\bddisasm.c" |
||||
> |
||||
</File> |
||||
</Filter> |
||||
<Filter |
||||
Name="Header Files" |
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd" |
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" |
||||
> |
||||
<File |
||||
RelativePath=".\include\crt.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\include\instructions.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\include\mnemonics.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\include\prefixes.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\include\sal.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\include\table_evex.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\include\table_root.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\include\table_vex.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\include\table_xop.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\include\tabledefs.h" |
||||
> |
||||
</File> |
||||
<Filter |
||||
Name="public" |
||||
> |
||||
<File |
||||
RelativePath="..\inc\constants.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\inc\bddisasm.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\inc\disasmstatus.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\inc\disasmtypes.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath="..\inc\registers.h" |
||||
> |
||||
</File> |
||||
</Filter> |
||||
</Filter> |
||||
<Filter |
||||
Name="Resource Files" |
||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav" |
||||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" |
||||
> |
||||
</Filter> |
||||
<Filter |
||||
Name="Instructions" |
||||
> |
||||
<File |
||||
RelativePath=".\instructions\table_0F.dat" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\instructions\table_0F_38.dat" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\instructions\table_0F_3A.dat" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\instructions\table_3dnow.dat" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\instructions\table_base.dat" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\instructions\table_evex1.dat" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\instructions\table_evex2.dat" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\instructions\table_evex3.dat" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\instructions\table_fpu.dat" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\instructions\table_vex1.dat" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\instructions\table_vex2.dat" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\instructions\table_vex3.dat" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\instructions\table_xop.dat" |
||||
> |
||||
</File> |
||||
</Filter> |
||||
<Filter |
||||
Name="Scripts" |
||||
> |
||||
<File |
||||
RelativePath=".\generate_tables.py" |
||||
> |
||||
</File> |
||||
</Filter> |
||||
<Filter |
||||
Name="Other" |
||||
> |
||||
</Filter> |
||||
</Files> |
||||
<Globals> |
||||
</Globals> |
||||
</VisualStudioProject> |
@ -0,0 +1,458 @@
|
||||
๏ปฟ<?xml version="1.0" encoding="utf-8"?> |
||||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<ItemGroup Label="ProjectConfigurations"> |
||||
<ProjectConfiguration Include="DebugKernel|Win32"> |
||||
<Configuration>DebugKernel</Configuration> |
||||
<Platform>Win32</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="DebugKernel|x64"> |
||||
<Configuration>DebugKernel</Configuration> |
||||
<Platform>x64</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Debug|Win32"> |
||||
<Configuration>Debug</Configuration> |
||||
<Platform>Win32</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Debug|x64"> |
||||
<Configuration>Debug</Configuration> |
||||
<Platform>x64</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="ReleaseKernel|Win32"> |
||||
<Configuration>ReleaseKernel</Configuration> |
||||
<Platform>Win32</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="ReleaseKernel|x64"> |
||||
<Configuration>ReleaseKernel</Configuration> |
||||
<Platform>x64</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Release|Win32"> |
||||
<Configuration>Release</Configuration> |
||||
<Platform>Win32</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Release|x64"> |
||||
<Configuration>Release</Configuration> |
||||
<Platform>x64</Platform> |
||||
</ProjectConfiguration> |
||||
</ItemGroup> |
||||
<PropertyGroup Label="Globals"> |
||||
<ProjectGuid>{3653AA19-048B-410E-B5C4-FF78E1D84C12}</ProjectGuid> |
||||
<RootNamespace>bddisasm</RootNamespace> |
||||
<Keyword>Win32Proj</Keyword> |
||||
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion> |
||||
<ProjectName>bddisasm</ProjectName> |
||||
</PropertyGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
||||
<ConfigurationType>StaticLibrary</ConfigurationType> |
||||
<PlatformToolset>v142</PlatformToolset> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseKernel|Win32'" Label="Configuration"> |
||||
<ConfigurationType>StaticLibrary</ConfigurationType> |
||||
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
||||
<TargetVersion>Windows7</TargetVersion> |
||||
<DriverTargetPlatform>Desktop</DriverTargetPlatform> |
||||
<SupportsPackaging>false</SupportsPackaging> |
||||
<ALLOW_DATE_TIME>1</ALLOW_DATE_TIME> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
||||
<ConfigurationType>StaticLibrary</ConfigurationType> |
||||
<PlatformToolset>v142</PlatformToolset> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugKernel|Win32'" Label="Configuration"> |
||||
<ConfigurationType>StaticLibrary</ConfigurationType> |
||||
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
<TargetVersion>Windows7</TargetVersion> |
||||
<DriverTargetPlatform>Desktop</DriverTargetPlatform> |
||||
<SupportsPackaging>false</SupportsPackaging> |
||||
<ALLOW_DATE_TIME>1</ALLOW_DATE_TIME> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
||||
<ConfigurationType>StaticLibrary</ConfigurationType> |
||||
<PlatformToolset>v142</PlatformToolset> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseKernel|x64'" Label="Configuration"> |
||||
<ConfigurationType>StaticLibrary</ConfigurationType> |
||||
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
||||
<TargetVersion>Windows7</TargetVersion> |
||||
<DriverTargetPlatform>Desktop</DriverTargetPlatform> |
||||
<SupportsPackaging>false</SupportsPackaging> |
||||
<ALLOW_DATE_TIME>1</ALLOW_DATE_TIME> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
||||
<ConfigurationType>StaticLibrary</ConfigurationType> |
||||
<PlatformToolset>v142</PlatformToolset> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugKernel|x64'" Label="Configuration"> |
||||
<ConfigurationType>StaticLibrary</ConfigurationType> |
||||
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
<TargetVersion>Windows7</TargetVersion> |
||||
<DriverTargetPlatform>Desktop</DriverTargetPlatform> |
||||
<SupportsPackaging>false</SupportsPackaging> |
||||
<ALLOW_DATE_TIME>1</ALLOW_DATE_TIME> |
||||
</PropertyGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
||||
<ImportGroup Label="ExtensionSettings"> |
||||
</ImportGroup> |
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseKernel|Win32'" Label="PropertySheets"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugKernel|Win32'" Label="PropertySheets"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseKernel|x64'" Label="PropertySheets"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugKernel|x64'" Label="PropertySheets"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<PropertyGroup Label="UserMacros" /> |
||||
<PropertyGroup> |
||||
<_ProjectFileVersion>14.0.23107.0</_ProjectFileVersion> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
||||
<OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutDir> |
||||
<IntDir>$(SolutionDir)_intdir\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugKernel|Win32'"> |
||||
<OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutDir> |
||||
<IntDir>$(SolutionDir)_intdir\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||
<OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutDir> |
||||
<IntDir>$(SolutionDir)_intdir\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugKernel|x64'"> |
||||
<OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutDir> |
||||
<IntDir>$(SolutionDir)_intdir\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
||||
<OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutDir> |
||||
<IntDir>$(SolutionDir)_intdir\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseKernel|Win32'"> |
||||
<OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutDir> |
||||
<IntDir>$(SolutionDir)_intdir\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||
<OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutDir> |
||||
<IntDir>$(SolutionDir)_intdir\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseKernel|x64'"> |
||||
<OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutDir> |
||||
<IntDir>$(SolutionDir)_intdir\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir> |
||||
</PropertyGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
||||
<PreBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PreBuildEvent> |
||||
<ClCompile> |
||||
<Optimization>Disabled</Optimization> |
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> |
||||
<AdditionalIncludeDirectories>include;..\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<IgnoreStandardIncludePath>false</IgnoreStandardIncludePath> |
||||
<MinimalRebuild>true</MinimalRebuild> |
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks> |
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level4</WarningLevel> |
||||
<TreatWarningAsError>true</TreatWarningAsError> |
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
||||
<ProgramDataBaseFileName>$(SolutionDir)bin\$(Platform)\$(Configuration)\$(ProjectName).pdb</ProgramDataBaseFileName> |
||||
</ClCompile> |
||||
<Lib> |
||||
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration> |
||||
</Lib> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugKernel|Win32'"> |
||||
<PreBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PreBuildEvent> |
||||
<ClCompile> |
||||
<Optimization>Disabled</Optimization> |
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> |
||||
<AdditionalIncludeDirectories>include;..\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<IgnoreStandardIncludePath>false</IgnoreStandardIncludePath> |
||||
<MinimalRebuild>true</MinimalRebuild> |
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks> |
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level4</WarningLevel> |
||||
<TreatWarningAsError>true</TreatWarningAsError> |
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
||||
<ProgramDataBaseFileName>$(SolutionDir)bin\$(Platform)\$(Configuration)\$(ProjectName).pdb</ProgramDataBaseFileName> |
||||
<ForcedIncludeFiles /> |
||||
<AdditionalOptions>/kernel /D %(AdditionalOptions)</AdditionalOptions> |
||||
</ClCompile> |
||||
<Lib> |
||||
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration> |
||||
</Lib> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||
<PreBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PreBuildEvent> |
||||
<Midl> |
||||
<TargetEnvironment>X64</TargetEnvironment> |
||||
</Midl> |
||||
<ClCompile> |
||||
<AdditionalOptions>/D "AMD64" %(AdditionalOptions)</AdditionalOptions> |
||||
<Optimization>Disabled</Optimization> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> |
||||
<AdditionalIncludeDirectories>include;..\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<IgnoreStandardIncludePath>false</IgnoreStandardIncludePath> |
||||
<StringPooling>true</StringPooling> |
||||
<MinimalRebuild>true</MinimalRebuild> |
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks> |
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> |
||||
<BufferSecurityCheck>false</BufferSecurityCheck> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level4</WarningLevel> |
||||
<TreatWarningAsError>true</TreatWarningAsError> |
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
||||
<ProgramDataBaseFileName>$(SolutionDir)bin\$(Platform)\$(Configuration)\$(ProjectName).pdb</ProgramDataBaseFileName> |
||||
</ClCompile> |
||||
<ProjectReference> |
||||
<LinkLibraryDependencies>true</LinkLibraryDependencies> |
||||
</ProjectReference> |
||||
<Lib> |
||||
<AdditionalLibraryDirectories>x:\Projects-devel\dacia-hg\bin\$(Platform)\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration> |
||||
</Lib> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugKernel|x64'"> |
||||
<PreBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PreBuildEvent> |
||||
<Midl> |
||||
<TargetEnvironment>X64</TargetEnvironment> |
||||
</Midl> |
||||
<ClCompile> |
||||
<AdditionalOptions>/kernel /D "AMD64" %(AdditionalOptions)</AdditionalOptions> |
||||
<Optimization>Disabled</Optimization> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> |
||||
<AdditionalIncludeDirectories>include;..\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<IgnoreStandardIncludePath>false</IgnoreStandardIncludePath> |
||||
<StringPooling>true</StringPooling> |
||||
<MinimalRebuild>true</MinimalRebuild> |
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks> |
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> |
||||
<BufferSecurityCheck>false</BufferSecurityCheck> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level4</WarningLevel> |
||||
<TreatWarningAsError>true</TreatWarningAsError> |
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
||||
<ProgramDataBaseFileName>$(SolutionDir)bin\$(Platform)\$(Configuration)\$(ProjectName).pdb</ProgramDataBaseFileName> |
||||
<ForcedIncludeFiles /> |
||||
</ClCompile> |
||||
<ProjectReference> |
||||
<LinkLibraryDependencies>true</LinkLibraryDependencies> |
||||
</ProjectReference> |
||||
<Lib> |
||||
<AdditionalLibraryDirectories>x:\Projects-devel\dacia-hg\bin\$(Platform)\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
<SubSystem>Native</SubSystem> |
||||
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration> |
||||
</Lib> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
||||
<PreBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PreBuildEvent> |
||||
<ClCompile> |
||||
<Optimization>MaxSpeed</Optimization> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> |
||||
<AdditionalIncludeDirectories>include;..\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<IgnoreStandardIncludePath>false</IgnoreStandardIncludePath> |
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> |
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||
<PrecompiledHeader /> |
||||
<WarningLevel>Level4</WarningLevel> |
||||
<TreatWarningAsError>true</TreatWarningAsError> |
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
||||
<ProgramDataBaseFileName>$(SolutionDir)bin\$(Platform)\$(Configuration)\$(ProjectName).pdb</ProgramDataBaseFileName> |
||||
<WholeProgramOptimization>false</WholeProgramOptimization> |
||||
</ClCompile> |
||||
<Lib> |
||||
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration> |
||||
</Lib> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseKernel|Win32'"> |
||||
<PreBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PreBuildEvent> |
||||
<ClCompile> |
||||
<Optimization>MaxSpeed</Optimization> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> |
||||
<AdditionalIncludeDirectories>include;..\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<IgnoreStandardIncludePath>false</IgnoreStandardIncludePath> |
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> |
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level4</WarningLevel> |
||||
<TreatWarningAsError>true</TreatWarningAsError> |
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
||||
<ProgramDataBaseFileName>$(SolutionDir)bin\$(Platform)\$(Configuration)\$(ProjectName).pdb</ProgramDataBaseFileName> |
||||
<ForcedIncludeFiles /> |
||||
<AdditionalOptions>/kernel /D %(AdditionalOptions)</AdditionalOptions> |
||||
<WholeProgramOptimization>false</WholeProgramOptimization> |
||||
</ClCompile> |
||||
<Lib> |
||||
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration> |
||||
</Lib> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||
<PreBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PreBuildEvent> |
||||
<Midl> |
||||
<TargetEnvironment>X64</TargetEnvironment> |
||||
</Midl> |
||||
<ClCompile> |
||||
<AdditionalOptions>/D "AMD64" %(AdditionalOptions)</AdditionalOptions> |
||||
<Optimization>MaxSpeed</Optimization> |
||||
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> |
||||
<WholeProgramOptimization>false</WholeProgramOptimization> |
||||
<AdditionalIncludeDirectories>include;..\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<IgnoreStandardIncludePath>false</IgnoreStandardIncludePath> |
||||
<StringPooling>true</StringPooling> |
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks> |
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
||||
<BufferSecurityCheck>false</BufferSecurityCheck> |
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||
<PrecompiledHeader /> |
||||
<WarningLevel>Level4</WarningLevel> |
||||
<TreatWarningAsError>true</TreatWarningAsError> |
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
||||
<ProgramDataBaseFileName>$(SolutionDir)bin\$(Platform)\$(Configuration)\$(ProjectName).pdb</ProgramDataBaseFileName> |
||||
</ClCompile> |
||||
<ProjectReference> |
||||
<LinkLibraryDependencies>false</LinkLibraryDependencies> |
||||
</ProjectReference> |
||||
<Lib> |
||||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries> |
||||
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration> |
||||
</Lib> |
||||
<PostBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PostBuildEvent> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseKernel|x64'"> |
||||
<PreBuildEvent> |
||||
<Command> |
||||
</Command> |
||||
</PreBuildEvent> |
||||
<Midl> |
||||
<TargetEnvironment>X64</TargetEnvironment> |
||||
</Midl> |
||||
<ClCompile> |
||||
<AdditionalOptions>/kernel /D "AMD64" %(AdditionalOptions)</AdditionalOptions> |
||||
<Optimization>MaxSpeed</Optimization> |
||||
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> |
||||
<WholeProgramOptimization>false</WholeProgramOptimization> |
||||
<AdditionalIncludeDirectories>include;..\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<IgnoreStandardIncludePath>false</IgnoreStandardIncludePath> |
||||
<StringPooling>true</StringPooling> |
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks> |
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
||||
<BufferSecurityCheck>false</BufferSecurityCheck> |
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level4</WarningLevel> |
||||
<TreatWarningAsError>true</TreatWarningAsError> |
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
||||
<ProgramDataBaseFileName>$(SolutionDir)bin\$(Platform)\$(Configuration)\$(ProjectName).pdb</ProgramDataBaseFileName> |
||||
<ForcedIncludeFiles /> |
||||
</ClCompile> |
||||
<ProjectReference> |
||||
<LinkLibraryDependencies>false</LinkLibraryDependencies> |
||||
</ProjectReference> |
||||
<Lib> |
||||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries> |
||||
<SubSystem>Native</SubSystem> |
||||
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration> |
||||
</Lib> |
||||
</ItemDefinitionGroup> |
||||
<ItemGroup> |
||||
<ClCompile Include="crt.c" /> |
||||
<ClCompile Include="bddisasm.c"> |
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='ReleaseKernel|Win32'">NotUsing</PrecompiledHeader> |
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='ReleaseKernel|x64'">NotUsing</PrecompiledHeader> |
||||
<ForcedIncludeFiles Condition="'$(Configuration)|$(Platform)'=='DebugKernel|Win32'"> |
||||
</ForcedIncludeFiles> |
||||
<ForcedIncludeFiles Condition="'$(Configuration)|$(Platform)'=='DebugKernel|x64'"> |
||||
</ForcedIncludeFiles> |
||||
<ForcedIncludeFiles Condition="'$(Configuration)|$(Platform)'=='ReleaseKernel|Win32'"> |
||||
</ForcedIncludeFiles> |
||||
<ForcedIncludeFiles Condition="'$(Configuration)|$(Platform)'=='ReleaseKernel|x64'"> |
||||
</ForcedIncludeFiles> |
||||
</ClCompile> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<ClInclude Include="..\inc\constants.h" /> |
||||
<ClInclude Include="..\inc\cpuidflags.h" /> |
||||
<ClInclude Include="..\inc\bddisasm.h" /> |
||||
<ClInclude Include="..\inc\disasmstatus.h" /> |
||||
<ClInclude Include="..\inc\disasmtypes.h" /> |
||||
<ClInclude Include="..\inc\registers.h" /> |
||||
<ClInclude Include="..\inc\version.h" /> |
||||
<ClInclude Include="include\instructions.h" /> |
||||
<ClInclude Include="include\mnemonics.h" /> |
||||
<ClInclude Include="include\nd_crt.h" /> |
||||
<ClInclude Include="include\prefixes.h" /> |
||||
<ClInclude Include="include\tabledefs.h" /> |
||||
<ClInclude Include="include\table_evex.h" /> |
||||
<ClInclude Include="include\table_root.h" /> |
||||
<ClInclude Include="include\table_vex.h" /> |
||||
<ClInclude Include="include\table_xop.h" /> |
||||
</ItemGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
||||
<ImportGroup Label="ExtensionTargets"> |
||||
</ImportGroup> |
||||
</Project> |
@ -0,0 +1,81 @@
|
||||
๏ปฟ<?xml version="1.0" encoding="utf-8"?> |
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<ItemGroup> |
||||
<Filter Include="Source Files"> |
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> |
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> |
||||
</Filter> |
||||
<Filter Include="Header Files"> |
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> |
||||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> |
||||
</Filter> |
||||
<Filter Include="Header Files\public"> |
||||
<UniqueIdentifier>{8f31fedd-353c-4b9c-9e2d-bdb129e1e02b}</UniqueIdentifier> |
||||
</Filter> |
||||
<Filter Include="Resource Files"> |
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> |
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions> |
||||
</Filter> |
||||
<Filter Include="Other"> |
||||
<UniqueIdentifier>{5e26c505-e8f5-4e6c-9d54-f20e36b637b8}</UniqueIdentifier> |
||||
</Filter> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<ClCompile Include="crt.c"> |
||||
<Filter>Source Files</Filter> |
||||
</ClCompile> |
||||
<ClCompile Include="bddisasm.c"> |
||||
<Filter>Source Files</Filter> |
||||
</ClCompile> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<ClInclude Include="include\instructions.h"> |
||||
<Filter>Header Files</Filter> |
||||
</ClInclude> |
||||
<ClInclude Include="include\mnemonics.h"> |
||||
<Filter>Header Files</Filter> |
||||
</ClInclude> |
||||
<ClInclude Include="include\prefixes.h"> |
||||
<Filter>Header Files</Filter> |
||||
</ClInclude> |
||||
<ClInclude Include="include\table_evex.h"> |
||||
<Filter>Header Files</Filter> |
||||
</ClInclude> |
||||
<ClInclude Include="include\table_root.h"> |
||||
<Filter>Header Files</Filter> |
||||
</ClInclude> |
||||
<ClInclude Include="include\table_vex.h"> |
||||
<Filter>Header Files</Filter> |
||||
</ClInclude> |
||||
<ClInclude Include="include\table_xop.h"> |
||||
<Filter>Header Files</Filter> |
||||
</ClInclude> |
||||
<ClInclude Include="include\tabledefs.h"> |
||||
<Filter>Header Files</Filter> |
||||
</ClInclude> |
||||
<ClInclude Include="..\inc\constants.h"> |
||||
<Filter>Header Files\public</Filter> |
||||
</ClInclude> |
||||
<ClInclude Include="..\inc\bddisasm.h"> |
||||
<Filter>Header Files\public</Filter> |
||||
</ClInclude> |
||||
<ClInclude Include="..\inc\disasmstatus.h"> |
||||
<Filter>Header Files\public</Filter> |
||||
</ClInclude> |
||||
<ClInclude Include="..\inc\disasmtypes.h"> |
||||
<Filter>Header Files\public</Filter> |
||||
</ClInclude> |
||||
<ClInclude Include="..\inc\registers.h"> |
||||
<Filter>Header Files\public</Filter> |
||||
</ClInclude> |
||||
<ClInclude Include="..\inc\version.h"> |
||||
<Filter>Header Files\public</Filter> |
||||
</ClInclude> |
||||
<ClInclude Include="..\inc\cpuidflags.h"> |
||||
<Filter>Header Files\public</Filter> |
||||
</ClInclude> |
||||
<ClInclude Include="include\nd_crt.h"> |
||||
<Filter>Header Files</Filter> |
||||
</ClInclude> |
||||
</ItemGroup> |
||||
</Project> |
@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Bitdefender |
||||
* SPDX-License-Identifier: Apache-2.0 |
||||
*/ |
||||
#include "include/nd_crt.h" |
||||
|
||||
|
||||
//
|
||||
// nd_strcat_s
|
||||
//
|
||||
char * |
||||
nd_strcat_s( |
||||
char *dst, |
||||
size_t dst_size, |
||||
const char *src |
||||
) |
||||
{ |
||||
char *p; |
||||
size_t available; |
||||
|
||||
p = dst; |
||||
available = dst_size; |
||||
while (available > 0 && *p != 0) |
||||
{ |
||||
p++; |
||||
available--; |
||||
} |
||||
|
||||
if (available == 0) |
||||
{ |
||||
nd_memzero(dst, dst_size); |
||||
return NULL; |
||||
} |
||||
|
||||
while ((*p++ = *src++) != 0 && --available > 0); |
||||
|
||||
if (available == 0) |
||||
{ |
||||
nd_memzero(dst, dst_size); |
||||
return NULL; |
||||
} |
||||
|
||||
return dst; |
||||
} |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,282 @@
|
||||
#ifndef _MNEMONICS_H_ |
||||
#define _MNEMONICS_H_ |
||||
|
||||
const char *gMnemonics[1561] =
|
||||
{ |
||||
"AAA", "AAD", "AAM", "AAS", "ADC", "ADCX", "ADD", "ADDPD", "ADDPS",
|
||||
"ADDSD", "ADDSS", "ADDSUBPD", "ADDSUBPS", "ADOX", "AESDEC", "AESDECLAST",
|
||||
"AESENC", "AESENCLAST", "AESIMC", "AESKEYGENASSIST", "ALTINST",
|
||||
"AND", "ANDN", "ANDNPD", "ANDNPS", "ANDPD", "ANDPS", "ARPL",
|
||||
"BEXTR", "BLCFILL", |