Converts a Kaitai Struct binary file description to a Wireshark LUA dissector.
./convert.py description.ksy > plugin.lua
Type | Status | Comment |
---|---|---|
u1 | ✓ | |
u2 | ✓ | |
u2be | ✓ | |
u2le | ✓ | |
u4 | ✓ | |
u4be | ✓ | |
u4le | ✓ | |
u8 | ✓ | Cannot be decoded in Wireshark (Lua uses 32 bit) |
u8be | ✓ | Cannot be decoded in Wireshark (Lua uses 32 bit) |
u8le | ✓ | Cannot be decoded in Wireshark (Lua uses 32 bit) |
s1 | ✓ | |
s2 | ✓ | |
s2be | ✓ | |
s2le | ✓ | |
s4 | ✓ | |
s4be | ✓ | |
s4le | ✓ | |
s8 | ✓ | Cannot be decoded in Wireshark (Lua uses 32 bit) |
s8be | ✓ | Cannot be decoded in Wireshark (Lua uses 32 bit) |
s8le | ✓ | Cannot be decoded in Wireshark (Lua uses 32 bit) |
fxxx | ✗ | |
bx | ✗ | |
str | ✓ | |
strz | ✗ |
Feature | Status | Comment |
---|---|---|
size | ✓ | Static values and simple references to "local" fields |
types | ✓ | |
contents | ✓ | No check if equal |
instances | ✓ | |
value | ✗ | |
doc | ✗ | |
endian | ✓ | |
repeat | ✗ | |
encoding | ✗ | |
size-eos | ✗ | |
terminator | ✗ | |
enums | ✗ | |
if | ✗ | |
switch | ✗ |