-
Notifications
You must be signed in to change notification settings - Fork 39k
build: Enable fuzz binary in MSVC #29774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
09f5a74
fuzz: Re-implement `read_stdin` in portable way
hebasto 4c078d7
build, msvc: Enable preprocessor conformance mode
hebasto 19dcedd
build, msvc: Build `fuzz.exe` binary
hebasto 23cb820
ci, msvc: Add "Clone fuzz corpus" step
hebasto 52933d7
fuzz: Pass `SystemRoot` environment variable to subprocess
hebasto 18fd522
ci, msvc: Add "Run fuzz binaries" step
hebasto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,91 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| <Import Project="..\common.init.vcxproj" /> | ||
| <PropertyGroup Label="Globals"> | ||
| <ProjectGuid>{AFCEE6C1-89FB-49AB-A694-BA580A59E2D8}</ProjectGuid> | ||
| </PropertyGroup> | ||
| <PropertyGroup Label="Configuration"> | ||
| <ConfigurationType>Application</ConfigurationType> | ||
| <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | ||
| </PropertyGroup> | ||
| <ItemGroup> | ||
| <!-- TODO: Fix the code and remove bitdeque.cpp and miniscript.cpp exclusion. --> | ||
| <ClCompile Include="..\..\src\test\fuzz\*.cpp" Exclude="..\..\src\test\fuzz\bitdeque.cpp;..\..\src\test\fuzz\miniscript.cpp" /> | ||
| <ClCompile Include="..\..\src\test\fuzz\util\descriptor.cpp"> | ||
| <ObjectFileName>$(IntDir)test_fuzz_util_descriptor.obj</ObjectFileName> | ||
| </ClCompile> | ||
| <ClCompile Include="..\..\src\test\fuzz\util\mempool.cpp"> | ||
| <ObjectFileName>$(IntDir)test_fuzz_util_mempool.obj</ObjectFileName> | ||
| </ClCompile> | ||
| <ClCompile Include="..\..\src\test\fuzz\util\net.cpp"> | ||
| <ObjectFileName>$(IntDir)test_fuzz_util_net.obj</ObjectFileName> | ||
| </ClCompile> | ||
| <ClCompile Include="..\..\src\wallet\test\fuzz\coincontrol.cpp"> | ||
| <ObjectFileName>$(IntDir)wallet_test_fuzz_coincontrol.obj</ObjectFileName> | ||
| </ClCompile> | ||
| <ClCompile Include="..\..\src\wallet\test\fuzz\coinselection.cpp"> | ||
| <ObjectFileName>$(IntDir)wallet_test_fuzz_coinselection.obj</ObjectFileName> | ||
| </ClCompile> | ||
| <ClCompile Include="..\..\src\wallet\test\fuzz\fees.cpp"> | ||
| <ObjectFileName>$(IntDir)wallet_test_fuzz_fees.obj</ObjectFileName> | ||
| </ClCompile> | ||
| <ClCompile Include="..\..\src\wallet\test\fuzz\notifications.cpp"> | ||
| <ObjectFileName>$(IntDir)wallet_test_fuzz_notifications.obj</ObjectFileName> | ||
| </ClCompile> | ||
| <ClCompile Include="..\..\src\wallet\test\fuzz\parse_iso8601.cpp"> | ||
| <ObjectFileName>$(IntDir)wallet_test_fuzz_parse_iso8601.obj</ObjectFileName> | ||
| </ClCompile> | ||
| <ClCompile Include="..\..\src\wallet\test\fuzz\scriptpubkeyman.cpp"> | ||
| <ObjectFileName>$(IntDir)wallet_test_fuzz_scriptpubkeyman.obj</ObjectFileName> | ||
| </ClCompile> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
| <ProjectReference Include="..\libminisketch\libminisketch.vcxproj"> | ||
| <Project>{542007e3-be0d-4b0d-a6b0-aa8813e2558d}</Project> | ||
| </ProjectReference> | ||
| <ProjectReference Include="..\libbitcoin_consensus\libbitcoin_consensus.vcxproj"> | ||
| <Project>{2b384fa8-9ee1-4544-93cb-0d733c25e8ce}</Project> | ||
| </ProjectReference> | ||
| <ProjectReference Include="..\libbitcoin_cli\libbitcoin_cli.vcxproj"> | ||
| <Project>{0667528c-d734-4009-adf9-c0d6c4a5a5a6}</Project> | ||
| </ProjectReference> | ||
| <ProjectReference Include="..\libbitcoin_common\libbitcoin_common.vcxproj"> | ||
| <Project>{7c87e378-df58-482e-aa2f-1bc129bc19ce}</Project> | ||
| </ProjectReference> | ||
| <ProjectReference Include="..\libbitcoin_crypto\libbitcoin_crypto.vcxproj"> | ||
| <Project>{6190199c-6cf4-4dad-bfbd-93fa72a760c1}</Project> | ||
| </ProjectReference> | ||
| <ProjectReference Include="..\libbitcoin_node\libbitcoin_node.vcxproj"> | ||
| <Project>{460fee33-1fe1-483f-b3bf-931ff8e969a5}</Project> | ||
| </ProjectReference> | ||
| <ProjectReference Include="..\libbitcoin_util\libbitcoin_util.vcxproj"> | ||
| <Project>{b53a5535-ee9d-4c6f-9a26-f79ee3bc3754}</Project> | ||
| </ProjectReference> | ||
| <ProjectReference Include="..\libbitcoin_wallet\libbitcoin_wallet.vcxproj"> | ||
| <Project>{93b86837-b543-48a5-a89b-7c87abb77df2}</Project> | ||
| </ProjectReference> | ||
| <ProjectReference Include="..\libbitcoin_zmq\libbitcoin_zmq.vcxproj"> | ||
| <Project>{792d487f-f14c-49fc-a9de-3fc150f31c3f}</Project> | ||
| </ProjectReference> | ||
| <ProjectReference Include="..\libtest_util\libtest_util.vcxproj"> | ||
| <Project>{1e065f03-3566-47d0-8fa9-daa72b084e7d}</Project> | ||
| </ProjectReference> | ||
| <ProjectReference Include="..\libunivalue\libunivalue.vcxproj"> | ||
| <Project>{5724ba7d-a09a-4ba8-800b-c4c1561b3d69}</Project> | ||
| </ProjectReference> | ||
| <ProjectReference Include="..\libsecp256k1\libsecp256k1.vcxproj"> | ||
| <Project>{bb493552-3b8c-4a8c-bf69-a6e7a51d2ea6}</Project> | ||
| </ProjectReference> | ||
| <ProjectReference Include="..\libleveldb\libleveldb.vcxproj"> | ||
| <Project>{18430fef-6b61-4c53-b396-718e02850f1b}</Project> | ||
| </ProjectReference> | ||
| </ItemGroup> | ||
| <ItemDefinitionGroup> | ||
| <ClCompile> | ||
| <DisableSpecificWarnings>4018;4244;4267;4334;4715;4805</DisableSpecificWarnings> | ||
| </ClCompile> | ||
| </ItemDefinitionGroup> | ||
| <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
| <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
| <Import Project="..\common.vcxproj" /> | ||
| </Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.