s3: smbd: Cleanup. smb2_file_rename_information() can never have a @GMT path in the...
[Samba.git] / lib / fuzzing / fuzzing.h
blob67e49c3fbe0d5bd289cfa6aeb269010078f0c937
1 /*
2 Unix SMB/CIFS implementation.
3 Fuzzing utility functions
4 Copyright (C) Michael Hanselmann 2019
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef _SAMBA_FUZZING_H
21 #define _SAMBA_FUZZING_H
23 #include <stddef.h>
24 #include <stdint.h>
26 /* Prototypes for fuzzing interface */
27 int LLVMFuzzerInitialize(int *argc, char ***argv);
28 int LLVMFuzzerTestOneInput(uint8_t * buf, size_t len);
30 #endif /* _SAMBA_FUZZING_H */