Skip to content

Kaitai Struct parsed output table missing 'value' column for some KSY files #155

Description

@noperator-zz

Take this ksy for example:

meta:
  id: test
seq:
- id: test
  type: test
types:
  test:
    seq:
    - id: t
      type: u1

The parsed output table only contains columns 1 and 2, not the third 'value' column.
image

Modifying the ksy by adding a field which uses a builtin type at the start of the sequence fixes the issue

meta:
  id: test
seq:
- id: test1
  type: u1
- id: test
  type: test
types:
  test:
    seq:
    - id: t
      type: u1

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions