soot icon indicating copy to clipboard operation
soot copied to clipboard

how to analyze a jar file that doesn't have a Main class and a main method?

Open michaelphop opened this issue 2 years ago • 3 comments

michaelphop avatar Jun 25 '23 09:06 michaelphop

Need to create a driver class with the entry points that you think, if you are hoping to do a whole-program analysis anyway.

On Sun, Jun 25, 2023 at 9:17 PM michaelphop @.***> wrote:

— Reply to this email directly, view it on GitHub https://github.com/soot-oss/soot/issues/1981, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOKE5VC4HXBCE3AKTJWBE3XM76Y7ANCNFSM6AAAAAAZTBACVQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

patricklam avatar Jun 25 '23 09:06 patricklam

Can you give an example please?

michaelphop avatar Jun 25 '23 09:06 michaelphop

To analyze test classes, we used https://github.com/dliang2000/MockAbstraction/blob/master/src/main/java/ca/uwaterloo/liang/DriverGenerator.java. But it depends on what you're doing.

On Sun, Jun 25, 2023 at 9:28 PM michaelphop @.***> wrote:

Can you give an example please?

— Reply to this email directly, view it on GitHub https://github.com/soot-oss/soot/issues/1981#issuecomment-1605987865, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOKE5T4YSR2AUFPPNP77VDXNAAFBANCNFSM6AAAAAAZTBACVQ . You are receiving this because you commented.Message ID: @.***>

patricklam avatar Jun 25 '23 09:06 patricklam