Page MenuHomePhabricator

fuzz: Add fuzzing harness for Socks5(...)
ClosedPublic

Authored by PiRK on Nov 14 2024, 11:31.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC5bea016076f0: fuzz: Add fuzzing harness for Socks5(...)
Summary

This is a backport of core#19203, core#21328, core#20812 (for PickValueInArray((const std::array<T, size> &array)) and core#21371

with changes from:

Test Plan

ninja bitcoin-fuzzers

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Nov 14 2024, 11:31
Fabien requested changes to this revision.Nov 14 2024, 13:17
Fabien added a subscriber: Fabien.

I think the backports are not correct for this diff, none of the netbase changes are from the listed commits afaict

This revision now requires changes to proceed.Nov 14 2024, 13:17

I missed the main one: core#19203
I added it to the summary

PiRK requested review of this revision.Nov 14 2024, 13:34
src/test/fuzz/util.h
582 ↗(On Diff #50854)

Is that still used ?

src/test/fuzz/util.h
582 ↗(On Diff #50854)

It is still used, yes. i2p.cpp has it for example (if (m_control_sock->Get() != INVALID_SOCKET))

It will be removed in core#26312

This revision is now accepted and ready to land.Nov 14 2024, 14:05