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

Source code main file of wireshark

0

I am trying to build and run Wireshark from source code on Ubuntu. I would like to know the main file in the source code which launches the application

The documentation says that i can execute the source code after build by running: $ WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1 ./wireshark

But i also need to know the file which is launching the application.

Thanks

asked 25 Aug '14, 11:41

ssayed1's gravatar image

ssayed1
1222
accept rate: 0%

Please refrain from asking the same question more than once.

(26 Aug '14, 13:04) cmaynard ♦♦

One Answer:

0

For the gtk version, program execution begins with ui/gtk/main.c:main(), and for the Qt version, program execution begins with ui/qt/main.cpp:main().

answered 26 Aug '14, 12:14

cmaynard's gravatar image

cmaynard ♦♦
9.4k1038142
accept rate: 20%