extlz4 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/Rakefile +22 -0
  4. data/contrib/lz4/LICENSE +2 -1
  5. data/contrib/lz4/Makefile.inc +39 -15
  6. data/contrib/lz4/NEWS +21 -0
  7. data/contrib/lz4/README.md +1 -1
  8. data/contrib/lz4/build/VS2010/liblz4-dll/liblz4-dll.rc +1 -1
  9. data/contrib/lz4/build/VS2010/lz4/lz4.rc +1 -1
  10. data/contrib/lz4/build/VS2017/liblz4-dll/liblz4-dll.rc +1 -1
  11. data/contrib/lz4/build/VS2017/lz4/lz4.rc +1 -1
  12. data/contrib/lz4/build/VS2017/lz4/lz4.vcxproj +12 -1
  13. data/contrib/lz4/build/VS2022/datagen/datagen.vcxproj +173 -0
  14. data/contrib/lz4/build/VS2022/frametest/frametest.vcxproj +180 -0
  15. data/contrib/lz4/build/VS2022/fullbench/fullbench.vcxproj +180 -0
  16. data/contrib/lz4/build/VS2022/fullbench-dll/fullbench-dll.vcxproj +184 -0
  17. data/contrib/lz4/build/VS2022/fuzzer/fuzzer.vcxproj +177 -0
  18. data/contrib/lz4/build/VS2022/liblz4/liblz4.vcxproj +179 -0
  19. data/contrib/lz4/build/VS2022/liblz4-dll/liblz4-dll.rc +51 -0
  20. data/contrib/lz4/build/VS2022/liblz4-dll/liblz4-dll.vcxproj +183 -0
  21. data/contrib/lz4/build/VS2022/lz4.sln +103 -0
  22. data/contrib/lz4/build/cmake/CMakeLists.txt +49 -11
  23. data/contrib/lz4/build/cmake/lz4Config.cmake.in +2 -0
  24. data/contrib/lz4/lib/LICENSE +1 -1
  25. data/contrib/lz4/lib/README.md +45 -13
  26. data/contrib/lz4/lib/liblz4-dll.rc.in +1 -1
  27. data/contrib/lz4/lib/liblz4.pc.in +3 -3
  28. data/contrib/lz4/lib/lz4.c +422 -195
  29. data/contrib/lz4/lib/lz4.h +114 -46
  30. data/contrib/lz4/lib/lz4file.c +311 -0
  31. data/contrib/lz4/lib/lz4file.h +93 -0
  32. data/contrib/lz4/lib/lz4frame.c +421 -242
  33. data/contrib/lz4/lib/lz4frame.h +122 -53
  34. data/contrib/lz4/lib/lz4frame_static.h +1 -1
  35. data/contrib/lz4/lib/lz4hc.c +127 -111
  36. data/contrib/lz4/lib/lz4hc.h +14 -14
  37. data/contrib/lz4/ossfuzz/Makefile +1 -0
  38. data/contrib/lz4/ossfuzz/decompress_fuzzer.c +18 -2
  39. data/contrib/lz4/ossfuzz/fuzz_helpers.h +3 -2
  40. data/contrib/lz4/ossfuzz/round_trip_frame_uncompressed_fuzzer.c +134 -0
  41. data/contrib/lz4/ossfuzz/round_trip_fuzzer.c +66 -6
  42. data/ext/blockapi.c +8 -8
  43. data/ext/extlz4.h +12 -0
  44. data/ext/frameapi.c +3 -3
  45. data/ext/hashargs.c +7 -1
  46. metadata +16 -5
  47. data/contrib/lz4/tmp +0 -0
  48. data/contrib/lz4/tmpsparse +0 -0
