Skip to content

Conversation

vi
Copy link

@vi vi commented Dec 9, 2018

Not tested Only briefly tested for one application; allocation-intensive.

Note sure if it belongs to "dns-parser" project, may probably be as a separate crate.

May help employing proptest/QuickCheck way of doing fuzz test for dns-parser.

Intended use style:

    let p : Packet;
    let mut pp : PacketBuf = p.deep_clone();
    // edit pp
    let mut buf2 = Vec::with_capacity(1024);
    let mut c = std::io::Cursor::new(&mut buf2);
    pp.write_to(c)?;
    s.send_to(&buf2, cla)?;

Resolves #40.

Not tested, allocation-intensive.

Resolves tailhook#40.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant