xref: /freebsd/crypto/openssh/regress/misc/fuzz-harness/agent_fuzz.cc (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
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