Wireshark mailing list archives

Re: newbie question about dissection specifications


From: Graham Bloice <graham.bloice () trihedral com>
Date: Tue, 31 May 2016 23:26:20 +0100

On 31 May 2016 at 23:21, Guy Harris <guy () alum mit edu> wrote:

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.


Isn't the ability to produce protocol implementations one of the "features"
of ASN.1?

-- 
Graham Bloice
___________________________________________________________________________
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: