IRC.git
12 years agochanges to MGC classlibrary
jzhou [Fri, 20 Jan 2012 01:54:03 +0000 (01:54 +0000)]
changes to MGC classlibrary

12 years agorunning new experiments
jjenista [Fri, 20 Jan 2012 01:42:22 +0000 (01:42 +0000)]
running new experiments

12 years agohave another way to assign a THIS LOCATION to method: using @THISLOC annotation on...
yeom [Fri, 20 Jan 2012 00:30:49 +0000 (00:30 +0000)]
have another way to assign a THIS LOCATION to method: using @THISLOC annotation on the method declaration as the example section of ssjava paper.

12 years agochanges to MGC class library
jzhou [Wed, 18 Jan 2012 01:17:20 +0000 (01:17 +0000)]
changes to MGC class library

12 years agopredicates are not feasible to flip on and off. The entire splicing mechanism for...
jjenista [Tue, 17 Jan 2012 23:24:05 +0000 (23:24 +0000)]
predicates are not feasible to flip on and off.  The entire splicing mechanism for interprocedural analysis uses predicates of callee elements to match fuse points in the caller context.  This is critical because all the caller context heap references and variables out of the callee context can commonly reference different nodes after callee analysis.  When you remove predicates and bring the entire callee context into the caller, the current system *correctly* has no fuse points for the callee elements and wouldn't reference them.

12 years agofix up summarize-per-class mode
jjenista [Tue, 17 Jan 2012 22:58:14 +0000 (22:58 +0000)]
fix up summarize-per-class mode

12 years agoget set up for experiment: test impact of disabling components
jjenista [Tue, 17 Jan 2012 19:48:51 +0000 (19:48 +0000)]
get set up for experiment: test impact of disabling components

12 years agodefreach experiment
jjenista [Mon, 9 Jan 2012 19:10:15 +0000 (19:10 +0000)]
defreach experiment

12 years agoconvergence test for defreach
jjenista [Mon, 9 Jan 2012 19:09:11 +0000 (19:09 +0000)]
convergence test for defreach

12 years agothis little example only parallelizes for oooj with defreach
jjenista [Fri, 6 Jan 2012 23:41:12 +0000 (23:41 +0000)]
this little example only parallelizes for oooj with defreach

12 years agoadd System.nanoTimes() support in MGC version
jzhou [Fri, 6 Jan 2012 22:21:16 +0000 (22:21 +0000)]
add System.nanoTimes() support in MGC version

12 years agoget this dir too
jjenista [Fri, 6 Jan 2012 21:44:49 +0000 (21:44 +0000)]
get this dir too

12 years agonot working out like I wanted
jjenista [Fri, 6 Jan 2012 19:02:29 +0000 (19:02 +0000)]
not working out like I wanted

12 years agoa useful example that needs defreach
jjenista [Fri, 6 Jan 2012 18:14:26 +0000 (18:14 +0000)]
a useful example that needs defreach

12 years agotweaks for running definite reach
jjenista [Fri, 6 Jan 2012 18:13:30 +0000 (18:13 +0000)]
tweaks for running definite reach

12 years agoremove the '$' in the C code as tilera does not allow it
jzhou [Thu, 5 Jan 2012 01:26:50 +0000 (01:26 +0000)]
remove the '$' in the C code as tilera does not allow it

12 years agoremove the '$' in the C code as tilera does not allow it
jzhou [Wed, 4 Jan 2012 01:25:14 +0000 (01:25 +0000)]
remove the '$' in the C code as tilera does not allow it

12 years agoaccidentally changed this makefile, roll it back
jzhou [Fri, 30 Dec 2011 00:21:56 +0000 (00:21 +0000)]
accidentally changed this makefile, roll it back

12 years agochanges to classes
jzhou [Fri, 30 Dec 2011 00:18:30 +0000 (00:18 +0000)]
changes to classes

