Add clang-cl and PE header post-processing assertions to tests/run_tests.ps1

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
cpp, powershell, python

Research direction

Start with Obfusk8/tests/run_tests.ps1 and its existing cl.exe build and verify_hardening.py steps, then read Obfusk8/SCRIPTS/obfuscate_pe.ps1 to understand its inputs and outputs. Run the existing tests to identify the PE32 and PE32+ test binaries or fixtures. Done means the runner checks that Rich and Debug data are zeroed, relocations stay unchanged, and runs an additional clang-cl build when available.

Written by the indexing model from the issue text.

Description

enhancement help wanted

Obfusk8/tests/run_tests.ps1 currently builds with cl.exe and runs verify_hardening.py. Extend the test runner to invoke Obfusk8/SCRIPTS/obfuscate_pe.ps1 on a test copy, assert that the Rich header and Debug data directory are zeroed without altering the relocation directory on both PE32 and PE32+ binaries, and run a clang-cl build pass when clang-cl is available.

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.