Ask Your Question
0

I built wireshark 2.5.0 however there are no dissectors in the epan/dissector directory, there are in the wireshark source directory copied with Git

asked 2018-01-24 20:23:07 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

I successfully buitl my own custom build of wireshark 2.5.0 following build instructions. My downloaded wireshark source is in c:\wireshark and I can see all packet-.c files in epan/dissectors. However in the wsbuild64\epan\dissectors there are no packet- files at all. Did I miss something in my custom build? I need to build with custom dissectors, so I would like to understand where they will go (they don't compile so I can't use plugins right now)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-01-25 10:36:30 +0000

grahamb gravatar image

On Windows, the build is done using CMake as an "out-of-tree build". This means that the compilation is done in a directory separate from the sources.

You custom dissectors should be placed in the C:\Wireshark\epan\dissectors directory along with the standard dissectors (best done by creating a personal git branch) and creating a CMakeListsCustom.txt from the example in the epan\dissectors directory, and then a CMake generation and build with msbuild as per normal.

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

Stats

Asked: 2018-01-24 20:23:07 +0000

Seen: 372 times

Last updated: Jan 25 '18