curl-fuzzer C++ reference
Loading...
Searching...
No Matches
proto_fuzzer Directory Reference

Files

 
allocation_fault_injection.cc
 
allocation_fault_injection.h
 
api_coverage_probes.cc
 
api_coverage_probes.h
 Process-once curl API probes for the structured API target.
 
api_lifecycle.cc
 Implementation of safe easy/share/query lifecycle probes.
 
api_lifecycle.h
 Safe ownership and typed probes for the dedicated public-API lane.
 
bounded_anonymous_input_file.cc
 Implementation of bounded procfs-backed filename input.
 
bounded_anonymous_input_file.h
 Owns bounded bytes exposed to filename-only APIs through procfs.
 
connect_udp_proxy_mock_server.cc
 HTTP/1.1 CONNECT-UDP option policy over the stream mock transport.
 
connect_udp_proxy_mock_server.h
 Deterministic HTTP/1.1 CONNECT-UDP proxy for HTTP/3 scenarios.
 
curl_global_lifecycle.cc
 
curl_global_lifecycle.h
 Process-wide libcurl initialization and final cleanup.
 
curl_raii.h
 Common ownership types for independently cleaned-up curl handles.
 
dict_mock_server.cc
 Implementation of the command-aware in-process DICT peer.
 
dict_mock_server.h
 Command-aware in-process peer for curl's DICT request/response.
 
doh_https_rr_mock_server.cc
 Implementation of the resolver lane's loopback DoH responder.
 
doh_https_rr_mock_server.h
 DoH responder that feeds a synthesized HTTPS resource record to curl's HTTPS-connect ALPN filter.
 
ftp_mock_server.cc
 Implementation of the command-aware in-process FTP peer.
 
ftp_mock_server.h
 Command-aware in-process peer for curl's FTP state machine.
 
ftps_mock_server.cc
 Implementation of the implicit-TLS FTP peer.
 
ftps_mock_server.h
 Implicit-TLS in-process peer for curl's FTPS state machine.
 
fuzzer_main.cc
 Shared execution for profile-split protobuf targets.
 
fuzzer_main.h
 Shared byte-to-protobuf dispatch for the policy-split fuzzers.
 
gopher_mock_server.cc
 Bounded transport probes for curl's synchronous Gopher selector.
 
gopher_mock_server.h
 Bounded transport probes for curl's synchronous Gopher selector.
 
h2_cleartext_mock_server.cc
 Implementation of the plaintext HTTP/2 prior-knowledge origin.
 
h2_cleartext_mock_server.h
 Plaintext HTTP/2 prior-knowledge origin peer.
 
h2_origin_mock_server.cc
 Implementation of the fixed HTTPS/HTTP2 origin peer.
 
h2_origin_mock_server.h
 HTTPS origin peer with a fixed HTTP/2 application protocol.
 
h2_plan.cc
 HTTP/2 structured-action serialization and client frame tracking.
 
h2_plan.h
 Stateful serializer for structured HTTP/2 peer actions.
 
h2_proxy_mock_server.cc
 HTTPS/HTTP2 proxy option policy layered over the TLS mock transport.
 
h2_proxy_mock_server.h
 Deterministic HTTPS/HTTP2 proxy for structured scenarios.
 
h2_runtime.cc
 Shared HTTP/2 origin behavior independent of the transport carrier.
 
h2_runtime.h
 Shared HTTP/2 plan, push, and upkeep behavior for origin peers.
 
happy_eyeballs_mock_server.cc
 Implementation of HappyEyeballsMockServer.
 
happy_eyeballs_mock_server.h
 HappyEyeballsMockServer — a loopback peer that lets curl's happy-eyeballs connection filter race several real in-progress connects instead of accepting the first preconnected socketpair.
 
http3_mock_server.cc
 ngtcp2 QUIC transport and nghttp3 peer implementation.
 
http3_mock_server.h
 Bounded ngtcp2/OpenSSL QUIC peer for HTTP/3 scenarios.
 
http_transport_mock_server.cc
 Fixed HTTP proxy and Unix-domain option policy.
 
http_transport_mock_server.h
 Bounded HTTP proxy and Unix-domain transports for deep scenarios.
 
imap_mock_server.cc
 Implementation of the command-aware in-process IMAP peer.
 
imap_mock_server.h
 Command-aware in-process peer for curl's IMAP state machine.
 
imaps_mock_server.cc
 Implementation of the implicit-TLS IMAP peer.
 
imaps_mock_server.h
 Implicit-TLS in-process peer for curl's IMAPS state machine.
 
incoming_data_observer.h
 Optional observer for application bytes consumed by mock peers.
 
ipfs_url.cc
 Implementation of IPFS/IPNS gateway URL construction.
 
ipfs_url.h
 IPFS/IPNS gateway URL construction shared by the scenario runner and its transcript-level tests.
 
ldap_mock_server.cc
 Implementation of the BER/ASN.1-aware in-process LDAP peer.
 
ldap_mock_server.h
 BER/ASN.1-aware in-process peer for curl's OpenLDAP-backed LDAP client.
 
ldaps_mock_server.cc
 Implementation of the implicit-TLS LDAP peer.
 
ldaps_mock_server.h
 Implicit-TLS in-process peer for curl's OpenLDAP-backed LDAPS exchange.
 
mock_server.cc
 Implementation of MockConnection and MockServer.
 
mock_server.h
 MockConnection and MockServer — the in-process peer that feeds canned response bytes to libcurl over a socketpair.
 
mock_server_base.cc
 Implementation of MockServerBase — shared trampolines, shared select() helper, DriveScenario multi-handle RAII, and the scheme classifier that produces the right subclass for a Scenario.
 
mock_server_base.h
 MockServerBase — common plumbing shared by every protocol-specific mock server.
 
