Wireshark mailing list archives

Re: NPL to Wireshark compiler/converter


From: Richard Sharpe <realrichardsharpe () gmail com>
Date: Sat, 21 Jul 2012 18:03:45 -0700

On Sat, Jul 21, 2012 at 11:00 AM, Richard Sharpe
<realrichardsharpe () gmail com> wrote:
I have started working on an NPL to Wireshark compiler/converter ...

At this stage all I have is an initial Flex scanner file and a simple
Lemon grammar and some test files. The grammar is conflict free, but
not necessarily complete (lacking in examples and there does not seem
to be a spec from Microsoft :-(). I have been working from the
example/s in the Microsoft document I posted a link to a few days ago
called "Writing a Parser from Wire to Window."

The next steps are to:

1. Get the grammar working more, and in particular, generate an AST,
2. Add more to the grammar
3. Generate dissectors in C.

What I have is attached for those who are curious and for feedback.

I have established a github repository for this. You can do:

         git clone git () github com:RichardSharpe/npl-to-wshark.git

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: