KhronosGroup / KhronosGroup/SPIRV-Tools

Consider more ways to obfuscate scalar constants

Open
#2,670 4 comments 0 reactions 0 assignees View on GitHub
component:fuzzer
Dominant language
C++
Stars
1.4k
Forks
709
Avg merge
1d 22h
Merged PRs (30d)
28

Description

Currently spirv-fuzz only obfuscates scalar constants by replacing them with known uniform values. But it could do various other things, e.g. a constant 10 could be replaced by (x - 30) if x is known to hold the value 40.

Some more adventurous things should be tried in due course.

Contributor guide

Open the contributing guide

Research direction

No file or test is identified in the issue. Start by locating spirv-fuzz’s existing scalar-constant obfuscation, then define and agree on specific additional transformations such as replacing 10 with (x - 30) when x is known to be 40; done means the selected transformations are implemented and tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.