Definition
What is constants disintegration?
Constants disintegration is an obfuscation technique that removes literal numeric values from compiled code by replacing each one with a computation that produces it.
Numbers carry meaning. A buffer size, a magic value, a bit mask, a license tier: these constants tell an attacker how an algorithm works, and they are easy to find in a binary.
Constants disintegration breaks each number apart into arithmetic, logical, and conditional operations that evaluate to the same value at runtime. The constant is never stored directly, so it cannot be found by scanning or recognized by analysis.
