Skip to content

Non-deterministic results - certain groups of nodes always missing #2056

@AnnabellaM

Description

@AnnabellaM

Hi,

I was running soot on 30 sampled configurations * 112 target programs to detect nondeterministic behaviors. I ran each configuration-program combination 5 times and compared the 5 results to detect inconsistent results. All 112 target programs come from the CATS-Microbenchmark. I observed that certain groups of nodes are always missing together.

Below are some examples of these missing groups of nodes.

Screen Shot 2024-03-11 at 10 48 17 AM Screen Shot 2024-03-11 at 10 54 09 AM Screen Shot 2024-03-11 at 10 42 53 AM

These groups of nodes are missing on many programs and configurations. I didn't observe any strong patterns they shared in common.

These call graphs are printed out by adding a SceneTransformer in "wjtp". Here is the interface SootInterface I used to invoke soot and print out the call graphs.

To reproduce

A minimum set of options that can reproduce this problem is as follows:
-pp -w -p cg.spark on-fly-cg:false,enabled:true -p cg.spark enabled:true -p cg.spark pre-jimplify:true

Input file

And a target program that can be used to reproduce this problem is CL1.

Could you offer some insights regarding the inconsistency in results?

Thank you in advance for any feedback!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions