Ask Your Question

mixing c/c++ to write a plugin

asked 2018-04-17 13:05:56 +0000

tof gravatar image


After having spent a few hours in prototyping my custom protocol dissector with LUA, I decided to switch to C (Win10 x64 / VS2015 / 2.9.0rc of WS)

We already have a code base in some othre projects consuming that same protocol, but it is written in C++. Is it possible to use C++ to write a dissector plugin or am I stuck to C?



edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-04-17 13:20:41 +0000

grahamb gravatar image

Yes. None of the core Wireshark plugins use C++, but WSGD does.

Note that Wireshark 2.9.x (and the up-coming 3.0) are built with VS2017. VS2015 should be OK, but it isn't tested.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-04-17 13:05:56 +0000

Seen: 22 times

Last updated: Apr 17