You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
RandomCrocodile
committed
feature: randomize CFG state multiplier constant per run (#69)
The Constants protection's control-flow encoding baked the fixed
multiplier 0x21412321 into both the obfuscator-side CFGState and the
injected runtime CFGCtx constructor, giving de4dot a stable signature.
Generate a random odd (invertible mod 2^32) multiplier per module when
the CFG state type is injected, rewrite the literal in the runtime ctor
IL, and thread the same value through the obfuscator CFGState so both
sides stay in sync. Validated end-to-end by the constants protection
tests (obfuscate -> run -> assert output).
0 commit comments