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) -

python 3.x - PyQt5 - Signal : pyqtSignal no method connect -

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