12 years agochanges to MGC class library
jzhou [Wed, 28 Dec 2011 00:48:54 +0000 (00:48 +0000)]
changes to MGC class library

12 years agoAnother bug fix for inner class code: when trying to find a field in the surrounding...
jzhou [Wed, 21 Dec 2011 02:00:30 +0000 (02:00 +0000)]
Another bug fix for inner class code: when trying to find a field in the surrounding classes, the this was wrongly constructred.

12 years agoFix some inner class related bugs: 1) whenever a class is added into the class list...
jzhou [Tue, 20 Dec 2011 00:15:20 +0000 (00:15 +0000)]
Fix some inner class related bugs: 1) whenever a class is added into the class list of state, it should check its inner class list to do addOuterClassParam() and addOuterClassReferences() operations, previously a lot of this checking is missing 2) previously the ith lexically enclosing instance for a deeply nested inner class was wrongly passed in to the inner class' constructor

12 years agotest case for the ownership checking
yeom [Fri, 16 Dec 2011 19:58:12 +0000 (19:58 +0000)]
test case for the ownership checking

12 years agochanges to MGC class library
jzhou [Fri, 16 Dec 2011 01:42:49 +0000 (01:42 +0000)]
changes to MGC class library

12 years agoFinally, all benchmarks pass the definitely written analysis
yeom [Thu, 15 Dec 2011 21:57:19 +0000 (21:57 +0000)]
Finally, all benchmarks pass the definitely written analysis

12 years agoNew shared loc analysis found a shared location that is not overwritten completely...
yeom [Thu, 15 Dec 2011 21:32:43 +0000 (21:32 +0000)]
New shared loc analysis found a shared location that is not overwritten completely in the synthesis filter. Decoder adds input samples to the Synthesis Filter in circular fashion, which means it needs to keep the last position of the previous loop of the decode to the circular queue. However, the value of start index does not matter because the synthesis filter resumes a normal behavior, as long as data is added to the synthesis filter in a row. Therefore, a workaround solution is that BitStream, which is trusted to ss, assigns the index of header that is incremented by one, and then the decoder overwrites the location of the last position in the Synthesis Filter using the header index. Even the header index value is corrupted, the synthesis filter will resume because BitStream is going to providing following headers.

12 years agochanges to MGC class library
jzhou [Thu, 15 Dec 2011 02:07:29 +0000 (02:07 +0000)]
changes to MGC class library

12 years agoassociate assignment nodes that writes to the same height location with corresponding...
yeom [Thu, 15 Dec 2011 01:27:15 +0000 (01:27 +0000)]
associate assignment nodes that writes to the same height location with corresponding flat nodes in order to check  definitely written rules easily.

12 years agofix mp3decoder: clear memory locations that are not overwritten.
yeom [Thu, 15 Dec 2011 01:21:45 +0000 (01:21 +0000)]
fix mp3decoder: clear memory locations that are not overwritten.

12 years agochanges to MGC class library
jzhou [Wed, 14 Dec 2011 01:38:54 +0000 (01:38 +0000)]
changes to MGC class library

12 years agochanges.
yeom [Tue, 13 Dec 2011 01:43:14 +0000 (01:43 +0000)]
changes.

12 years agoChanges to MGC class library and some missing unit test files for inner class
jzhou [Tue, 13 Dec 2011 01:02:51 +0000 (01:02 +0000)]
Changes to MGC class library and some missing unit test files for inner class

12 years agofix another bug: callee propagated wrong write effects associated with its local...
yeom [Mon, 12 Dec 2011 19:51:01 +0000 (19:51 +0000)]
fix another bug: callee propagated wrong write effects associated with its local vars to the caller's may-write set.

12 years agomore changes, but still broken with mp3decoder
yeom [Mon, 12 Dec 2011 01:18:55 +0000 (01:18 +0000)]
more changes, but still broken with mp3decoder

