Skip to content

Commit df99e42

Browse files
committed
Add null allocations
1 parent 479d312 commit df99e42

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

boomerangPDS/src/test/java/test/options/OptionsTestingFramework.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ public void analyze(
8787
actualAllocSiteStrings.add(allocVal.getStringValue());
8888
} else if (allocVal.isIntConstant()) {
8989
actualAllocSiteStrings.add(String.valueOf(allocVal.getIntValue()));
90+
} else if (allocVal.isConstant()) {
91+
actualAllocSiteStrings.add(allocVal.toString());
92+
} else if (allocVal.isNull()) {
93+
actualAllocSiteStrings.add(allocVal.toString());
9094
}
9195
}
9296

testCore/src/main/java/test/TestingFramework.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class TestingFramework {
3636
private static final String OPAL = "opal";
3737

3838
/** This variable may be changed to run the tests locally */
39-
private static final String DEFAULT_FRAMEWORK = SOOT;
39+
private static final String DEFAULT_FRAMEWORK = OPAL;
4040

4141
private final TestSetup testSetup;
4242
private final Collection<String> includedClasses;

0 commit comments

Comments
 (0)