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.
19 lines
402 B
C
19 lines
402 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
#include "iec61850_server.h"
|
|
#include "iso_presentation.h"
|
|
|
|
int LLVMFuzzerTestOneInput(const char *data, size_t size) {
|
|
IsoPresentation pres;
|
|
|
|
ByteBuffer byteBuffer;
|
|
byteBuffer.buffer = (uint8_t*) data;
|
|
byteBuffer.maxSize = size;
|
|
byteBuffer.size = size;
|
|
|
|
int res = IsoPresentation_parseAcceptMessage(&pres, &byteBuffer);
|
|
|
|
return 0;
|
|
}
|