Extend local edge-case and attacker-simulation test corpus

Open
#35 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
65/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
cpp

Research direction

Start with tests/k8_roundtrip.cpp and verify_hardening.py to see how the existing 32-literal corpus and attacker simulations are structured. Add the requested boundary length, wide literal, API or module name, and recovery attempt cases. Run the verification script; done means the corpus grows while hits remain 0 and attacker simulation recovers 0 literals.

Written by the indexing model from the issue text.

Description

enhancement help wanted

Goal: grow the local negative test corpus while keeping zero recoveries.

Work:

  • add more OBFUSCATE_STRING and OBFUSCATE_WSTRING cases to tests/k8_roundtrip.cpp, covering boundary lengths, wide literals, and API or module names
  • add attacker-simulation cases: single-byte XOR, ADD, and SUB recovery attempts plus short repeating XOR keys over protected literals
  • verify that verify_hardening.py reports a growing literal corpus with hits=0 and attacker simulation recovers 0 literals

Context: the current corpus is 32 literals with hits=0 and attacker simulation recovers 0 literals. That invariant must hold as the corpus grows.

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.