microsoft / microsoft/litebox

Fix arch check in syscall rewriter

Open Beginner friendly
#819 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
2.7k
Forks
144
Avg merge
12h 21m
Merged PRs (30d)
146

Description

Correct move is checking whether elf.elf_header().e_machine() is object::elf::EM_X86_64. We can fix this issue later.

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 at the syscall rewriter and inspect the architecture check around elf.elf_header().e_machine(). Compare it with object::elf::EM_X86_64, then verify that the rewriter selects the correct path for x86-64 ELF inputs.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.