This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Convert lua dissector to C dissector

0

Is there any software to convert dissector written in lua to C? Any hello world example would be nice

asked 11 Aug '15, 20:39

rakeshuv's gravatar image

rakeshuv
6112
accept rate: 0%


One Answer:

0

There is no code converter to translate a LUA dissector into C. But the structure and contents of the LUA dissector should be a good reference of writing the C dissector. As for writing a dissector in C refer to the README documents, starting with README.dissector, and the developer guide.

answered 12 Aug '15, 01:09

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%