Wireshark mailing list archives
Re: newbie question about dissection specifications
From: Guy Harris <guy () alum mit edu>
Date: Tue, 31 May 2016 15:21:07 -0700
On May 30, 2016, at 1:44 PM, Christian Convey <christian.convey () gmail com> wrote:
I'm starting a side project, and I was wondering if it might eventually be something useful to Wireshark developers. Anyone mind weighing in? It's a translator that does this: Input: • A declarative description of wire-level message layouts.
Note that there exists a third-party Wireshark plugin declarative description language that translates a packet description into interpreted code and interprets it: http://wsgd.free.fr You might want to look at the language they're using, although it sounds as if:
Output: • Generated C / C++ / Python / etc. code based on those layout descriptions. For example: • Pretty-printing • C++ classes for accessing individual fields safely, including endian-ness correction. • C structs / unions / bit-fields for unchecked access to buffers supposedly having those formats. • C++ functions that create an appropriate Wireshark dissector. • Etc.
...your work is intended for more purposes than just Wireshark dissection, such as protocol implementations, so it might have different requirements. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- newbie question about dissection specifications Christian Convey (May 31)
- Re: newbie question about dissection specifications Jeff Morriss (May 31)
- Re: newbie question about dissection specifications Guy Harris (May 31)
- Re: newbie question about dissection specifications Graham Bloice (May 31)
- Re: newbie question about dissection specifications Guy Harris (May 31)
- Re: newbie question about dissection specifications Graham Bloice (May 31)