Page MenuHomePhabricator

[backport#17291] tests: Add fuzzing harness for ISO-8601 related functions
ClosedPublic

Authored by majcosta on Fri, Jul 10, 19:37.

Details

Summary

595cc9bcafb16709c0dd4a36d5921feb009ce430 docs: Add undefined to --with-sanitizers=fuzzer,address (practicalswift)
d5dbb4898c437d3d2a5798d79c3986ba9e0b72f9 tests: Add fuzzing harness for ISO-8601 related functions (practicalswift)

Pull request description:

Add fuzzing harness for ISO-8601 related functions.

**Testing this PR**

Run:

```
$ CC=clang CXX=clang++ ./configure --enable-fuzz \
      --with-sanitizers=address,fuzzer,undefined
$ make
$ src/test/fuzz/parse_iso8601
…
```

Depends on D6896

Backport of Core PR17291

Test Plan
cmake -GNinja .. -DENABLE_SANITIZERS="address;fuzzer" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
ninja bitcoin-fuzzers
./src/test/fuzz/parse_iso8601

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

majcosta created this revision.Fri, Jul 10, 19:37
Herald added a reviewer: Restricted Project. · View Herald TranscriptFri, Jul 10, 19:37
majcosta requested review of this revision.Fri, Jul 10, 19:37
teamcity edited the summary of this revision. (Show Details)Fri, Jul 10, 19:37

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

deadalnix accepted this revision.Fri, Jul 10, 22:42
This revision is now accepted and ready to land.Fri, Jul 10, 22:42
This revision was landed with ongoing or failed builds.Mon, Jul 13, 19:10
This revision was automatically updated to reflect the committed changes.