xref: /freebsd/crypto/openssh/regress/misc/fuzz-harness/agent_fuzz.cc (revision 3332f1b444d4a73238e9f59cca27bfc95fe936bd)
1 // cc_fuzz_target test for ssh-agent.
2 extern "C" {
3 
4 #include <stdint.h>
5 #include <sys/types.h>
6 
7 extern void test_one(const uint8_t* s, size_t slen);
8 
9 int LLVMFuzzerTestOneInput(const uint8_t* s, size_t slen)
10 {
11 	test_one(s, slen);
12 	return 0;
13 }
14 
15 } // extern
16