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

Plugin compatible with 1.10 and 1.8

1

I currently have two windows plugins compiled separately for the same dissector, one for version 1.8.x and the other for 1.10.x.

If I try using any of these across versions, it throws an error -> "STATUS_ACCESS_VIOLATION: dissector accessed and invalid memory address".

My question is, how do I compile a plugin so that it would be compatible with both 1.8 and 1.10? Or is it not possible?

asked 01 Aug '13, 06:40

SidR's gravatar image

SidR
245121722
accept rate: 30%


2 Answers:

2

My question is, how do I compile a plugin so that it would be compatible with both 1.8 and 1.10? Or is it not possible?

You can't, because it's not possible. We make no guarantees that any APIs or ABIs will remain unchanged between major releases. Someday we might come up with APIs and corresponding ABIs that we think won't ever have to be changed in a binary-incompatible or source-incompatible fashion due to new requirements for various protocols or capture file formats or..., but that's not the case now.

answered 01 Aug '13, 09:51

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

2

I don't think it's possible as the binary interface generally changes over a major version.

answered 01 Aug '13, 07:03

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%