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

Compiling IDL with PIDL

0

As a followup to https://ask.wireshark.org/questions/43940/lua-dissector-for-extended-mapi-over-dcerpc
Related to https://ask.wireshark.org/questions/27244/mapi-unknown-operation-10-11-request-response

I found the IDL file provided by microsoft here:
https://msdn.microsoft.com/en-us/library/ee217991(v=exchg.80).aspx
The needed import IDL (ms-rpce.idl) is here:
https://msdn.microsoft.com/en-us/library/cc243865.aspx

I had to slightly modify the IDL files in order for PIDL to compile them, here are the modified versions: https://gist.github.com/TechplexEngineer/a993f55fe1587b7642cd

I have combined them and attempted to compile them with the pidl tool in the Wireshark source. With this command:
../../../tools/pidl/pidl --includedir . --ws-parser -- ms-oxcrpc.idl

The result of the above command is an error: Can't use an undefined value as a subroutine reference at /wireshark/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm line 868.

Any ideas?

What goes in the conformance files? Is there documentation I am not finding on this?

asked 09 Jul '15, 07:18

techplex's gravatar image

techplex
11226
accept rate: 0%

edited 09 Jul '15, 07:18