12 years agoChanges to MGC class library and fix a bug regarding nested inline class declaration
jzhou [Sat, 10 Dec 2011 01:24:01 +0000 (01:24 +0000)]
Changes to MGC class library and fix a bug regarding nested inline class declaration

12 years agochanges.
yeom [Sat, 10 Dec 2011 00:17:50 +0000 (00:17 +0000)]
changes.

12 years agofix a nasty bug: writes on local array elements was treated as field writes.
yeom [Fri, 9 Dec 2011 02:28:27 +0000 (02:28 +0000)]
fix a nasty bug: writes on local array elements was treated as field writes.

12 years agofix heap path propagation and generate error msg with more information
yeom [Thu, 8 Dec 2011 02:10:50 +0000 (02:10 +0000)]
fix heap path propagation and generate error msg with more information

12 years agochanges to MGC class library
jzhou [Wed, 7 Dec 2011 01:16:50 +0000 (01:16 +0000)]
changes to MGC class library

12 years agochanges while trying to compile MP3Decoder
yeom [Tue, 6 Dec 2011 18:05:50 +0000 (18:05 +0000)]
changes while trying to compile MP3Decoder

12 years agochanges for getting the right path of static references
yeom [Tue, 6 Dec 2011 00:35:11 +0000 (00:35 +0000)]
changes for getting  the right path of static references

12 years agonew analysis found one shared location that is not overwritten in the eyetracking...
yeom [Tue, 6 Dec 2011 00:00:35 +0000 (00:00 +0000)]
new analysis found one shared location that is not overwritten in the eyetracking benchmark, fixed it.

12 years agofixes on analyses to compile the eyetracking benchmark
yeom [Mon, 5 Dec 2011 23:57:49 +0000 (23:57 +0000)]
fixes on analyses to compile the eyetracking benchmark

12 years agofixes
yeom [Mon, 5 Dec 2011 18:10:30 +0000 (18:10 +0000)]
fixes

12 years agoit has passed test cases
yeom [Sat, 3 Dec 2011 01:44:20 +0000 (01:44 +0000)]
it has passed test cases

12 years agoFix another inner class bug: every inner class along the inherited chain has a pointe...
jzhou [Sat, 3 Dec 2011 01:42:41 +0000 (01:42 +0000)]
Fix another inner class bug: every inner class along the inherited chain has a pointer to its enclosing class; If an inner class inherits from another inner class, when it calls the constructor of its super class, it passes in its enclosing class for the superenclosing class by default

12 years agoget the right cover set wrt shared location path.
yeom [Fri, 2 Dec 2011 19:56:03 +0000 (19:56 +0000)]
get the right cover set wrt shared location path.
working on transfuncs for event loop analysis.

12 years agofix problems of shared loc extension
yeom [Thu, 1 Dec 2011 20:38:19 +0000 (20:38 +0000)]
fix problems of shared loc extension

12 years agochanges.
yeom [Thu, 1 Dec 2011 02:04:35 +0000 (02:04 +0000)]
changes.

12 years agoAccording to Brian's comments, check the lside of assignment operation first to get...
jzhou [Wed, 30 Nov 2011 20:09:12 +0000 (20:09 +0000)]
According to Brian's comments, check the lside of assignment operation first to get its type. Then use that type to check the array initialization node.

12 years agomore changes.
yeom [Wed, 30 Nov 2011 00:50:58 +0000 (00:50 +0000)]
more changes.

12 years agoArray field initialization was accidentally broken. Fix it and add ArrayInitializerTe...
jzhou [Tue, 29 Nov 2011 20:47:41 +0000 (20:47 +0000)]
Array field initialization was accidentally broken. Fix it and add ArrayInitializerTest into the unit test suit in case it is broken again

