Commit Graph

672 Commits

Author SHA1 Message Date
sjfink c09e8b46bc bug fix for "abstract interface"
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2159 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-12 18:21:29 +00:00
sjfink cda2d0e6de initial check-in
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2157 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-11 18:36:08 +00:00
sjfink 4b73238606 clean up Language and AnalysisScope interface
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2152 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-11 16:33:58 +00:00
sjfink 4092d80c0e add @Override annotations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2142 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-10 05:28:33 +00:00
dolby-oss 4f4f941ddd refactor to allow SSAAbstractInvokeInstruction to represent invokes with multiple return values, as needed by some languages
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2130 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-10 04:23:13 +00:00
yahave 3603e9b4a2 allow subclasses to access cg and pointeranalysis (make fields protected instead of private)
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2129 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-09 16:53:11 +00:00
yahave 2f0c0072ba allow direct construction of class hierarchy
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2128 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-08 21:21:24 +00:00
dolby-oss 99cfde2030 fix for Sun javac compile issue
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2124 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-07 01:48:21 +00:00
schandra_sf 1293d730f9 Getting rid of @Overrides
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2123 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-06 22:24:05 +00:00
sjfink 8fe21cc50d delete some obsolete incorrect debug code.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2122 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-06 19:57:50 +00:00
sjfink 6bebc54148 bug fix: assume Java language by default.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2120 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-06 19:46:15 +00:00
sjfink dc6b9afd0e more words
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2119 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-06 19:29:50 +00:00
rmfuhrer a66327a038 Weakened assertions that insisted that the type being allocated isArrayType(); now the types must either answer isArrayType(), or not be from the Java ClassLoader.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2115 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-06 14:55:50 +00:00
rmfuhrer 10dfaf51b3 Now maintains a set of "compatible" Languages that contribute types to the given ClassHierarchy, which has a unique root type.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2114 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-06 14:53:29 +00:00
rmfuhrer 728b86d817 Now maintains a set of Languages (supplied by the client) that are involved in the current analysis, and provides API for identifying the set of "base languages" (relative to the specified inheritance relationships among Languages), each of which induces a distinct ClassHierarchy.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2113 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-06 14:49:22 +00:00
rmfuhrer 0c87273fd8 Default implementation of buildAnalysisScope() now adds the Java Language to the scope.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2112 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-06 14:47:00 +00:00
rmfuhrer 7278cf71ff Extracted base Language implementation to a separate class for better reuse.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2111 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-06 14:32:59 +00:00
rmfuhrer da1ac21d12 Added API to Language for representing the hierarchy of languages, which is necessary for WALA ClassLoaders to correlate loaders to Languages and know which languages share a ClassHierarchy.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2110 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-06 14:31:45 +00:00
sjfink 6723d33683 bug fix and related API changes for interface type tests
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2104 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-05 19:49:03 +00:00
sjfink 0c837f78ce add support for enable-assertions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2098 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-05 16:20:39 +00:00
loginov d394f8c558 Made cg & partialRoots fields, as well as the
constructor protected instead of private.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2097 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-05 03:29:31 +00:00
schandra_sf 3109dfa77a fixed @Override
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2092 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-03 22:33:18 +00:00
schandra_sf 45d2024c25 removed an @Override
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2091 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-03 22:32:43 +00:00
sjfink 99fbd5e1c5 misc cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2090 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-03 19:18:34 +00:00
sjfink cc46007145 change some WalaExceptions into IOExceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2089 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-03 18:02:49 +00:00
sjfink a706751024 bug fix in infinite loop check
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2088 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-03 16:14:28 +00:00
sjfink 5129408291 add words
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2087 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-03 15:42:58 +00:00
sjfink 5dc5550b53 clean up model of arraycopy
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2086 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-03 15:42:35 +00:00
sjfink 4c973295e9 git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2085 f5eafffb-2e1d-0410-98e4-8ec43c5233c4 2007-12-03 15:41:59 +00:00
sjfink f9549c3200 git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2084 f5eafffb-2e1d-0410-98e4-8ec43c5233c4 2007-12-03 15:41:38 +00:00
sjfink 6606741e2b tweak a comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2083 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-30 13:52:00 +00:00
sjfink 2bb8e2cad8 add some fault-tolerance; throw an exception if bad things happen
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2082 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-30 13:51:43 +00:00
sjfink cc4c67d667 arraycopy fixes from marco
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2081 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-29 18:57:22 +00:00
sjfink cc1ea1a081 marco's updates
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2080 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-29 18:56:37 +00:00
sjfink f2c1acaabb add an instance key to model the char[] contents of a string constant
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2079 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-29 18:54:44 +00:00
sjfink de61e14c0b better String models from Marco
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2078 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-29 18:38:10 +00:00
sjfink f6ebdd8eee first phase of restructuring to fix string constant pointer analysis problems
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2076 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-29 18:22:39 +00:00
sjfink 95042b1f2f fix some comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2075 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-29 17:18:43 +00:00
sjfink bb1fd3dc3f 1. delete obsolete benign.xml
2. more accurate model of array copy
3. bug fix in subtype test for class hierarchy
4. bug fix in OTF call graph fix point iteration
5. bug fix for RTA and ClassNotFoundException.
also misc. minor cleanups

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2074 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-29 04:01:25 +00:00
sjfink c50b73dce1 delete unnecessary WalaException
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2072 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-27 18:04:00 +00:00
sjfink 914d348b90 fix some comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2071 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-27 14:07:56 +00:00
sjfink 19ab8669f9 bug fix for missing node
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2070 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-27 01:26:26 +00:00
sjfink 2612c1b343 initial revision
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2069 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-26 15:25:23 +00:00
sjfink 097fef07a6 clean up comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2068 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-23 21:45:13 +00:00
sjfink 9bca15572b tweak comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2067 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-23 18:32:01 +00:00
dolby-oss b6ca712d47 some support for customized bypass method target selectors
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2066 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-23 01:17:20 +00:00
sjfink 698eaf87b6 delete redundant method CGNode.iterateSites()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2063 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-20 15:50:19 +00:00
sjfink 73b248b2a9 add some comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2060 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-20 15:02:18 +00:00
sjfink 4aa0ca69cf more words
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2059 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-20 14:12:43 +00:00
sjfink 93f189f42e special CancelException support during tabulation
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2058 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-19 16:24:11 +00:00