Add compile-time integer constant obfuscation and standalone function control-flow protection

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

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp

Research direction

Read the existing OBFUSCATE_STRING, STEALTH_API_OBFSTR, K8_SYSCALL, _main, and OBF_METHOD implementations to understand their interfaces. Then assess how compile-time, per-site keyed MBA expressions could cover 32-bit and 64-bit integers and offsets, and how standalone control-flow flattening could work without the _main harness. Done means both capabilities are integrated into the named macros and work without requiring the full entry-point harness.

Written by the indexing model from the issue text.

Description

enhancement help wanted

Obfusk8 currently protects string literals via OBFUSCATE_STRING, API imports via STEALTH_API_OBFSTR, syscalls via K8_SYSCALL, and the entry point via _main. Add an OBFUSCATE_CONST macro to protect 32-bit and 64-bit integer and offset constants using per-site keyed MBA expressions, and expand OBF_METHOD with lightweight per-function control-flow flattening that does not require the full _main harness.

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.