m4b / m4b/goblin

Support FromCtx and IntoCtx for pe structs

Open
#277 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.5k
Forks
202
PR merge metrics
No merged PRs in 30d

Description

the layout of PE structs is pretty well documented, so it should be possible to turn PEs to and from bytes.

If this is not completely possible, it should at least be mostly possible - however many of the headers don't implement the correct traits.

Contributor guide

No contributing guide indexed for this repository

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 by locating the PE struct definitions and existing FromCtx and IntoCtx implementations in the goblin crate. Determine which PE headers lack the traits and how byte conversion is tested. Done means the relevant PE structs support both conversions as far as the documented layout allows, with tests covering the supported headers.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
reverse-engineering
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.