12 years agohave n-to-1 mapping from location paths to a set of may-written shared descriptors.
yeom [Tue, 29 Nov 2011 20:07:16 +0000 (20:07 +0000)]
have n-to-1 mapping from location paths to a set of may-written shared descriptors.
every call site propagates a set of may-written shared descriptors to the caller's arg location paths.
if an argument is bound to the callee's parameter leading to a write effect on shared locations, the corresponding location path that is started with the callee's param location will be bound to the caller's arg location path.
For example, suppose that caller has an arg with location path <A,B> and corresponding callee has param with location <L,C>. If the param leads to an write effect on shared location "F" through the location path <L,C,D,E>, the caller will have an write effect on F with the location path <A,B,C,D,E>.

12 years agoFix a small bug about enumaration type: it should be able to recorgnize access patter...
jzhou [Tue, 29 Nov 2011 01:00:40 +0000 (01:00 +0000)]
Fix a small bug about enumaration type: it should be able to recorgnize access pattern like Classname.EnumName.X

12 years agochanges
jzhou [Thu, 24 Nov 2011 00:44:20 +0000 (00:44 +0000)]
changes

12 years agoFix another inner class bug: an inner class which is declared in a *static context...
jzhou [Wed, 23 Nov 2011 00:25:49 +0000 (00:25 +0000)]
Fix another inner class bug: an inner class which is declared in a *static context* should not have lexically enclosing instances, instead, if it is immediately declared within a static method or static initializer then the inner class does have an enclosing block, which is the innermost block statement lexically enclosing the declaration of the inner class.

12 years agoworking on shared loc extension: need to keep additional mappings from shared loc...
yeom [Tue, 22 Nov 2011 19:15:28 +0000 (19:15 +0000)]
working on shared loc extension: need to keep additional mappings from shared loc composite location to a set of may written descriptors.

12 years agofix some MGC classes
jzhou [Sat, 19 Nov 2011 00:57:39 +0000 (00:57 +0000)]
fix some MGC classes

12 years agovector resize isn't a problem, even without definite reachability, because we have...
jjenista [Fri, 18 Nov 2011 21:41:47 +0000 (21:41 +0000)]
vector resize isn't a problem, even without definite reachability, because we have a special case of def reach just for array references

12 years agoclass library changes
jzhou [Fri, 18 Nov 2011 00:41:22 +0000 (00:41 +0000)]
class library changes

12 years agofixed double negate bug, 3rd case of def reach works now
jjenista [Fri, 18 Nov 2011 00:11:32 +0000 (00:11 +0000)]
fixed double negate bug, 3rd case of def reach works now

12 years agocase 3 of definite reach, all coded but has bugs because test case does the messy...
jjenista [Thu, 17 Nov 2011 23:31:18 +0000 (23:31 +0000)]
case 3 of definite reach, all coded but has bugs because test case does the messy store anyway still

12 years agoa missing check
jzhou [Tue, 15 Nov 2011 20:45:39 +0000 (20:45 +0000)]
a missing check

12 years agoBug fix of inner class: only add LIVE local variables that are referred to in an...
jzhou [Tue, 15 Nov 2011 20:10:26 +0000 (20:10 +0000)]
Bug fix of inner class: only add LIVE local variables that are referred to in an anonymous inner class into the inner class' fields. Previously we add all the local variables into an anonymous inner class which could be buggy. Also add a super(...) invocation into the anonymous constructor of an anonymous inner class according to the Java spec.

13 years agoAdd a new feature for inner class: an anonymous inner class can now refer to the...
jzhou [Tue, 15 Nov 2011 00:41:04 +0000 (00:41 +0000)]
Add a new feature for inner class: an anonymous inner class can now refer to the local variables in its defintion context. The fix is not completely apply to Java specification in that we do not check if the local variables are final. According to the Java spec, only final variables can be referred to by the snonymous inner class

13 years agoworking on shared loc extension
yeom [Mon, 14 Nov 2011 22:27:01 +0000 (22:27 +0000)]
working on shared loc extension