mqtt_mock_server.cc
 Implementation of the packet-aware in-process MQTT peer.
 
mqtt_mock_server.h
 Packet-aware in-process peer for curl's binary MQTT state machine.
 
mqtts_mock_server.cc
 Implementation of the implicit-TLS MQTT peer.
 
mqtts_mock_server.h
 Implicit-TLS in-process peer for curl's MQTTS state machine.
 
multi_socket_driver.cc
 Implementation of the bounded curl_multi_socket_action driver.
 
multi_socket_driver.h
 Bounded event-loop state for driving curl_multi_socket_action.
 
multi_transfer_runner.cc
 Implementation of the bounded concurrent easy-handle runner.
 
multi_transfer_runner.h
 Bounded shared-multi orchestration for concurrent HTTP transfers.
 
option_apply.cc
 Implementation of the option-translation helpers declared in option_apply.h.
 
option_apply.h
 Translates Scenario SetOption messages into curl_easy_setopt calls, plus the fixed baseline setopts the harness always applies.
 
option_model.cc
 Generated option semantics without curl execution or handle state.
 
option_model.h
 Pure interpretation and normalization of structured curl options.
 
pingpong_mock_server.cc
 Implementation of the shared line-oriented pingpong peer.
 
pingpong_mock_server.h
 PingpongMockServer — shared line-oriented command/response transport for the mail-style protocol peers.
 
pop3_mock_server.cc
 Implementation of the command-aware in-process POP3 peer.
 
pop3_mock_server.h
 Command-aware in-process peer for curl's POP3 state machine.
 
pop3s_mock_server.cc
 Implementation of the implicit-TLS POP3 peer.
 
pop3s_mock_server.h
 Implicit-TLS in-process peer for curl's POP3S state machine.
 
profile_fuzzer.h
 Type-safe libprotobuf-mutator hooks for one generated target profile.
 
proxy_option_mock_server.cc
 Implementation of closed proxy and socket option peers.
 
proxy_option_mock_server.h
 Closed proxy, no-proxy, interface, and TCP-option peers.
 
request_data.cc
 Builds bounded curl_slist and curl_mime state from a Scenario.
 
request_data.h
 Owns pointer-valued HTTP headers, TELNET options, MIME state, and upload callback state derived from a Scenario.
 
resolver_cancel_gate.h
 Bounded rendezvous for the resolver queued-cancellation scenario.
 
resolver_getaddrinfo_shim.cc
 Target-local deterministic getaddrinfo backend for resolver fuzzing.
 
rtsp_mock_server.cc
 Implementation of the request-aligned in-process RTSP peer.
 
rtsp_mock_server.h
 Request-aligned in-process peer for curl's RTSP state machine.
 
scenario_limits.h
 Shared complexity limits for structured scenarios.
 
scenario_runner.cc
 Implementation of RunScenario.
 
scenario_runner.h
 Orchestrates a single fuzz iteration from a Scenario proto through to a completed curl transfer.
 
smtp_mock_server.cc
 Implementation of the command-aware in-process SMTP peer.
 
smtp_mock_server.h
 Command-aware in-process peer for curl's SMTP state machine.
 
smtps_mock_server.cc
 Implementation of the implicit-TLS SMTP peer.
 
smtps_mock_server.h
 Implicit-TLS in-process peer for curl's SMTPS state machine.
 
socks4_mock_server.cc
 SOCKS/HAProxy option policy layered over the stream mock.
 
socks4_mock_server.h
 Deterministic SOCKS/HAProxy transport for HTTP scenarios.
 
target_policy.cc
 Implementation of the per-binary proto mutation policies.
 
target_policy.h
 Mutation policies that keep each proto fuzzer in one intentional performance and protocol lane.
 
target_profile.h
 Compile-time identities and execution modes for proto fuzz targets.
 
telnet_mock_server.cc
 Implementation of the preloaded TELNET mock peer.
 
telnet_mock_server.h
 Non-blocking in-process peer for curl's blocking TELNET driver.
 
telnet_scenario.cc
 Implementation of shared TELNET response normalization.
 
telnet_scenario.h
 Shared TELNET response normalization.
 
tftp_mock_server.cc
 Implementation of the bounded loopback UDP TFTP peer.
 
tftp_mock_server.h
 Bounded loopback UDP peer for structured TFTP scenarios.
 
tls_mock_server.cc
 Nonblocking OpenSSL server transport for structured HTTPS inputs.
 
tls_mock_server.h
 Reusable TLS transport for structured in-process protocol peers.
 
tls_test_credential_cache.cc
 Process-lifetime parsed credentials for in-process stream TLS peers.
 
tls_test_credential_cache.h
 Installs cached test credentials into fresh TLS contexts.
 
tls_websocket_mock_server.cc
 Secure WebSocket peer carried by the in-process TLS transport.
 
tls_websocket_mock_server.h
 Secure WebSocket peer carried by the in-process TLS transport.
 
transfer_session.cc
 Ordered easy-handle and retained-option resource ownership.
 
transfer_session.h
 Owns an easy handle and the backing storage retained by its options.
 
websocket_mock_server.cc
 Implementation of WebSocketMockServer.
 
websocket_mock_server.h
 WebSocketMockServer — an in-process WebSocket peer that drives a dynamic 101 handshake and then feeds RFC 6455 frame bytes to libcurl.
 
ws_accept_key.h
 Minimal standalone SHA-1 + base64 for the WebSocket Sec-WebSocket-Accept computation (RFC 6455 §4.2.2).
 
ws_frame.cc
 Implementation of SerializeWebSocketFrame.
 
ws_frame.h
 Serialize a proto WebSocketFrame message into RFC 6455 wire bytes.