Page MenuHomePhabricator

Add bitdeque, an std::deque<bool> analogue that does bit packing.
ClosedPublic

Authored by PiRK on Jan 10 2024, 08:42.

Details

Summary
Test Plan

ninja all check-all

Run the fuzzer

cmake -GNinja .. \
  -DCMAKE_C_COMPILER=clang \
  -DCMAKE_CXX_COMPILER=clang++ \
  -DENABLE_SANITIZERS="fuzzer;address;undefined"
ninja bitcoin-fuzzers
export DIR_FUZZ_IN=~/dev/qa-assets/fuzz_seed_corpus
./test/fuzz/test_runner.py -g ${DIR_FUZZ_IN} bitdeque

Diff Detail

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

Event Timeline

PiRK requested review of this revision.Jan 10 2024, 08:42
Fabien requested changes to this revision.Jan 10 2024, 16:51
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/test/util_tests.cpp
16 ↗(On Diff #44012)

So we know it builds, but still there is no test. We should really catch up on the fuzzer, or write some tests for this class

This revision now requires changes to proceed.Jan 10 2024, 16:51
This revision is now accepted and ready to land.Jan 15 2024, 17:33