The FreeRADIUS server $Id: f3670dba8951ca10eb4948feb3dc3db9423a334f $
Loading...
Searching...
No Matches
common.h
Go to the documentation of this file.
1#pragma once
2/*
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2, or (at your option)
6 * any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software Foundation,
15 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 */
17
18/** Common things to initialize the fuzzers.
19 *
20 * @file src/fuzzer/common.h
21 *
22 * @copyright 2026 Network RADIUS SAS (legal@networkradius.com)
23 */
24RCSIDH(fuzzer_common_h, "$Id: 981389ad70484431bc52daf2731ee14c7afc691b $")
25
26#include <freeradius-devel/util/dl.h>
27#include <freeradius-devel/util/conf.h>
28#include <freeradius-devel/util/dict.h>
29#include <freeradius-devel/util/proto.h>
30#include <freeradius-devel/util/syserror.h>
31#include <freeradius-devel/io/test_point.h>
32
33extern TALLOC_CTX *autofree;
34extern fr_dict_t *dict;
35extern fr_dict_attr_t const *root_da;
36
38
39int fuzzer_common_init(int *argc, char ***argv, bool load_proto);
#define RCSIDH(h, id)
Definition build.h:513
Protocol-specific callbacks in libfreeradius-PROTOCOL.
Definition dict.h:455
TALLOC_CTX * autofree
Definition common.c:29
fr_dict_t * dict
Definition common.c:31
fr_dict_protocol_t * dl_proto
Definition common.c:34
int fuzzer_common_init(int *argc, char ***argv, bool load_proto)
Perform all bootstrapping for the fuzzer.
Definition common.c:55
fr_dict_attr_t const * root_da
Definition common.c:32