Add configurable compile-time intensity profiles and reduce compiler RAM usage in Obfusk8Core.hpp

Open
#36 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
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
compilers

Research direction

Start by reading Obfusk8Core.hpp and the related discussion in issue #27 to understand the recursive Spawner and K8_BBChain templates, control-flow graphs, and ICFF state machines mentioned here. Identify the compile-time expansion points and how they affect object size and compiler memory. Done means users can set per-translation-unit profile and autos pawn limits to tune recursion depth and control-flow density.

Written by the indexing model from the issue text.

Description

enhancement help wanted

Obfusk8Core.hpp currently expands 30 to 80 levels of recursive k8_autospawn_ns::Spawner and K8_BBChain templates along with multiple bogus control-flow graphs and two ICFF state machines inside _main, producing a 5+ MB object file and high compiler memory usage on lower-spec machines (see #27). Add configurable compile-time macros such as K8_OBF_PROFILE_LITE and K8_AUTOSPAWN_LIMIT so users can tune template recursion depth and control-flow density per translation unit.

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.