Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 11687] plugin_if: plugin_if_goto_frame not changing packet

Date: Tue, 10 Nov 2015 15:56:45 +0000

Comment # 3 on bug 11687 from
This is just a PoC for a tool we are working on.  I've attached the code - what
little there is.  I'm not a developer and my C skills are very rusty, so excuse
the quality.

Back to the problem.  There is quite a neat interface between Qt and WS.  Qt
seems to call back into WS via MainWindow::qt_static_metacall which looks like
an API with operation codes.  After entering a packet number in the GUI box,
pressing "Go to packet" function calls the MainWindow::qt_static_metacall
function four times with op codes 209, 49, 48 and 49 again.  I tried tracing
through these but kept ending up back in the Qt code.  So I took a different
tack.

After wandering through the code for more time than I should have I found
PacketList::selectionChanged - I think this is the function that updates the
packet detail.  When you do a Go to packet through the GUI this code gets
called.  When I use plugin_if_goto_frame this function isn't called.

All that said, it's strange that you can't recreate the problem.


You are receiving this mail because:
  • You are watching all bug changes.