Wireshark mailing list archives

Re: newbie question about dissection specifications


From: Guy Harris <guy () alum mit edu>
Date: Tue, 31 May 2016 15:45:24 -0700

On May 31, 2016, at 3:26 PM, Graham Bloice <graham.bloice () trihedral com> wrote:

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

I'm not sure a full implementation could be produced, but serializing/deserializing code can be generated from ASN.1 - 
and from ONC RPC's rpcgen language, and DCE RPC's various IDLs, CORBA's GIOP IDL, and probably others.

(And we do, in fact, generate dissectors from ASN.1, Samba's PIDL for DCE RPC, and CORBA's GIOP IDL - with some help 
from "conformance files", which provide "Details regarding desired properties of C / C++ / Python / etc. code generated 
from those layout descriptions."  The more dissection that can be done by generated code - whether it's generated C/C++ 
code, generated Lua/Python/etc. code, or generated bytecode with our own interpreter - the better, as that makes it 
easier to add new protocols and, hopefully, harder to add new protocols with bugs in the dissector.)
___________________________________________________________________________
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: