Col-E / CAFED00D

Obfuscation resilent Java class reader/writer
MIT License
122 stars 14 forks source link

Move all consistency checks to utility classes like AttributeCpAccessValidator #5

Closed Col-E closed 2 years ago

Col-E commented 3 years ago

Consolidating the validation logic and pointing everything to there would vastly clean up some of the special case handling spattered around. There may be some cases like illegal content length that cant be isolated, but most other checks can be.

This way its easier to manage the option of allowing/pruning illegal content since access to the removal logic will be funneled through these points.

Col-E commented 2 years ago

Done as part of 346016df79acae5f7433f594f01079a2a802f598