QilinPTA / Qilin

Qilin: A New Framework for Supporting Fine-Grained Context-Sensitivity in Java Pointer Analysis
https://qilinpta.github.io/Qilin
GNU Lesser General Public License v2.1
119 stars 30 forks source link

Can QiLin use one specified method as the entry for pointer analysis? #2

Closed Tangben1997 closed 2 years ago

Tangben1997 commented 2 years ago

I want to specify a method (not main()) as the entry for PTA. What part of the code do I need to modify to do this?

DongjieHe commented 2 years ago

Hi, I suggest you to refer to "qilin.core.builder.FakeMainFactory:getEntryPoints()". You can specify whatever methods as the entries by rewriting the getEntryPoints() method.