Wireshark mailing list archives

GDB / Fuzz test ?


From: Antoine d'Otreppe <a.dotreppe () aspyct org>
Date: Mon, 12 Nov 2018 08:39:42 +0000

Hi folks!

I'm progressing in the syncthing dissector. Wireshark compiled without hassle on Manjaro (Arch derivative). I love the 
wireshark codebase, it's refreshing to see a large project that just works...

Anyway I have two questions:
1. I'm not familiar with GDB and could not set a breakpoint in my functions. Is there a trick to it? How do you run it?
2. I used the fuzz-test.sh, looks nice, but how many passes should I run to have adequate testing?

And a small note:
The documentation indicates that you should run `./wireshark` to run the compiled version, whereas it really should be 
`./run/wireshark`. Same goes for the fuzz-test.sh.
https://www.wireshark.org/docs/wsdg_html_chunked/ChSrcRunFirstTime.html#ChSrcRunFirstTimeUnix
Not a big deal, but that was the only non-smooth part of the compilation process :)

Best regards,
Antoine
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: