Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tls-eio: add fuzz tests using crowbar #456

Merged
merged 3 commits into from
Dec 12, 2022
Merged

Commits on Nov 9, 2022

  1. tls-eio: add fuzz tests using crowbar

    The test picks two random strings, one for the client to send and one
    for the server. It then runs a send and receive fiber for each end.
    
    A dispatcher fiber then sends commands to these worker fibers. It may:
    
    - Ask a send fiber to send some plaintext from the message.
    - Ask a receive fiber to read some plaintext.
    - Ask the network to transmit some number of bytes in some direction.
    - Ask a send fiber to shut down the connection.
    - Yield (allowing the workers to make progress).
    
    At the end, it asks any remaining send fibers to shut down, allows all
    network traffic to be transmitted, and waits for the receive fibers to
    end. It then checks that the receiver got everything that was sent.
    
    By default, this just runs a few random examples. To use afl-fuzz:
    
        dune runtest
        mkdir input
        echo hi > input/foo
        cp certificates/server.{key,pem} .
        afl-fuzz -m 1000 -i input -o output ./_build/default/eio/tests/fuzz.exe @@
    talex5 committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    883ac00 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2022

  1. Update to Eio 0.7

    talex5 committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    b545fe0 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2022

  1. Configuration menu
    Copy the full SHA
    3b84fa3 View commit details
    Browse the repository at this point in the history