Add support for reading / writing hacked PE files
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 184
- Forks
- 17
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 1
Description
It would be nice to be able to read/write hacked PE files like Tiny PE file here or the one described in http://www.phreedom.org/research/tinype/
This test was working at some point during the development of PR #34 but I removed support for it.
The problem is that it requires to manage overlapping data (e.g. the content of PE Section stored in Dos Header) and it complicates significantly corner cases to handle when loading/writing. Not worth considering that I don't plan to hack around PE but manipulate/create fairly standard PE files.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Tiny PE case in src/LibObjectFile.Tests/PE/PEReaderTests.cs, referenced by the issue, and review the overlapping-data behavior described there. Compare it with the support removed during PR #34; done means reading and writing the cited hacked PE files while preserving overlapping section data and corner cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100