/src/libressl.fuzzers/driver.c
Line | Count | Source |
1 | | /* |
2 | | * Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved. |
3 | | * |
4 | | * Licensed under the Apache License 2.0 (the "License"); |
5 | | * you may not use this file except in compliance with the License. |
6 | | * You may obtain a copy of the License at |
7 | | * https://www.openssl.org/source/license.html |
8 | | * or in the file LICENSE in the source distribution. |
9 | | */ |
10 | | #include <stdint.h> |
11 | | #include <unistd.h> |
12 | | #include <stdlib.h> |
13 | | #include <openssl/opensslconf.h> |
14 | | #include "fuzzer.h" |
15 | | |
16 | | int LLVMFuzzerInitialize(int *argc, char ***argv); |
17 | | int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len); |
18 | | |
19 | | int LLVMFuzzerInitialize(int *argc, char ***argv) |
20 | 22 | { |
21 | 22 | return FuzzerInitialize(argc, argv); |
22 | 22 | } |
23 | | |
24 | | int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len) |
25 | 78.2k | { |
26 | 78.2k | return FuzzerTestOneInput(buf, len); |
27 | 78.2k | } |