Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Dec 15, 2020

This is not an actual fuzz target. It is a hack to exploit the built-in capability of fuzz engines to measure coverage.

@maflcko
Copy link
Member Author

maflcko commented Dec 15, 2020

@maflcko
Copy link
Member Author

maflcko commented Dec 15, 2020

Can be tested by running PRINT_ALL_FUZZ_TARGETS_AND_ABORT=1 ./src/test/fuzz/fuzz | grep min | wc and observing zeros

@sipa
Copy link
Member

sipa commented Dec 15, 2020

Wouldn't it be better to leave it as-is, and just exclude it from being listed, or exclude it test-runner.py? That way you don't need to modify the source code in order to use it.

@DrahtBot DrahtBot added the Tests label Dec 15, 2020
@maflcko maflcko changed the title fuzz: Leave script_assets_test_minimizer unregistered fuzz: Hide script_assets_test_minimizer Dec 16, 2020
@maflcko maflcko force-pushed the 2012-fuzzNoReg branch 2 times, most recently from faa2f9e to fa857db Compare December 16, 2020 12:53
@practicalswift
Copy link
Contributor

Concept ACK: thanks for addressing this!

@DrahtBot
Copy link
Contributor

DrahtBot commented Dec 21, 2020

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

No conflicts as of last run.

@practicalswift
Copy link
Contributor

cr ACK fac726b: patch looks correct and touches only src/test/fuzz/

@maflcko maflcko merged commit b69eab9 into bitcoin:master Feb 11, 2021
@maflcko maflcko deleted the 2012-fuzzNoReg branch February 11, 2021 07:03
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Feb 11, 2021
fac726b doc: Fixup docs in fuzz/script_assets_test_minimizer.cpp (MarcoFalke)
fafca47 fuzz: Hide script_assets_test_minimizer (MarcoFalke)

Pull request description:

  This is not an actual fuzz target. It is a hack to exploit the built-in capability of fuzz engines to measure coverage.

ACKs for top commit:
  practicalswift:
    cr ACK fac726b: patch looks correct and touches only `src/test/fuzz/`

Tree-SHA512: 0652dd8d9e95746b0906be4044467435d8204a34a30366ae9bdb75b9cb0788d429db7cedf2760fd543565d9d4f7ee206873ed10a29dd715a792a26337f65b53c
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants