Add configurable compile-time intensity profiles and reduce compiler RAM usage in Obfusk8Core.hpp
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
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
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
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from x86byte/Obfusk8
-
enhancement help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
enhancement help wanted
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
enhancement help wanted
Difficulty 4/5 3-5 days Newbie friendliness 54/100
-
enhancement help wanted
Difficulty 4/5 3-5 days Newbie friendliness 55/100
-
enhancement help wanted
Difficulty 4/5 3-5 days Newbie friendliness 55/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
? - Needs Triage bot_watch bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA/cudf-spark-jni#5594 ·
Maintainers usually reply within 1 day
-
Branch-master
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TrinityCore/TrinityCore#32177 ·
Maintainers usually reply within 10 days
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
mw00/project-maya#1499 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day