Skip to content

Add LoongArch64 ELF validation to wave-test artifact contracts #464

Closed

Description

@LunaStev

Problem

PR #457 reserves LoongArch64 cases and verifies the initial assembly manually, but the wave-test artifact validator does not recognize ELF EM_LOONGARCH or a loong64 architecture alias.

Scope

  • Add LoongArch64 ELF machine/class recognition to tools/test_contracts.py.
  • Add synthetic positive and negative object-header fixtures.
  • Keep the target planned; this issue must not advertise compiler support.
  • Document the metadata spelling for future LoongArch target work.

Completion criteria

  • A valid 64-bit little-endian LoongArch ELF fixture passes.
  • Wrong machine, class, and endianness fail with focused messages.
  • Existing x86-64, AArch64, and RISC-V tests remain unchanged.

Related: #457

Activity

  1. added
    build
    good first issue
    needs testing
    on Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildgood first issueneeds testing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions