Commit Graph

605 Commits

Author SHA1 Message Date
sjfink 8e52444761 make many fields final
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1232 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 21:38:35 +00:00
sjfink d263256581 bug fix from recent refactoring
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1231 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 18:53:56 +00:00
sjfink 5bb36f7559 git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1230 f5eafffb-2e1d-0410-98e4-8ec43c5233c4 2007-06-01 18:50:52 +00:00
sjfink e5e40ab661 1) change implementation of CGNode hierarchy to avoid type parameters.
2) nuke BasicEntrypoints
3) tweak interface to InstanceKeyFactory for constants
4) refactoring for HeadlessWALA application

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1229 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 18:50:37 +00:00
sjfink 54e14d22e6 1) change implementation of CGNode hierarchy to avoid type parameters.
2) nuke BasicEntrypoints
3) tweak interface to InstanceKeyFactory for constants
4) refactoring for HeadlessWALA application

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1228 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 18:50:31 +00:00
sjfink 56f4bec3ea 1) change implementation of CGNode hierarchy to avoid type parameters.
2) nuke BasicEntrypoints
3) tweak interface to InstanceKeyFactory for constants
4) refactoring for HeadlessWALA application

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1227 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 18:50:24 +00:00
sjfink 00f604ee6f 1) adjust somewhat to recent API changes.
2) fix equals() bug in Statement
3) general cleanups

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1225 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 14:06:26 +00:00
sjfink a0cfeac136 1) adjust somewhat to recent API changes.
2) fix equals() bug in Statement
3) general cleanups

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1224 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 14:06:17 +00:00
sjfink 576251be0c 1) adjust somewhat to recent API changes.
2) fix equals() bug in Statement
3) general cleanups

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1223 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 14:06:13 +00:00
sjfink 8bd2aaf0a4 1) adjust somewhat to recent API changes.
2) fix equals() bug in Statement
3) general cleanups

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1221 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 14:05:51 +00:00
dolby-oss cecb1a571d adapt to wala changes for cross-language call graphs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1220 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 03:56:07 +00:00
dolby-oss caab59282a adapt to wala changes for cross-language call graphs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1219 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 03:37:25 +00:00
dolby-oss cb8692477b support for cross-language call graphs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1218 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 03:37:03 +00:00
dolby-oss ba7b7b53ca adapt to wala changes for cross-language call graphs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1217 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 03:33:48 +00:00
dolby-oss 66b19b8666 support for cross-language call graphs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1216 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 03:32:56 +00:00
dolby-oss 8472f026f5 support for cross-language call graphs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1215 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 03:31:35 +00:00
dolby-oss 30f01f77a4 adapt to wala changes for cross-language call graphs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1213 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 03:27:41 +00:00
dolby-oss 0ed8d96d55 Changes to allow cross-language call graphs. The three biggest changes are as follows:
1) The visitors nested in the SSAPropagationCallGraph have become static classes so that they can be reused in a delegation pattern for the cross-language call graph builder.
2) The ClassHierarchy is now encapsulated behind an IClassHierarchy interface to allow for a CrossLanguageClassHierarchy that delegates to a set of child hierarchies, one for each language.  The internals of the ClassHierarchy are almost entirely unchanged
3) There is now a new Language interface in com.ibm.wala.classLoader, and all IClassLoader objects have to know what language they load for.  This language object now encapsulates a few language-specific options that were previously hacked into the AnalysisOptions object.


git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1212 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 03:26:18 +00:00
sjfink b8cb3a7e13 move here from incubator project
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1211 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-31 17:55:14 +00:00
sjfink 1c2d4c98ca change some Iterators in API to Collections
remove some unnecessary WarningSet parameters

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1210 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-31 02:39:01 +00:00
sjfink 93e0e4c06e change some Iterators in API to Collections
remove some unnecessary WarningSet parameters

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1209 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-31 02:38:56 +00:00
sjfink 9c58d8e2a8 change some Iterators in API to Collections
remove some unnecessary WarningSet parameters

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1208 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-31 02:38:49 +00:00
sjfink 553ee0faea change some Iterators in API to Collections
remove some unnecessary WarningSet parameters

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1207 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-31 02:38:28 +00:00
sjfink ea9c4a2f93 eliminate some use of raw types
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1206 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-30 20:52:57 +00:00
sjfink 6f2273f48a eliminate some use of raw types
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1205 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-30 20:52:51 +00:00
sjfink 76aa5bb0ba update comment default
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1203 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-30 19:28:04 +00:00
sjfink 94db32b299 cleanup up some old comments and rename InferGraphRootsImpl to InferGraphRoots
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1201 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-30 19:11:59 +00:00
sjfink ea3caa1e8a mostly clean up old comments.
also rename InferGraphRootsImpl to InferGraphRoots

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1200 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-30 19:05:23 +00:00
sjfink e8e0ae5d30 mostly clean up old comments.
also rename InferGraphRootsImpl to InferGraphRoots

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1199 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-30 18:59:34 +00:00
sjfink 60058dec8b add @Overrides annotations and nuke unnecessary casts
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1198 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-30 15:42:59 +00:00
sjfink fdb7a17af3 add @Overrides annotations and nuke unnecessary casts
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1197 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-30 15:16:05 +00:00
sjfink 20948ddc00 make some fields final
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1196 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-29 19:26:46 +00:00
sjfink 6c24d936c7 add a @NonNull annotation
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1195 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-29 19:26:20 +00:00
sjfink e7b16b96e3 add a @NonNull annotation
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1194 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-29 19:24:50 +00:00
sjfink d5ed52b095 check a parameter and throw IllegalArgumentException
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1193 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-29 19:24:35 +00:00
sjfink cb57deb039 add some @NonNull annotations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1192 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-29 17:45:34 +00:00
sjfink 4006f2c6ff changes to search implementation and API
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1189 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-29 17:14:11 +00:00
sjfink 766748b940 more annotations support
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1188 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-29 13:39:14 +00:00
sjfink e6cb8be480 more annotations support
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1187 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-29 13:39:02 +00:00
sjfink 0d83415651 small bug fix in toString()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1186 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-29 13:13:03 +00:00
sjfink fd42c1839d initial revision
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1185 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-28 00:11:24 +00:00
sjfink 9ba9b164df some annotations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1184 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-28 00:11:02 +00:00
sjfink e2174bbdde check some parameters
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1183 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-28 00:09:44 +00:00
schandra_sf 24d1b5f63c Just intconstant(0) for now.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1182 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-27 23:22:33 +00:00
schandra_sf 435ef30fd6 made constructor protected (was private)
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1181 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-27 19:36:56 +00:00
sjfink 8e741a8149 misc cleanup and refactoring
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1180 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-25 19:33:42 +00:00
sjfink af153ec7ff misc cleanup and refactoring
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1179 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-25 19:33:39 +00:00
sjfink b197fe7b8c bug fix in searching.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1178 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-25 19:32:19 +00:00
rmfuhrer 16938f0f70 getLocalReadKey() is now aware that certain invoke instructions
have uses other than parameters and lexical uses (e.g. X10's
async invoke instruction, which has a separate use for the
"place expr").

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1177 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-25 16:41:47 +00:00
rmfuhrer a95a541834 New API method added to identify the last lexical use, used
when invoke instruction references entities other than parameters
and lexical uses (e.g. the "place expr" in X10's async invoke).

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1176 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-25 16:40:54 +00:00