On master (6b254814c076054eedc4311698d16c8971937814):
```
...
  CXX      test/fuzz/fuzz-addition_overflow.o
  CXX      test/fuzz/fuzz-addrdb.o
  CXX      test/fuzz/fuzz-addrman.o
  CXX      test/fuzz/fuzz-asmap.o
  CXX      test/fuzz/fuzz-asmap_direct.o
  CXX      test/fuzz/fuzz-autofile.o
  CXX      test/fuzz/fuzz-banman.o
In file included from test/fuzz/addition_overflow.cpp:7:
./test/fuzz/util.h:388:15: error: unknown type name 'cookie_io_functions_t'
        const cookie_io_functions_t io_hooks = {
              ^
  CXX      test/fuzz/fuzz-base_encode_decode.o
In file included from test/fuzz/addrdb.cpp:8:
./test/fuzz/util.h:388:15: error: unknown type name 'cookie_io_functions_t'
        const cookie_io_functions_t io_hooks = {
              ^
  CXX      test/fuzz/fuzz-bech32.o
1 error generated.
In file included from test/fuzz/addrman.cpp:11:
./test/fuzz/util.h:388:15: error: unknown type name 'cookie_io_functions_t'
        const cookie_io_functions_t io_hooks = {
              ^
make[2]: *** [Makefile:13071: test/fuzz/fuzz-addition_overflow.o] Error 1
make[2]: *** Waiting for unfinished jobs....
1 error generated.
make[2]: *** [Makefile:13085: test/fuzz/fuzz-addrdb.o] Error 1
1 error generated.
make[2]: *** [Makefile:13099: test/fuzz/fuzz-addrman.o] Error 1
In file included from test/fuzz/autofile.cpp:8:
./test/fuzz/util.h:388:15: error: unknown type name 'cookie_io_functions_t'
        const cookie_io_functions_t io_hooks = {
              ^
In file included from test/fuzz/banman.cpp:10:
./test/fuzz/util.h:388:15: error: unknown type name 'cookie_io_functions_t'
        const cookie_io_functions_t io_hooks = {
              ^
1 error generated.
make[2]: *** [Makefile:13141: test/fuzz/fuzz-autofile.o] Error 1
1 error generated.
make[2]: *** [Makefile:13155: test/fuzz/fuzz-banman.o] Error 1
make[2]: Leaving directory '/home/hebasto/GitHub/gui/src'
make[1]: *** [Makefile:16016: all-recursive] Error 1
make[1]: Leaving directory '/home/hebasto/GitHub/gui/src'
make: *** [Makefile:820: all-recursive] Error 1
```

I'm not an expert in Android SDK/NDK peculiarities, so leaving this for more knowledgeable people :)
        }
        const std::vector<uint8_t> random_bytes = fuzzed_file->m_fuzzed_data_provider.ConsumeBytes<uint8_t>(size);
        if (random_bytes.empty()) {
            return 0;
        }
        std::memcpy(buf, random_bytes.data(), random_bytes.size());
        if (AdditionOverflow(fuzzed_file->m_offset, (int64_t)random_bytes.size())) {
            return fuzzed_file->m_fuzzed_data_provider.ConsumeBool() ? 0 : -1;
        }
        fuzzed_file->m_offset += random_bytes.size();
        return random_bytes.size();
    }
    static ssize_t write(void* cookie, const char* buf, size_t size)
    {
        FuzzedFileProvider* fuzzed_file = (FuzzedFileProvider*)cookie;
        SetFuzzedErrNo(fuzzed_file->m_fuzzed_data_provider);
        const ssize_t n = fuzzed_file->m_fuzzed_data_provider.ConsumeIntegralInRange<ssize_t>(0, size);
        if (AdditionOverflow(fuzzed_file->m_offset, (int64_t)n)) {
            return fuzzed_file->m_fuzzed_data_provider.ConsumeBool() ? 0 : -1;
        }
        fuzzed_file->m_offset += n;
        return n;
    }
    static int seek(void* cookie, int64_t* offset, int whence)
    {
        assert(whence == SEEK_SET || whence == SEEK_CUR || whence == SEEK_END);
        FuzzedFileProvider* fuzzed_file = (FuzzedFileProvider*)cookie;
        SetFuzzedErrNo(fuzzed_file->m_fuzzed_data_provider);
        int64_t new_offset = 0;
        if (whence == SEEK_SET) {
            new_offset = *offset;
        } else if (whence == SEEK_CUR) {
            if (AdditionOverflow(fuzzed_file->m_offset, *offset)) {
                return -1;
            }
            new_offset = fuzzed_file->m_offset + *offset;
        } else if (whence == SEEK_END) {
            const int64_t n = fuzzed_file->m_fuzzed_data_provider.ConsumeIntegralInRange<int64_t>(0, 4096);
            if (AdditionOverflow(n, *offset)) {
                return -1;
            }
            new_offset = n + *offset;
        }
        if (new_offset < 0) {
            return -1;
        }
    