mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-16 11:58:09 +00:00
libfuzzer library integration tests (#681)
This commit is contained in:
14
src/integration-tests/libfuzzer-linked-library/main.c
Normal file
14
src/integration-tests/libfuzzer-linked-library/main.c
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user