13 years agoNeed a new inner class feature: let the anonymous inner class be able to access local...
jzhou [Sat, 12 Nov 2011 00:34:57 +0000 (00:34 +0000)]
Need a new inner class feature: let the anonymous inner class be able to access local variable that is final. Add test about this new feature into the unit test of inner class. This feature is not implemented yet. So disable the inner test in Tests/DoTest temorarily. Will add it back when our compiler can pass this unit test. And it seems that the this___enclosing field of inner classes is no longer used, disable it. Add a new method valueOf(int) into Interger class

13 years agoMake the compiler to support super.X/L.super.X which access super class' fields....
jzhou [Fri, 11 Nov 2011 21:08:41 +0000 (21:08 +0000)]
Make the compiler to support super.X/L.super.X which access super class' fields. We might still not be able to correctly support access to super class' methods like super.foo(). Also fix another nested class bug. Previously the unit test StaticInnerClassTest was broken because of newly added inner class support. Note that nested class (static inner class) should NOT have reference to its surrounding class in its constructor as it is static and can be created without any outer class instance.

13 years agoworking on the written check.
yeom [Fri, 11 Nov 2011 01:36:58 +0000 (01:36 +0000)]
working on the written check.

13 years agogot 2nd case of def reach up and running, one to go
jjenista [Fri, 11 Nov 2011 00:38:51 +0000 (00:38 +0000)]
got 2nd case of def reach up and running, one to go

13 years agoFix inner class implementation. Now code like inner.this.X/outer.this.X work correctl...
jzhou [Fri, 11 Nov 2011 00:18:09 +0000 (00:18 +0000)]
Fix inner class implementation. Now code like inner.this.X/outer.this.X work correctly. And the inner class can correctly refer to the fields/methods defined in the surrounding class.

13 years agochange the email list...stop spamming people
bdemsky [Thu, 10 Nov 2011 20:18:38 +0000 (20:18 +0000)]
change the email list...stop spamming people

13 years agoChange back the inner class test case
jzhou [Thu, 10 Nov 2011 19:47:42 +0000 (19:47 +0000)]
Change back the inner class test case

13 years agoFix inner class bug: the inner class cannot correctly refer to outer class' fields...
jzhou [Thu, 10 Nov 2011 19:33:30 +0000 (19:33 +0000)]
Fix inner class bug: the inner class cannot correctly refer to outer class' fields/methods and cannot refre to its super class' fields too

13 years agoworking on the second case where definite reach can improve results
jjenista [Thu, 10 Nov 2011 18:59:04 +0000 (18:59 +0000)]
working on the second case where definite reach can improve results

13 years agoAWESOME. Used just the R relation of definite reach to successfully improve the...
jjenista [Thu, 10 Nov 2011 00:38:35 +0000 (00:38 +0000)]
AWESOME.  Used just the R relation of definite reach to successfully improve the reachability results of a simple example

13 years agosuccessfully keep def reach info just for the store transform
jjenista [Thu, 10 Nov 2011 00:16:50 +0000 (00:16 +0000)]
successfully keep def reach info just for the store transform

13 years agobug fix: retrieve by full key returned empty set, now correct
jjenista [Thu, 10 Nov 2011 00:09:42 +0000 (00:09 +0000)]
bug fix: retrieve by full key returned empty set, now correct

13 years agoUpdating the test case files
spikeuci [Wed, 9 Nov 2011 02:16:25 +0000 (02:16 +0000)]
Updating the test case files

13 years agoHandling the case NAME DOT THIS for inner classes
spikeuci [Wed, 9 Nov 2011 02:14:53 +0000 (02:14 +0000)]
Handling the case NAME DOT THIS for inner classes

13 years agodef reach has to use PointerMethod to detect CFG edges that the analysis cares about
jjenista [Wed, 9 Nov 2011 00:34:10 +0000 (00:34 +0000)]
def reach has to use PointerMethod to detect CFG edges that the analysis cares about

13 years agofix silly off-by-one bug
jjenista [Tue, 8 Nov 2011 22:14:12 +0000 (22:14 +0000)]
fix silly off-by-one bug

