JavaObfuscatorTest icon indicating copy to clipboard operation
JavaObfuscatorTest copied to clipboard

Counter test inconsistencies

Open terminalsin opened this issue 1 year ago • 3 comments

Issue The counter test is not accurate.

Reasoning Most higher end obfuscators add transient or cached fields. This is inconsistent with the test's logic. Instead, the test should check if the cached reflection fields are transient or synthetic to ensure these don't get added to serialization logic and so forth. Furthermore, the order of fields should be checked as any change in order will cause breaking changes in reflections. Order should be maintained.

terminalsin avatar Aug 06 '23 11:08 terminalsin