Add bounds and cycle safeguards for PE export resolution and PE post-processing

Open
#38 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
46/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp, powershell

Research direction

Start with Resolve8.hpp, Obfusk8Core.hpp, and SCRIPTS/obfuscate_pe.ps1 to trace PE header, export directory, and forwarded export handling. Review tests/ and add negative cases for malformed or truncated tables, excessive forwarding depth, cycles, and invalid macro parameters. Done means those inputs are rejected safely and the new tests pass.

Written by the indexing model from the issue text.

Description

enhancement help wanted

Resolve8.hpp, Obfusk8Core.hpp, and SCRIPTS/obfuscate_pe.ps1 inspect PE headers, export directories, and forwarded export chains. Add stricter bounds validation for malformed or truncated export tables, explicit depth and cycle guards for forwarded exports, static_assert checks on macro parameters, and negative test cases in tests/.

Dominant language
C++
Stars
845
Forks
87
Avg merge
17h 4m
Merged PRs (30d)
1

Getting set up

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.

More from x86byte/Obfusk8

All issues in x86byte/Obfusk8

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.