Definition
What is constant mutation?
Constant mutation is an obfuscation technique that removes literal numeric values from Android bytecode by replacing each with an arithmetic expression that produces it.
Constants in an app often reveal intent. Sizes, thresholds, identifiers, and magic numbers are clues to how the code works, and they are simple to spot in decompiled bytecode.
Constant mutation replaces each literal with an expression that evaluates to the same number at runtime. The value is computed, not stored, so it cannot be read straight from the decompiled code.
