Skip to main content

Module fuzz_exports

Module fuzz_exports 

Source
Expand description

Internal types re-exported under cfg(feature = "fuzzing") so the fuzz crate can drive the frontend-message decoder directly. Not for production use.

The auth sub-parsers are included because Codec::decode does not call them: its b'p' arm copies the payload verbatim into FrontendMessage::RawAuthentication, and protocol picks the parser from the handshake state. Without these, the pre-auth SASL/password grammars are unreachable from the decoder alone.

Structs§

Codec
Cursor
Decodes data within pgwire messages.

Enums§

FrontendMessage
A decoded frontend pgwire message, representing instructions for the backend.

Functions§

decode_password
decode_sasl_initial_response
decode_sasl_response