linux/lib/test_fortify/test_fortify.h

/* SPDX-License-Identifier: GPL-2.0-only */
#include <linux/kernel.h>
#include <linux/printk.h>
#include <linux/slab.h>
#include <linux/string.h>

void do_fortify_tests(void);

#define __BUF_SMALL
#define __BUF_LARGE
struct fortify_object {};

#define LITERAL_SMALL
#define LITERAL_LARGE
const char small_src[__BUF_SMALL] =;
const char large_src[__BUF_LARGE] =;

char small[__BUF_SMALL];
char large[__BUF_LARGE];
struct fortify_object instance;
size_t size;

void do_fortify_tests(void)
{}