// use this where defined flatnode to support RCR/DFJ
FlatNode whereDefined = null;
- if( state.RCR ) {
- whereDefined = sese;
- }
// in-set var taints should NOT propagate back into callers
// so give it FALSE(EMPTY) predicates
// use this where defined flatnode to support RCR/DFJ
FlatNode whereDefined = null;
- if( state.RCR ) {
- whereDefined = stallSite;
- }
// stall site taint should propagate back into callers
// so give it TRUE predicates
import Analysis.CallGraph.*;
import Analysis.Disjoint.*;
import Analysis.Pointer.*;
+import Util.*;
import IR.*;
import IR.Flat.*;
disjointAnalysisTaints =
new Pointer(state, typeUtil, callGraph, rblockRel, liveness, buildStateMachines);
((Pointer) disjointAnalysisTaints).doAnalysis();
- } else
+ } else {
disjointAnalysisTaints =
new DisjointAnalysis(state, typeUtil, callGraph, liveness, arrayReferencees, null,
- rblockRel, buildStateMachines, true); // suppress output--this is
- // an intermediate pass
-
+ rblockRel, buildStateMachines,
+ !state.OOODEBUG // only print out in OoOJava debug mode
+ );
+ }
State.logEvent("OoOJavaAnalysis 5th pass completed");
// 6th pass, not available analysis FOR VARIABLES!
# EX: (skip first 10 visits, capture the next 3, then halt)
# -disjoint-debug-snap-method Remove 10 3 true
-DISJOINTDEBUG= -justanalyze -disjoint -disjoint-k 1 -enable-assertions \
- -disjoint-write-dots final \
- -disjoint-debug-callsite Demand.add Lateral.compute 1 1000 true
+DISJOINTDEBUG= -justanalyze -disjoint -disjoint-k 1 -enable-assertions
+# -disjoint-write-dots final \
+# -disjoint-debug-callsite Demand.add Lateral.compute 1 1000 true
# -disjoint-desire-determinism
# -disjoint-debug-snap-method ComputeCenterOfMass 6 2 true
# -disjoint-debug-scheduling
disjoint-debug: $(SOURCE_FILES) ../master-makefile
- $(BUILDSCRIPT) $(BMFLAGS) $(BSFLAGS) $(USECOREPROF) $(USEOOO) $(DISJOINTDEBUG) -o $(PROGRAM)p -builddir par $(SOURCE_FILES)
+ $(BUILDSCRIPT) $(BMFLAGS) $(BSFLAGS) $(USECOREPROF) $(USEOOO) $(DISJOINTDEBUG) -o $(PROGRAM)p -builddir par $(SOURCE_FILES)
rcr: $(SOURCE_FILES) ../master-makefile
$(BUILDSCRIPT) $(BMFLAGS) $(BSFLAGS) $(USECOREPROF) $(USERCR) $(DISJOINT) -o $(PROGRAM)r -builddir rcr $(SOURCE_FILES)