@@ -0,0 +1,180 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Debug|x64">
9
+ <Configuration>Debug</Configuration>
10
+ <Platform>x64</Platform>
11
+ </ProjectConfiguration>
12
+ <ProjectConfiguration Include="Release|Win32">
13
+ <Configuration>Release</Configuration>
14
+ <Platform>Win32</Platform>
15
+ </ProjectConfiguration>
16
+ <ProjectConfiguration Include="Release|x64">
17
+ <Configuration>Release</Configuration>
18
+ <Platform>x64</Platform>
19
+ </ProjectConfiguration>
20
+ </ItemGroup>
21
+ <PropertyGroup Label="Globals">
22
+ <ProjectGuid>{6A4DF4EF-C77F-43C6-8901-DDCD20879E4E}</ProjectGuid>
23
+ <Keyword>Win32Proj</Keyword>
24
+ <RootNamespace>fullbench</RootNamespace>
25
+ <OutDir>$(SolutionDir)bin\$(Platform)_$(Configuration)\</OutDir>
26
+ <IntDir>$(SolutionDir)bin\obj\$(RootNamespace)_$(Platform)_$(Configuration)\</IntDir>
27
+ </PropertyGroup>
28
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
29
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
30
+ <ConfigurationType>Application</ConfigurationType>
31
+ <UseDebugLibraries>true</UseDebugLibraries>
32
+ <CharacterSet>Unicode</CharacterSet>
33
+ <PlatformToolset>v143</PlatformToolset>
34
+ </PropertyGroup>
35
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
36
+ <ConfigurationType>Application</ConfigurationType>
37
+ <UseDebugLibraries>true</UseDebugLibraries>
38
+ <CharacterSet>Unicode</CharacterSet>
39
+ <PlatformToolset>v143</PlatformToolset>
40
+ </PropertyGroup>
41
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
42
+ <ConfigurationType>Application</ConfigurationType>
43
+ <UseDebugLibraries>false</UseDebugLibraries>
44
+ <CharacterSet>Unicode</CharacterSet>
45
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
46
+ <PlatformToolset>v143</PlatformToolset>
47
+ </PropertyGroup>
48
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
49
+ <ConfigurationType>Application</ConfigurationType>
50
+ <UseDebugLibraries>false</UseDebugLibraries>
51
+ <CharacterSet>Unicode</CharacterSet>
52
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
53
+ <PlatformToolset>v143</PlatformToolset>
54
+ </PropertyGroup>
55
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
56
+ <ImportGroup Label="ExtensionSettings">
57
+ </ImportGroup>
58
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
59
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60
+ </ImportGroup>
61
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
62
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63
+ </ImportGroup>
64
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
65
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
66
+ </ImportGroup>
67
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
68
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
69
+ </ImportGroup>
70
+ <PropertyGroup Label="UserMacros" />
71
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
72
+ <LinkIncremental>true</LinkIncremental>
73
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
74
+ </PropertyGroup>
75
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
76
+ <LinkIncremental>true</LinkIncremental>
77
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
78
+ <RunCodeAnalysis>true</RunCodeAnalysis>
79
+ </PropertyGroup>
80
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
81
+ <LinkIncremental>false</LinkIncremental>
82
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
83
+ </PropertyGroup>
84
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
85
+ <LinkIncremental>false</LinkIncremental>
86
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
87
+ <RunCodeAnalysis>true</RunCodeAnalysis>
88
+ </PropertyGroup>
89
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
90
+ <ClCompile>
91
+ <PrecompiledHeader>
92
+ </PrecompiledHeader>
93
+ <WarningLevel>Level4</WarningLevel>
94
+ <Optimization>Disabled</Optimization>
95
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
96
+ <TreatWarningAsError>true</TreatWarningAsError>
97
+ <EnablePREfast>false</EnablePREfast>
98
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
99
+ </ClCompile>
100
+ <Link>
101
+ <SubSystem>Console</SubSystem>
102
+ <GenerateDebugInformation>true</GenerateDebugInformation>
103
+ </Link>
104
+ </ItemDefinitionGroup>
105
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
106
+ <ClCompile>
107
+ <PrecompiledHeader>
108
+ </PrecompiledHeader>
109
+ <WarningLevel>Level4</WarningLevel>
110
+ <Optimization>Disabled</Optimization>
111
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
112
+ <TreatWarningAsError>true</TreatWarningAsError>
113
+ <EnablePREfast>true</EnablePREfast>
114
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
115
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
116
+ </ClCompile>
117
+ <Link>
118
+ <SubSystem>Console</SubSystem>
119
+ <GenerateDebugInformation>true</GenerateDebugInformation>
120
+ </Link>
121
+ </ItemDefinitionGroup>
122
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
123
+ <ClCompile>
124
+ <WarningLevel>Level4</WarningLevel>
125
+ <PrecompiledHeader>
126
+ </PrecompiledHeader>
127
+ <Optimization>MaxSpeed</Optimization>
128
+ <FunctionLevelLinking>true</FunctionLevelLinking>
129
+ <IntrinsicFunctions>true</IntrinsicFunctions>
130
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
131
+ <TreatWarningAsError>false</TreatWarningAsError>
132
+ <EnablePREfast>false</EnablePREfast>
133
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
134
+ </ClCompile>
135
+ <Link>
136
+ <SubSystem>Console</SubSystem>
137
+ <GenerateDebugInformation>true</GenerateDebugInformation>
138
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
139
+ <OptimizeReferences>true</OptimizeReferences>
140
+ </Link>
141
+ </ItemDefinitionGroup>
142
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
143
+ <ClCompile>
144
+ <WarningLevel>Level4</WarningLevel>
145
+ <PrecompiledHeader>
146
+ </PrecompiledHeader>
147
+ <Optimization>MaxSpeed</Optimization>
148
+ <FunctionLevelLinking>true</FunctionLevelLinking>
149
+ <IntrinsicFunctions>true</IntrinsicFunctions>
150
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
151
+ <TreatWarningAsError>false</TreatWarningAsError>
152
+ <EnablePREfast>true</EnablePREfast>
153
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
154
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
155
+ </ClCompile>
156
+ <Link>
157
+ <SubSystem>Console</SubSystem>
158
+ <GenerateDebugInformation>true</GenerateDebugInformation>
159
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
160
+ <OptimizeReferences>true</OptimizeReferences>
161
+ </Link>
162
+ </ItemDefinitionGroup>
163
+ <ItemGroup>
164
+ <ClCompile Include="..\..\..\lib\lz4.c" />
165
+ <ClCompile Include="..\..\..\lib\lz4frame.c" />
166
+ <ClCompile Include="..\..\..\lib\lz4hc.c" />
167
+ <ClCompile Include="..\..\..\lib\xxhash.c" />
168
+ <ClCompile Include="..\..\..\tests\fullbench.c" />
169
+ </ItemGroup>
170
+ <ItemGroup>
171
+ <ClInclude Include="..\..\..\lib\lz4.h" />
172
+ <ClInclude Include="..\..\..\lib\lz4frame.h" />
173
+ <ClInclude Include="..\..\..\lib\lz4frame_static.h" />
174
+ <ClInclude Include="..\..\..\lib\lz4hc.h" />
175
+ <ClInclude Include="..\..\..\lib\xxhash.h" />
176
+ </ItemGroup>
177
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
178
+ <ImportGroup Label="ExtensionTargets">
179
+ </ImportGroup>
180
+ </Project>
@@ -0,0 +1,184 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Debug|x64">
9
+ <Configuration>Debug</Configuration>
10
+ <Platform>x64</Platform>
11
+ </ProjectConfiguration>
12
+ <ProjectConfiguration Include="Release|Win32">
13
+ <Configuration>Release</Configuration>
14
+ <Platform>Win32</Platform>
15
+ </ProjectConfiguration>
16
+ <ProjectConfiguration Include="Release|x64">
17
+ <Configuration>Release</Configuration>
18
+ <Platform>x64</Platform>
19
+ </ProjectConfiguration>
20
+ </ItemGroup>
21
+ <PropertyGroup Label="Globals">
22
+ <ProjectGuid>{13992FD2-077E-4954-B065-A428198201A9}</ProjectGuid>
23
+ <Keyword>Win32Proj</Keyword>
24
+ <RootNamespace>fullbench-dll</RootNamespace>
25
+ <OutDir>$(SolutionDir)bin\$(Platform)_$(Configuration)\</OutDir>
26
+ <IntDir>$(SolutionDir)bin\obj\$(RootNamespace)_$(Platform)_$(Configuration)\</IntDir>
27
+ </PropertyGroup>
28
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
29
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
30
+ <ConfigurationType>Application</ConfigurationType>
31
+ <UseDebugLibraries>true</UseDebugLibraries>
32
+ <CharacterSet>Unicode</CharacterSet>
33
+ <PlatformToolset>v143</PlatformToolset>
34
+ </PropertyGroup>
35
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
36
+ <ConfigurationType>Application</ConfigurationType>
37
+ <UseDebugLibraries>true</UseDebugLibraries>
38
+ <CharacterSet>Unicode</CharacterSet>
39
+ <PlatformToolset>v143</PlatformToolset>
40
+ </PropertyGroup>
41
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
42
+ <ConfigurationType>Application</ConfigurationType>
43
+ <UseDebugLibraries>false</UseDebugLibraries>
44
+ <CharacterSet>Unicode</CharacterSet>
45
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
46
+ <PlatformToolset>v143</PlatformToolset>
47
+ </PropertyGroup>
48
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
49
+ <ConfigurationType>Application</ConfigurationType>
50
+ <UseDebugLibraries>false</UseDebugLibraries>
51
+ <CharacterSet>Unicode</CharacterSet>
52
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
53
+ <PlatformToolset>v143</PlatformToolset>
54
+ </PropertyGroup>
55
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
56
+ <ImportGroup Label="ExtensionSettings">
57
+ </ImportGroup>
58
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
59
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60
+ </ImportGroup>
61
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
62
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63
+ </ImportGroup>
64
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
65
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
66
+ </ImportGroup>
67
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
68
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
69
+ </ImportGroup>
70
+ <PropertyGroup Label="UserMacros" />
71
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
72
+ <LinkIncremental>true</LinkIncremental>
73
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
74
+ </PropertyGroup>
75
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
76
+ <LinkIncremental>true</LinkIncremental>
77
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
78
+ <RunCodeAnalysis>true</RunCodeAnalysis>
79
+ </PropertyGroup>
80
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
81
+ <LinkIncremental>false</LinkIncremental>
82
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
83
+ </PropertyGroup>
84
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
85
+ <LinkIncremental>false</LinkIncremental>
86
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
87
+ <RunCodeAnalysis>true</RunCodeAnalysis>
88
+ </PropertyGroup>
89
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
90
+ <ClCompile>
91
+ <PrecompiledHeader>
92
+ </PrecompiledHeader>
93
+ <WarningLevel>Level4</WarningLevel>
94
+ <Optimization>Disabled</Optimization>
95
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;LZ4_DLL_IMPORT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
96
+ <TreatWarningAsError>true</TreatWarningAsError>
97
+ <EnablePREfast>false</EnablePREfast>
98
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
99
+ </ClCompile>
100
+ <Link>
101
+ <SubSystem>Console</SubSystem>
102
+ <GenerateDebugInformation>true</GenerateDebugInformation>
103
+ <AdditionalLibraryDirectories>$(SolutionDir)bin\$(Platform)_$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
104
+ <AdditionalDependencies>liblz4.lib;%(AdditionalDependencies)</AdditionalDependencies>
105
+ </Link>
106
+ </ItemDefinitionGroup>
107
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
108
+ <ClCompile>
109
+ <PrecompiledHeader>
110
+ </PrecompiledHeader>
111
+ <WarningLevel>Level4</WarningLevel>
112
+ <Optimization>Disabled</Optimization>
113
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;LZ4_DLL_IMPORT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
114
+ <TreatWarningAsError>true</TreatWarningAsError>
115
+ <EnablePREfast>true</EnablePREfast>
116
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
117
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
118
+ </ClCompile>
119
+ <Link>
120
+ <SubSystem>Console</SubSystem>
121
+ <GenerateDebugInformation>true</GenerateDebugInformation>
122
+ <AdditionalLibraryDirectories>$(SolutionDir)bin\$(Platform)_$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
123
+ <AdditionalDependencies>liblz4.lib;%(AdditionalDependencies)</AdditionalDependencies>
124
+ </Link>
125
+ </ItemDefinitionGroup>
126
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
127
+ <ClCompile>
128
+ <WarningLevel>Level4</WarningLevel>
129
+ <PrecompiledHeader>
130
+ </PrecompiledHeader>
131
+ <Optimization>MaxSpeed</Optimization>
132
+ <FunctionLevelLinking>true</FunctionLevelLinking>
133
+ <IntrinsicFunctions>true</IntrinsicFunctions>
134
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;LZ4_DLL_IMPORT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
135
+ <TreatWarningAsError>false</TreatWarningAsError>
136
+ <EnablePREfast>false</EnablePREfast>
137
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
138
+ </ClCompile>
139
+ <Link>
140
+ <SubSystem>Console</SubSystem>
141
+ <GenerateDebugInformation>true</GenerateDebugInformation>
142
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
143
+ <OptimizeReferences>true</OptimizeReferences>
144
+ <AdditionalLibraryDirectories>$(SolutionDir)bin\$(Platform)_$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
145
+ <AdditionalDependencies>liblz4.lib;%(AdditionalDependencies)</AdditionalDependencies>
146
+ </Link>
147
+ </ItemDefinitionGroup>
148
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
149
+ <ClCompile>
150
+ <WarningLevel>Level4</WarningLevel>
151
+ <PrecompiledHeader>
152
+ </PrecompiledHeader>
153
+ <Optimization>MaxSpeed</Optimization>
154
+ <FunctionLevelLinking>true</FunctionLevelLinking>
155
+ <IntrinsicFunctions>true</IntrinsicFunctions>
156
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;LZ4_DLL_IMPORT=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
157
+ <TreatWarningAsError>false</TreatWarningAsError>
158
+ <EnablePREfast>true</EnablePREfast>
159
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
160
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
161
+ </ClCompile>
162
+ <Link>
163
+ <SubSystem>Console</SubSystem>
164
+ <GenerateDebugInformation>true</GenerateDebugInformation>
165
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
166
+ <OptimizeReferences>true</OptimizeReferences>
167
+ <AdditionalLibraryDirectories>$(SolutionDir)bin\$(Platform)_$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
168
+ <AdditionalDependencies>liblz4.lib;%(AdditionalDependencies)</AdditionalDependencies>
169
+ </Link>
170
+ </ItemDefinitionGroup>
171
+ <ItemGroup>
172
+ <ClCompile Include="..\..\..\lib\xxhash.c" />
173
+ <ClCompile Include="..\..\..\tests\fullbench.c" />
174
+ </ItemGroup>
175
+ <ItemGroup>
176
+ <ClInclude Include="..\..\..\lib\lz4.h" />
177
+ <ClInclude Include="..\..\..\lib\lz4frame.h" />
178
+ <ClInclude Include="..\..\..\lib\lz4hc.h" />
179
+ <ClInclude Include="..\..\..\lib\xxhash.h" />
180
+ </ItemGroup>
181
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
182
+ <ImportGroup Label="ExtensionTargets">
183
+ </ImportGroup>
184
+ </Project>
@@ -0,0 +1,177 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Debug|x64">
9
+ <Configuration>Debug</Configuration>
10
+ <Platform>x64</Platform>
11
+ </ProjectConfiguration>
12
+ <ProjectConfiguration Include="Release|Win32">
13
+ <Configuration>Release</Configuration>
14
+ <Platform>Win32</Platform>
15
+ </ProjectConfiguration>
16
+ <ProjectConfiguration Include="Release|x64">
17
+ <Configuration>Release</Configuration>
18
+ <Platform>x64</Platform>
19
+ </ProjectConfiguration>
20
+ </ItemGroup>
21
+ <PropertyGroup Label="Globals">
22
+ <ProjectGuid>{18B9F1A7-9C66-4352-898B-30804DADE0FD}</ProjectGuid>
23
+ <Keyword>Win32Proj</Keyword>
24
+ <RootNamespace>fuzzer</RootNamespace>
25
+ <OutDir>$(SolutionDir)bin\$(Platform)_$(Configuration)\</OutDir>
26
+ <IntDir>$(SolutionDir)bin\obj\$(RootNamespace)_$(Platform)_$(Configuration)\</IntDir>
27
+ </PropertyGroup>
28
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
29
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
30
+ <ConfigurationType>Application</ConfigurationType>
31
+ <UseDebugLibraries>true</UseDebugLibraries>
32
+ <CharacterSet>Unicode</CharacterSet>
33
+ <PlatformToolset>v143</PlatformToolset>
34
+ </PropertyGroup>
35
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
36
+ <ConfigurationType>Application</ConfigurationType>
37
+ <UseDebugLibraries>true</UseDebugLibraries>
38
+ <CharacterSet>Unicode</CharacterSet>
39
+ <PlatformToolset>v143</PlatformToolset>
40
+ </PropertyGroup>
41
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
42
+ <ConfigurationType>Application</ConfigurationType>
43
+ <UseDebugLibraries>false</UseDebugLibraries>
44
+ <CharacterSet>Unicode</CharacterSet>
45
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
46
+ <PlatformToolset>v143</PlatformToolset>
47
+ </PropertyGroup>
48
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
49
+ <ConfigurationType>Application</ConfigurationType>
50
+ <UseDebugLibraries>false</UseDebugLibraries>
51
+ <CharacterSet>Unicode</CharacterSet>
52
+ <WholeProgramOptimization Condition="'$(EnableWholeProgramOptimization)'=='true'">true</WholeProgramOptimization>
53
+ <PlatformToolset>v143</PlatformToolset>
54
+ </PropertyGroup>
55
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
56
+ <ImportGroup Label="ExtensionSettings">
57
+ </ImportGroup>
58
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
59
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60
+ </ImportGroup>
61
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
62
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63
+ </ImportGroup>
64
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
65
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
66
+ </ImportGroup>
67
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
68
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
69
+ </ImportGroup>
70
+ <PropertyGroup Label="UserMacros" />
71
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
72
+ <LinkIncremental>true</LinkIncremental>
73
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
74
+ </PropertyGroup>
75
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
76
+ <LinkIncremental>true</LinkIncremental>
77
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
78
+ <RunCodeAnalysis>true</RunCodeAnalysis>
79
+ </PropertyGroup>
80
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
81
+ <LinkIncremental>false</LinkIncremental>
82
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
83
+ </PropertyGroup>
84
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
85
+ <LinkIncremental>false</LinkIncremental>
86
+ <IncludePath>$(IncludePath);$(UniversalCRT_IncludePath);$(SolutionDir)..\..\lib;$(SolutionDir)..\..\programs;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
87
+ <RunCodeAnalysis>true</RunCodeAnalysis>
88
+ </PropertyGroup>
89
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
90
+ <ClCompile>
91
+ <PrecompiledHeader>
92
+ </PrecompiledHeader>
93
+ <WarningLevel>Level4</WarningLevel>
94
+ <Optimization>Disabled</Optimization>
95
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
96
+ <TreatWarningAsError>true</TreatWarningAsError>
97
+ <EnablePREfast>false</EnablePREfast>
98
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
99
+ </ClCompile>
100
+ <Link>
101
+ <SubSystem>Console</SubSystem>
102
+ <GenerateDebugInformation>true</GenerateDebugInformation>
103
+ </Link>
104
+ </ItemDefinitionGroup>
105
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
106
+ <ClCompile>
107
+ <PrecompiledHeader>
108
+ </PrecompiledHeader>
109
+ <WarningLevel>Level4</WarningLevel>
110
+ <Optimization>Disabled</Optimization>
111
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
112
+ <TreatWarningAsError>true</TreatWarningAsError>
113
+ <EnablePREfast>true</EnablePREfast>
114
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
115
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreadedDebug</RuntimeLibrary>
116
+ </ClCompile>
117
+ <Link>
118
+ <SubSystem>Console</SubSystem>
119
+ <GenerateDebugInformation>true</GenerateDebugInformation>
120
+ </Link>
121
+ </ItemDefinitionGroup>
122
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
123
+ <ClCompile>
124
+ <WarningLevel>Level4</WarningLevel>
125
+ <PrecompiledHeader>
126
+ </PrecompiledHeader>
127
+ <Optimization>MaxSpeed</Optimization>
128
+ <FunctionLevelLinking>true</FunctionLevelLinking>
129
+ <IntrinsicFunctions>true</IntrinsicFunctions>
130
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
131
+ <TreatWarningAsError>false</TreatWarningAsError>
132
+ <EnablePREfast>false</EnablePREfast>
133
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
134
+ </ClCompile>
135
+ <Link>
136
+ <SubSystem>Console</SubSystem>
137
+ <GenerateDebugInformation>true</GenerateDebugInformation>
138
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
139
+ <OptimizeReferences>true</OptimizeReferences>
140
+ </Link>
141
+ </ItemDefinitionGroup>
142
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
143
+ <ClCompile>
144
+ <WarningLevel>Level4</WarningLevel>
145
+ <PrecompiledHeader>
146
+ </PrecompiledHeader>
147
+ <Optimization>MaxSpeed</Optimization>
148
+ <FunctionLevelLinking>true</FunctionLevelLinking>
149
+ <IntrinsicFunctions>true</IntrinsicFunctions>
150
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
151
+ <TreatWarningAsError>false</TreatWarningAsError>
152
+ <EnablePREfast>true</EnablePREfast>
153
+ <AdditionalOptions>/analyze:stacksize295252 %(AdditionalOptions)</AdditionalOptions>
154
+ <RuntimeLibrary Condition="'$(UseStaticCRT)'=='true'">MultiThreaded</RuntimeLibrary>
155
+ </ClCompile>
156
+ <Link>
157
+ <SubSystem>Console</SubSystem>
158
+ <GenerateDebugInformation>true</GenerateDebugInformation>
159
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
160
+ <OptimizeReferences>true</OptimizeReferences>
161
+ </Link>
162
+ </ItemDefinitionGroup>
163
+ <ItemGroup>
164
+ <ClCompile Include="..\..\..\lib\lz4.c" />
165
+ <ClCompile Include="..\..\..\lib\lz4hc.c" />
166
+ <ClCompile Include="..\..\..\lib\xxhash.c" />
167
+ <ClCompile Include="..\..\..\tests\fuzzer.c" />
168
+ </ItemGroup>
169
+ <ItemGroup>
170
+ <ClInclude Include="..\..\..\lib\lz4.h" />
171
+ <ClInclude Include="..\..\..\lib\lz4hc.h" />
172
+ <ClInclude Include="..\..\..\lib\xxhash.h" />
173
+ </ItemGroup>
174
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
175
+ <ImportGroup Label="ExtensionTargets">
176
+ </ImportGroup>
177
+ </Project>