You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
404 B
C
15 lines
404 B
C
#include "acse.h"
|
|
|
|
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
|
{
|
|
AcseConnection acseConnection;
|
|
AcseConnection_init(&acseConnection, NULL, NULL, NULL);
|
|
|
|
ByteBuffer* acseBuffer = ByteBuffer_create(NULL, size);
|
|
ByteBuffer_append(acseBuffer, data, size);
|
|
AcseConnection_parseMessage(&acseConnection, acseBuffer);
|
|
|
|
ByteBuffer_destroy(acseBuffer);
|
|
return 0;
|
|
}
|