GraxCode / threadtear

Multifunctional java deobfuscation tool suite
GNU General Public License v3.0
885 stars 123 forks source link

Fix NPE w/ native methods in TryCatchObfuscationRemover #54

Closed 3dsboy08 closed 3 years ago

3dsboy08 commented 3 years ago

TryCatchObfuscationRemover.isFake does not account for native methods being invoked, which can cause a NPE due to them not having any instructions.

There probably is other special cases like this related to this pass, so we should probably check this with other 'special' method types. (abstract methods?)