mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +02:00
21 lines
263 B
C++
21 lines
263 B
C++
|
|
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
|
|
#include <Identity.h>
|
|
|
|
#include "fuzzing.h"
|
|
|
|
|
|
bool
|
|
fuzzing_testinput(const uint8_t * data, size_t size)
|
|
{
|
|
i2p::data::IdentityEx * ident;
|
|
|
|
|
|
ident = new i2p::data::IdentityEx(data, size);
|
|
delete ident;
|
|
|
|
return true;
|
|
}
|