microsoft / microsoft/win32metadata

Several base relocation types are missing.

Open
#2,221 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.5k
Forks
149
Avg merge
5d 16h
Merged PRs (30d)
4

Description

```
Method, type or constant "IMAGE_REL_BASED_RISCV_LOW12I" not found
Method, type or constant "IMAGE_REL_BASED_RISCV_HIGH20" not found
Method, type or constant "IMAGE_REL_BASED_RISCV_LOW12S" not found
Method, type or constant "IMAGE_REL_BASED_LOONGARCH32_MARK_LA" not found
Method, type or constant "IMAGE_REL_BASED_LOONGARCH64_MARK_LA" not found
```

Refererence definition list: https://learn.microsoft.com/en-us/windows/win32/debug/pe-format#base-relocation-types

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the referenced Microsoft PE-format base relocation list and search the win32metadata sources for existing IMAGE_REL_BASED_* definitions. Done when the five listed RISC-V and LoongArch relocation constants are represented consistently with the other base relocation types.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.