Skip to content

Add Reader-based validation for PLT relocations and dynamic tags #39

@katsyoshi

Description

@katsyoshi

Goal: reduce ad-hoc readelf checks by adding Reader-level validation helpers for PLT-related linkage data.

Scope:

  • Validate rela.plt entries are structurally correct (symbol index, type, offset).
  • Validate consistency of dynamic tags: DT_JMPREL, DT_PLTREL, DT_PLTRELSZ, DT_PLTGOT.
  • Use helper(s) in linker tests (including plt-call test).

Acceptance criteria:

  • Tests can assert PLT relocation/tag sanity without shelling out to readelf for core checks.
  • Helper errors are specific enough to pinpoint broken fields.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions