libfuzzer library integration tests (#681)

This commit is contained in:
bmc-msft
2021-03-17 16:18:10 -04:00
committed by GitHub
parent 4b07fdc455
commit f41f110af8
15 changed files with 401 additions and 0 deletions

View File

@ -0,0 +1,14 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include <stdint.h>
#include <stdlib.h>
#include "bad1.h"
#include "bad2.h"
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
func1(data, size);
func2(data, size);
return 0;
}