build: build fuzz tests by default.

build: build fuzz tests by default.

This fixes issue #19388. The changes are as follows:
  - Add a new flag to configure, --enable-fuzz-binary, which allows building test/fuzz/fuzz regardless of whether we are building to do actual fuzzing
  - Set -DPROVIDE_MAIN_FUNCTION whenever --enable-fuzz is no
  - Add the following libraries to FUZZ_SUITE_LD_COMMON:
    - LIBBITCOIN_WALLET
    - SQLLITE_LIBS
    - BDB_LIBS
    - if necessary, some or all of:
      - NATPMP_LIBS
      - MINIUPNPC_LIBS
      - LIBBITCOIN_ZMQ / ZMQ_LIBS

情報元 - build: build fuzz tests by default. · bitcoin/[email protected] · GitHub

build: build fuzz tests by default. · bitcoin/bitcoin@32cbb06 · GitHub
スポンサーリンク

シェアする

フォローする

スポンサーリンク

トップへ戻る