Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] GDB / Fuzz test ?

From: Antoine d'Otreppe <a.dotreppe@xxxxxxxxxx>
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.
Not a big deal, but that was the only non-smooth part of the compilation process :)


Best regards,
Antoine