I use wireshark ver 2.2.2 under windows 64bit when I only modify one line code, I find all source files are re-compiled again, the time is so long. How to set to only compile updated files? another question: I want to analysis LTE MAC PDU over UDP, how to do it. I modify as follows: heur_dissector_add("udp", dissect_mac_lte_heur, "MAC-LTE over UDP", "mac_lte_udp", proto_mac_lte, HEURISTIC_DISABLE); change into: heur_dissector_add("udp", dissect_mac_lte_heur, "MAC-LTE over UDP", "mac_lte_udp", proto_mac_lte, HEURISTIC_ENABLE); HEURISTIC_DISABLE -> HEURISTIC_ENABLE but sub-dissector of UDP still don't include "MAC-LTE over UDP" in heur_list hope to get your help, so thanks asked 09 May '17, 03:19 commonstar |
One Answer:
Please raise a separate item for each question as that's how this site works, see the FAQ for more info. Answering your first question, presumably you are building using CMake from the command line and simply executing On my build VM (VirtualBox, 4 cores of an i7 running Windows 10) a build where no files have changed is around 8 seconds (run in a PowerShell prompt using PS Measure-Command for timing):
And if I change a dissector source file and rebuild:
You can speed up the rebuild by developing your dissector as a plugin, in that case there is no library rebuild only the compile and link of the plugin DLL. answered 09 May ‘17, 04:40 grahamb ♦ |