1 BUILDSCRIPT=~/research/Robust/src/buildscript
3 #################################################
5 ## To debug a call site, supply the symbols for
6 ## the callee, then caller, then max number of
7 ## analysis visits to the call site to write out
9 #################################################
10 #DEBUGFLAGS= -disjoint-debug-callsite setClusters innerKMeansSetting 20
11 #DEBUGFLAGS= -disjoint-debug-callsite ensureCapacity addElement 100
14 #################################################
16 ## To get snapshots (graphs) for the exit of every
17 ## node in a method, supply method symbol then the
18 ## number of analysis visits to the method to skip
19 ## (early visits usually uninteresting), then the
20 ## number of visits to take snapshots for, finally
21 ## a boolean value indicating if the analysis should
22 ## immediately terminate after the last snapshot visit
24 #################################################
25 #SNAPFLAGS= -disjoint-debug-snap-method calcGoodFeatureTask 5 10 true
26 #SNAPFLAGS= -disjoint-debug-snap-method calcGoodFeature 5 1 true
27 #SNAPFLAGS= -disjoint-debug-snap-method t3 1 1 true
33 JAVAFLAGS= -mainclass test
35 VISITMODE= -disjoint-dvisit-stack
36 #VISITMODE= -disjoint-dvisit-pqueue
37 #VISITMODE= -disjoint-dvisit-stack-callees-on-top
39 DEBUGMODE= -enable-assertions -disjoint-write-dots final -disjoint-alias-file aliases.txt normal
40 RELEASEMODE= -disjoint-release-mode -disjoint-alias-file aliases.txt tabbed
42 BSFLAGS= -justanalyze -disjoint -disjoint-k 1 -flatirusermethods
45 echo 'pass another arg: <bamboo/bamboo-release/java/java-release>'
48 $(BUILDSCRIPT) $(BAMBOOFLAGS) $(DEBUGMODE) $(VISITMODE) $(BSFLAGS) $(DEBUGFLAGS) $(SNAPFLAGS) *.java
51 $(BUILDSCRIPT) $(BAMBOOFLAGS) $(DEBUGMODE) -disjoint-dvisit-stack $(BSFLAGS) $(DEBUGFLAGS) $(SNAPFLAGS) *.java
54 $(BUILDSCRIPT) $(BAMBOOFLAGS) $(DEBUGMODE) -disjoint-dvisit-pqueue $(BSFLAGS) $(DEBUGFLAGS) $(SNAPFLAGS) *.java
57 $(BUILDSCRIPT) $(BAMBOOFLAGS) $(DEBUGMODE) -disjoint-dvisit-stack-callees-on-top $(BSFLAGS) $(DEBUGFLAGS) $(SNAPFLAGS) *.java
61 $(BUILDSCRIPT) $(BAMBOOFLAGS) $(RELEASEMODE) $(VISITMODE) $(BSFLAGS) $(DEBUGFLAGS) $(SNAPFLAGS) *.java
64 $(BUILDSCRIPT) $(JAVAFLAGS) $(DEBUGMODE) $(VISITMODE) $(BSFLAGS) $(DEBUGFLAGS) $(SNAPFLAGS) *.java
67 $(BUILDSCRIPT) $(JAVAFLAGS) $(RELEASEMODE) $(VISITMODE) $(BSFLAGS) $(DEBUGFLAGS) $(SNAPFLAGS) *.java
71 rm -fr tmpbuilddirectory