Wireshark mailing list archives

Re: Announcing: A Wireshark Dissector Generator


From: Richard Sharpe <realrichardsharpe () gmail com>
Date: Mon, 6 Aug 2018 14:19:57 -0700

On Mon, Aug 6, 2018 at 2:10 PM, Guy Harris <guy () alum mit edu> wrote:
On Aug 6, 2018, at 7:54 AM, Richard Sharpe <realrichardsharpe () gmail com> wrote:

Since about last November I have been developing a Wireshark Dissector
Generator.

How does its description language compare to that of

        http://wsgd.free.fr

in its capabilities?

That's a good question.

Here is what the wsgd site says:

- basic types (integers, float, string ...)

I have most of these

- transform options (quantum, expression) to compute a value from the packet one

Don't have these.

- display options (hex, oct, bin, printf format, expression)

Don't have these but I need something like that.

- constaint specification (min and max values) to detect errors in
data (red line)

Don't have these.

- Array (fixed or variable size)

Have these ...

- Enum

Have these ...

- Bit field

Have these ...

- Structure

Have these ...

- Conditions and loops (if, while, do while, ...)

Have these in the form of switch statements and array bounds (that is,
and array bound can be a do while type of thing.)

- Switch case

Have these ...

- Functions

Don't have these but am thinking of them in the form of annotations.

- Global data

Don't have these ...

- subproto data

Don't know.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)
___________________________________________________________________________
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: