Ada 2.8.0
Fast spec-compliant URL parser
Loading...
Searching...
No Matches
parse.cc File Reference
#include <fuzzer/FuzzedDataProvider.h>
#include <cstdio>
#include <memory>
#include <string>
#include "ada.cpp"
#include "ada.h"

Go to the source code of this file.

Functions

bool is_valid_utf8_string (const char *buf, size_t len)
 
int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size)
 

Function Documentation

◆ is_valid_utf8_string()

bool is_valid_utf8_string ( const char * buf,
size_t len )

Definition at line 10 of file parse.cc.

Referenced by LLVMFuzzerTestOneInput().

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t * data,
size_t size )

ada::parse<ada::url>

ada::parse<ada::url_aggregator>

Node.js specific

Others

Definition at line 94 of file parse.cc.

References ada::href_from_file(), is_valid_utf8_string(), and ada::parse().