/dports/www/chromium-legacy/chromium-88.0.4324.182/components/zucchini/ |
H A D | zucchini_commands.cc | 39 zucchini::status::Code MainGen(MainParams params) { in MainGen() 41 return zucchini::Generate( in MainGen() 64 return zucchini::status::kStatusFileReadError; in MainRead() 68 zucchini::status::Code status = zucchini::ReadReferences( in MainRead() 70 if (status != zucchini::status::kStatusSuccess) in MainRead() 84 return zucchini::status::kStatusFileReadError; in MainDetect() 88 zucchini::status::Code result = zucchini::DetectAll( in MainDetect() 90 if (result != zucchini::status::kStatusSuccess) in MainDetect() 117 zucchini::status::Code status = in MainMatch() 121 if (status != zucchini::status::kStatusSuccess) in MainMatch() [all …]
|
H A D | zucchini_commands.h | 31 using CommandFunction = zucchini::status::Code (*)(MainParams); 34 zucchini::status::Code MainGen(MainParams params); 37 zucchini::status::Code MainApply(MainParams params); 40 zucchini::status::Code MainRead(MainParams params); 43 zucchini::status::Code MainDetect(MainParams params); 46 zucchini::status::Code MainMatch(MainParams params); 49 zucchini::status::Code MainCrc32(MainParams params);
|
H A D | BUILD.gn | 100 "zucchini.h", 129 executable("zucchini") { 227 "//components/zucchini/fuzzers:zucchini_disassembler_dex_fuzzer", 228 "//components/zucchini/fuzzers:zucchini_disassembler_win32_fuzzer", 229 "//components/zucchini/fuzzers:zucchini_patch_fuzzer", 236 "//components/zucchini/fuzzers:zucchini_apply_fuzzer", 237 "//components/zucchini/fuzzers:zucchini_imposed_ensemble_matcher_fuzzer", 238 "//components/zucchini/fuzzers:zucchini_raw_gen_fuzzer", 239 "//components/zucchini/fuzzers:zucchini_ztf_gen_fuzzer",
|
H A D | zucchini_main.cc | 48 zucchini::status::Code status = in main() 50 if (!(status == zucchini::status::kStatusSuccess || in main() 51 status == zucchini::status::kStatusInvalidParam)) { in main()
|
H A D | mapped_file.h | 19 namespace zucchini { 30 zucchini::ConstBufferView region() const { return {data(), length()}; } in region() 56 zucchini::MutableBufferView region() { return {data(), length()}; } in region()
|
H A D | main_utils.cc | 218 zucchini::status::Code RunZucchiniCommand(const base::CommandLine& command_line, in RunZucchiniCommand() 237 zucchini::PrefixSep sep(", "); in RunZucchiniCommand() 242 return zucchini::status::kStatusInvalidParam; in RunZucchiniCommand() 250 return zucchini::status::kStatusInvalidParam; in RunZucchiniCommand()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/zucchini/ |
H A D | zucchini_commands.cc | 39 zucchini::status::Code MainGen(MainParams params) { in MainGen() 41 return zucchini::Generate( in MainGen() 63 return zucchini::status::kStatusFileReadError; in MainRead() 67 zucchini::status::Code status = zucchini::ReadReferences( in MainRead() 69 if (status != zucchini::status::kStatusSuccess) in MainRead() 82 return zucchini::status::kStatusFileReadError; in MainDetect() 86 zucchini::status::Code result = zucchini::DetectAll( in MainDetect() 88 if (result != zucchini::status::kStatusSuccess) in MainDetect() 113 zucchini::status::Code status = in MainMatch() 117 if (status != zucchini::status::kStatusSuccess) in MainMatch() [all …]
|
H A D | zucchini_commands.h | 31 using CommandFunction = zucchini::status::Code (*)(MainParams); 34 zucchini::status::Code MainGen(MainParams params); 37 zucchini::status::Code MainApply(MainParams params); 40 zucchini::status::Code MainRead(MainParams params); 43 zucchini::status::Code MainDetect(MainParams params); 46 zucchini::status::Code MainMatch(MainParams params); 49 zucchini::status::Code MainCrc32(MainParams params);
|
H A D | BUILD.gn | 100 "zucchini.h", 129 executable("zucchini") { 227 "//components/zucchini/fuzzers:zucchini_disassembler_dex_fuzzer", 228 "//components/zucchini/fuzzers:zucchini_disassembler_win32_fuzzer", 229 "//components/zucchini/fuzzers:zucchini_patch_fuzzer", 236 "//components/zucchini/fuzzers:zucchini_apply_fuzzer", 237 "//components/zucchini/fuzzers:zucchini_imposed_ensemble_matcher_fuzzer", 238 "//components/zucchini/fuzzers:zucchini_raw_gen_fuzzer", 239 "//components/zucchini/fuzzers:zucchini_ztf_gen_fuzzer",
|
H A D | zucchini_main.cc | 48 zucchini::status::Code status = in main() 50 if (!(status == zucchini::status::kStatusSuccess || in main() 51 status == zucchini::status::kStatusInvalidParam)) { in main()
|
H A D | mapped_file.h | 19 namespace zucchini { 30 zucchini::ConstBufferView region() const { return {data(), length()}; } in region() 56 zucchini::MutableBufferView region() { return {data(), length()}; } in region()
|
H A D | main_utils.cc | 218 zucchini::status::Code RunZucchiniCommand(const base::CommandLine& command_line, in RunZucchiniCommand() 237 zucchini::PrefixSep sep(", "); in RunZucchiniCommand() 242 return zucchini::status::kStatusInvalidParam; in RunZucchiniCommand() 250 return zucchini::status::kStatusInvalidParam; in RunZucchiniCommand()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/zucchini/fuzzers/ |
H A D | disassembler_elf_fuzzer.cc | 28 zucchini::ConstBufferView image(mutable_data.data(), mutable_data.size()); in LLVMFuzzerTestOneInput() 32 zucchini::Disassembler::Make<zucchini::DisassemblerElfX64>(image); in LLVMFuzzerTestOneInput() 34 zucchini::ReadAndWriteReferences(std::move(disassembler_elf_x64), in LLVMFuzzerTestOneInput() 40 zucchini::Disassembler::Make<zucchini::DisassemblerElfX86>(image); in LLVMFuzzerTestOneInput() 42 zucchini::ReadAndWriteReferences(std::move(disassembler_elf_x86), in LLVMFuzzerTestOneInput()
|
H A D | disassembler_win32_fuzzer.cc | 35 zucchini::ConstBufferView image(mutable_data.data(), mutable_data.size()); in LLVMFuzzerTestOneInput() 39 zucchini::Disassembler::Make<zucchini::DisassemblerWin32X86>(image); in LLVMFuzzerTestOneInput() 41 zucchini::ReadAndWriteReferences(std::move(disassembler_win32x86), in LLVMFuzzerTestOneInput() 47 zucchini::Disassembler::Make<zucchini::DisassemblerWin32X64>(image); in LLVMFuzzerTestOneInput() 49 zucchini::ReadAndWriteReferences(std::move(disassembler_win32x64), in LLVMFuzzerTestOneInput()
|
H A D | BUILD.gn | 16 "//components/zucchini:zucchini_lib", 28 "//components/zucchini:zucchini_lib", 41 "//components/zucchini:zucchini_lib", 54 "//components/zucchini:zucchini_lib", 62 "//components/zucchini:zucchini_lib", 106 "//components/zucchini:zucchini", 142 "//components/zucchini:zucchini", 153 "//components/zucchini:zucchini_lib", 176 "//components/zucchini:zucchini_lib", 191 "//components/zucchini:zucchini_lib", [all …]
|
H A D | fuzz_utils.cc | 13 namespace zucchini { namespace 16 std::unique_ptr<zucchini::Disassembler> disassembler, in ReadAndWriteReferences() 18 zucchini::MutableBufferView mutable_image(mutable_data->data(), in ReadAndWriteReferences() 20 std::vector<zucchini::Reference> references; in ReadAndWriteReferences() 22 std::map<zucchini::PoolTag, std::vector<zucchini::Reference>> in ReadAndWriteReferences() 26 std::vector<zucchini::Reference>* refs = in ReadAndWriteReferences()
|
H A D | apply_fuzzer.cc | 27 DEFINE_BINARY_PROTO_FUZZER(const zucchini::fuzzers::FilePair& file_pair) { in DEFINE_BINARY_PROTO_FUZZER() 35 zucchini::ConstBufferView old_image( in DEFINE_BINARY_PROTO_FUZZER() 38 zucchini::ConstBufferView patch_file( in DEFINE_BINARY_PROTO_FUZZER() 43 auto patch_reader = zucchini::EnsemblePatchReader::Create(patch_file); in DEFINE_BINARY_PROTO_FUZZER() 54 zucchini::MutableBufferView new_image(new_data.data(), new_size); in DEFINE_BINARY_PROTO_FUZZER() 57 zucchini::ApplyBuffer(old_image, *patch_reader, new_image); in DEFINE_BINARY_PROTO_FUZZER()
|
H A D | ztf_gen_fuzzer.cc | 34 DEFINE_BINARY_PROTO_FUZZER(const zucchini::fuzzers::FilePair& file_pair) { in DEFINE_BINARY_PROTO_FUZZER() 43 zucchini::ConstBufferView old_image( in DEFINE_BINARY_PROTO_FUZZER() 46 zucchini::ConstBufferView new_image( in DEFINE_BINARY_PROTO_FUZZER() 57 zucchini::EnsemblePatchWriter patch_writer(old_image, new_image); in DEFINE_BINARY_PROTO_FUZZER() 60 zucchini::GenerateBuffer(old_image, new_image, &patch_writer); in DEFINE_BINARY_PROTO_FUZZER() 65 zucchini::BufferSink patch(patch_data.get(), patch_size); in DEFINE_BINARY_PROTO_FUZZER()
|
H A D | imposed_ensemble_matcher_fuzzer.cc | 32 DEFINE_BINARY_PROTO_FUZZER(const zucchini::fuzzers::FilePair& file_pair) { in DEFINE_BINARY_PROTO_FUZZER() 42 zucchini::ConstBufferView old_image( in DEFINE_BINARY_PROTO_FUZZER() 45 zucchini::ConstBufferView new_image( in DEFINE_BINARY_PROTO_FUZZER() 56 zucchini::EnsemblePatchWriter patch_writer(old_image, new_image); in DEFINE_BINARY_PROTO_FUZZER() 59 zucchini::GenerateBufferImposed(old_image, new_image, in DEFINE_BINARY_PROTO_FUZZER() 65 zucchini::BufferSink patch(patch_data.get(), patch_size); in DEFINE_BINARY_PROTO_FUZZER()
|
H A D | raw_gen_fuzzer.cc | 34 DEFINE_BINARY_PROTO_FUZZER(const zucchini::fuzzers::FilePair& file_pair) { in DEFINE_BINARY_PROTO_FUZZER() 42 zucchini::ConstBufferView old_image( in DEFINE_BINARY_PROTO_FUZZER() 45 zucchini::ConstBufferView new_image( in DEFINE_BINARY_PROTO_FUZZER() 56 zucchini::EnsemblePatchWriter patch_writer(old_image, new_image); in DEFINE_BINARY_PROTO_FUZZER() 59 zucchini::GenerateBufferRaw(old_image, new_image, &patch_writer); in DEFINE_BINARY_PROTO_FUZZER() 69 zucchini::BufferSink patch(patch_data.get(), patch_size); in DEFINE_BINARY_PROTO_FUZZER()
|
H A D | disassembler_dex_fuzzer.cc | 27 zucchini::ConstBufferView image(mutable_data.data(), mutable_data.size()); in LLVMFuzzerTestOneInput() 31 zucchini::Disassembler::Make<zucchini::DisassemblerDex>(image); in LLVMFuzzerTestOneInput() 35 zucchini::MutableBufferView mutable_image(mutable_data.data(), in LLVMFuzzerTestOneInput() 38 std::vector<zucchini::Reference> references; in LLVMFuzzerTestOneInput()
|
H A D | patch_fuzzer.cc | 15 zucchini::ConstBufferView patch(data, size); in LLVMFuzzerTestOneInput() 16 base::Optional<zucchini::EnsemblePatchReader> patch_reader = in LLVMFuzzerTestOneInput() 17 zucchini::EnsemblePatchReader::Create(patch); in LLVMFuzzerTestOneInput()
|
H A D | fuzz_utils.h | 15 namespace zucchini { 20 std::unique_ptr<zucchini::Disassembler> disassembler,
|
H A D | generate_fuzzer_data.py | 43 zucchini = 'zucchini' 46 zucchini += '.exe' 49 zuc_cmd = [os.path.abspath(zucchini), '-gen']
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/zucchini/fuzzers/ |
H A D | BUILD.gn | 15 "//components/zucchini:zucchini_lib", 27 "//components/zucchini:zucchini_lib", 40 "//components/zucchini:zucchini_lib", 53 "//components/zucchini:zucchini_lib", 61 "//components/zucchini:zucchini_lib", 104 "//components/zucchini:zucchini", 139 "//components/zucchini:zucchini", 150 "//components/zucchini:zucchini_lib", 173 "//components/zucchini:zucchini_lib", 188 "//components/zucchini:zucchini_lib", [all …]
|