blob: 750390e484d9e32c0f9ffd3b12e367bc9f642c18 [file]
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/compiler_specific.h"
#include "components/apdu/apdu_command.h"
#include "components/apdu/apdu_response.h"
namespace apdu {
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
ApduCommand::CreateFromMessage(UNSAFE_TODO(base::span(data, size)));
ApduResponse::CreateFromMessage(UNSAFE_TODO(base::span(data, size)));
return 0;
}
} // namespace apdu