1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-08-23 15:52:49 +00:00

Sender SDK

This commit is contained in:
Marcus Hanestad 2025-08-21 14:49:52 +00:00
parent fdbefc63e0
commit afc46f3022
147 changed files with 17638 additions and 114 deletions

4
sdk/sender/fuzz/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
target
corpus
artifacts
coverage

View file

@ -0,0 +1,28 @@
[package]
name = "fcast-sender-sdk-fuzz"
version = "0.0.0"
publish = false
edition = "2021"
[package.metadata]
cargo-fuzz = true
[dependencies]
libfuzzer-sys = "0.4"
parsers-common = { path = "../parsers-common" }
http = { path = "../http" }
arbitrary = "1.4.1"
[[bin]]
name = "parse_header_map"
path = "fuzz_targets/fuzz_parse_header_map.rs"
test = false
doc = false
bench = false
[[bin]]
name = "http_parse_request_start_line"
path = "fuzz_targets/fuzz_http_parse_request_start_line.rs"
test = false
doc = false
bench = false

View file

@ -0,0 +1,8 @@
#![no_main]
use http::parse_request_start_line;
use libfuzzer_sys::fuzz_target;
fuzz_target!(|data: &[u8]| {
let _ = parse_request_start_line(data);
});

View file

@ -0,0 +1,8 @@
#![no_main]
use libfuzzer_sys::fuzz_target;
use parsers_common::parse_header_map;
fuzz_target!(|data: &[u8]| {
let _ = parse_header_map(data);
});