java - checking if a method is called using ASM -


i working on deobfuscator application heavily obfuscated. there lot of redundant methods remove simplify code. unfortunately, don't have enough knowledge asm , bytecode able this, please enlighten me on how use asm check methods called?

gathering list of methods called class straightforward. if using asm sax api override

public void visitmethodinsn(int opcode, string owner, string name, string desc) 

and collect method name, owners , signatures.

if use tree api same information available methodinsnnodes.

generating list of methods class declares/defines straight forward - each 1 result call visitmethod or method node in tree api.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo