Thread: JBPatch
View Single Post
Old 01-12-2013, 11:11 AM   #1070
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by eureka View Post
@ixtab, in thread about kindlepdfviewer there was a discussion about KPVBooklet, relying on some stock Amazon Java classes. It searches required method in class by it's signature, so it can resist to obfuscation. Maybe this way will be suitable for some of your patches.
Interesting idea, but it can only be applied in very specific circumstances. It's not suitable for patching classes - even if the method to be patched could be unambiguously identified (the approach only works for them because there is only one method with the given signature in the class), simply going ahead and modifying bytecode that has not been manually examined is a lot like playing russian roulette.

BTW, I am already using something (roughly) similar here.
ixtab is offline   Reply With Quote