Movatterモバイル変換


[0]ホーム

URL:


Google Git
Sign in
chromium /chromium /src /refs/heads/main /. /base /base64_decode_fuzzer.cc
blob: 16a16a330f3c8debb92a1b52346270bacaa3490f [file] [log] [blame]
Avi Drissmane4622aa2022-09-08 20:36:06[diff] [blame]1// Copyright 2017 The Chromium Authors
Charles Harrison45a98332017-10-20 03:39:27[diff] [blame]2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include<string>
Helmut Januschka0fc785b2024-04-17 21:13:36[diff] [blame]6#include<string_view>
Charles Harrison45a98332017-10-20 03:39:27[diff] [blame]7
8#include"base/base64.h"
Charles Harrison45a98332017-10-20 03:39:27[diff] [blame]9
10extern"C"intLLVMFuzzerTestOneInput(constuint8_t* data,size_t size){
11 std::string decode_output;
Helmut Januschka0fc785b2024-04-17 21:13:36[diff] [blame]12 std::string_view data_piece(reinterpret_cast<constchar*>(data), size);
Charles Harrison45a98332017-10-20 03:39:27[diff] [blame]13 base::Base64Decode(data_piece,&decode_output);
14return0;
15}

[8]ページ先頭

©2009-2025 Movatter.jp