13 years agopush a bunch of old changes i had related to inner classes and such... hope this...
bdemsky [Tue, 8 Nov 2011 00:10:25 +0000 (00:10 +0000)]
push a bunch of old changes i had related to inner classes and such...  hope this doesn't break anything for anyone

13 years agofound a bug, results still empty
jjenista [Mon, 7 Nov 2011 22:27:46 +0000 (22:27 +0000)]
found a bug, results still empty

13 years agotransfer funcs for the R relation of def reach coded, but buggy, results are empty
jjenista [Mon, 7 Nov 2011 21:50:35 +0000 (21:50 +0000)]
transfer funcs for the R relation of def reach coded, but buggy, results are empty

13 years agofix: the callee can return only its owned obj
yeom [Sat, 5 Nov 2011 19:22:26 +0000 (19:22 +0000)]
fix: the callee can return only its owned obj

13 years agoadd evaluation files
yeom [Fri, 4 Nov 2011 21:54:44 +0000 (21:54 +0000)]
add evaluation files

13 years agoforgot to commit
yeom [Fri, 4 Nov 2011 21:22:31 +0000 (21:22 +0000)]
forgot to commit

13 years agoBug fixed
spikeuci [Fri, 28 Oct 2011 21:03:13 +0000 (21:03 +0000)]
Bug fixed

13 years agoThis completes the barebones versions of inner class, we are now able to access field...
spikeuci [Fri, 28 Oct 2011 20:35:43 +0000 (20:35 +0000)]
This completes the barebones versions of inner class, we are now able to access fields of surrounding classes in any level, need to check for compatibility with language spec especially use of statics and so forth

13 years agoupdate location identifier according to changes of class structure
yeom [Fri, 28 Oct 2011 18:27:02 +0000 (18:27 +0000)]
update location identifier according to changes of class structure

13 years agobug fix:
yeom [Fri, 28 Oct 2011 17:58:43 +0000 (17:58 +0000)]
bug fix:
the last changes for another benchmark causes a problem to mp3decoder: field access through the chain of array generates the composite location with one missing component.

13 years agolooks like the output is Left and Right channels interleaved, only sample one for...
jjenista [Fri, 28 Oct 2011 00:31:49 +0000 (00:31 +0000)]
looks like the output is Left and Right channels interleaved, only sample one for pretty graphs

13 years agomake it easy to collect data for the paper's error injection figure
jjenista [Thu, 27 Oct 2011 18:55:30 +0000 (18:55 +0000)]
make it easy to collect data for the paper's error injection figure

13 years agoexploring error injection space
jjenista [Thu, 27 Oct 2011 17:39:48 +0000 (17:39 +0000)]
exploring error injection space

13 years agothe static inner classes are not being used, but Subu's work is seeing them and compl...
jjenista [Wed, 26 Oct 2011 15:48:44 +0000 (15:48 +0000)]
the static inner classes are not being used, but Subu's work is seeing them and complaining, so I moved them out.  Also twiddled the Player code to generate a normal and error output sampling for experiments, WITHOUT SSJAVA notation, so the analysis won't run on this benchmark at the moment

13 years agotweak scripts to take mp3 filename argument
jjenista [Wed, 26 Oct 2011 15:46:28 +0000 (15:46 +0000)]
tweak scripts to take mp3 filename argument

13 years agorestrict error injection to non-array primitive types so we can use a random value...
jjenista [Wed, 26 Oct 2011 15:38:49 +0000 (15:38 +0000)]
restrict error injection to non-array primitive types so we can use a random value instead of zero to get a wackier program behavior deviation

13 years agoadd longer mp3 file for test
yeom [Tue, 25 Oct 2011 23:41:16 +0000 (23:41 +0000)]
add longer mp3 file for test

13 years agodef reach coming along
jjenista [Tue, 25 Oct 2011 22:34:55 +0000 (22:34 +0000)]
def reach coming along