Commit Graph

130 Commits

Author SHA1 Message Date
rmfuhrer ddd7456fc0 Extracted code from computeClassPath() that finds the innermost class loader to a method so that it can be overridden (for languages that derive from Java and use additional ClassLoaderImpls). Added some type parms. computeClassPath() now skips FileModules, in case any "leak" into the module set. Added overridable method skipSourceFile() so that generated source that's in the source path can be skipped (e.g. Java source generated from X10 source files).
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2515 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-31 15:54:05 +00:00
sjfink 1605e7ea45 adjust to change in ModRef API
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2475 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-25 13:55:15 +00:00
sjfink 1064d27836 more cleanup of util packages
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2459 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:53:36 +00:00
sjfink d5b1e3edcc Delete CallGraphBuilderFactory. Related cleanups.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2456 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:38:45 +00:00
sjfink 665d6ffe11 refactoring: move some classes into appropriate packages
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2451 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:20:02 +00:00
sjfink 17f4413f08 just refactoring ... introduce 2 new packages in wala.util.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2445 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:04:37 +00:00
dolby-oss b38097cb7a don't crash on empty IRs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2417 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-19 04:33:03 +00:00
sjfink 8e4275e01c delete obsolete ValueDecorator interface
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2390 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-15 14:40:28 +00:00
sjfink 9aa79306f4 clean up some slicer APIs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2376 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-11 19:20:53 +00:00
sjfink 20445b5e21 tweak code format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2372 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-11 16:51:23 +00:00
sjfink 32200d46d0 nuke support for "dispatch bound" call graph construction heuristic
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2352 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-10 22:05:50 +00:00
sjfink a0e8c87bff tweak code formatting for enums
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2334 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-10 16:26:05 +00:00
sjfink fb4c3ff44d significant refactoring and generalization of instance keys and CFA builders
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2286 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-04 18:24:54 +00:00
sjfink 61eb28bde2 tweak code formatting template
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2263 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-03 16:31:10 +00:00
sjfink 29f015f282 clean up and refactor some APIs surrounding file I/O and exclusions files. Needed in order to allow clients to use some APIs with application-specific exclusions.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2249 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-02 22:27:50 +00:00
sjfink 7828ca63b7 small slicer interface generalizations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2238 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-21 17:49:48 +00:00
sjfink ffcf365596 add method IClass.isStatic()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2233 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-21 15:08:30 +00:00
sjfink d71fc2afa8 revert code compliance level to 5.0
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2203 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-17 18:47:39 +00:00
sjfink 11e68af500 fix some generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2194 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-14 22:09:35 +00:00
dolby-oss 23bf1dda2f patch for file offsets in Positions from Evan Battaglia
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2190 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-14 21:11:45 +00:00
sjfink 73f8d6fe31 patch 1850117, fix some unguarded assertions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2178 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-13 17:08:35 +00:00
dolby-oss 056d8ec27a adapt to language changes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2169 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-12 23:08:29 +00:00
dolby-oss dabff0d1cb adapt to EMF removal
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2163 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-12 21:28:23 +00:00
sjfink f110b252e8 clean up Language and AnalysisScope interface
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2154 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-11 16:34:08 +00:00
sjfink 9846deacec fix compile bugs due to changes in wala.core
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2139 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-10 05:27:01 +00:00
dolby-oss 562c03d0f3 adapt to abstract invoke changes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2133 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-10 04:29:27 +00:00
rmfuhrer aa5150499e Now uses a map from ClassLoaderReference to IRTranslatorExtension, so that source files in different languages are processed by the right kind of IRTranslatorExtension.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2108 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-06 14:28:25 +00:00
rmfuhrer a7993110bb buildAnalysisScope() now calls overridable method makeSourceAnalysisScope() to actually create the scope, so that sub-classes can create a scope that sets up the right set of ClassLoaders to be involved in the analysis.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2107 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-06 14:24:46 +00:00
sjfink 1821e542df more generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2096 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-04 21:40:45 +00:00
sjfink 87987cb09b organize imports
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2045 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 20:57:39 +00:00
sjfink ee18355f81 add some generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2042 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 20:39:12 +00:00
dolby-oss e71d1b4db2 adapt to Wala changes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2026 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 02:52:23 +00:00
sjfink 471e6b1b3e add CancelException to interact with Eclipse progress monitors and thread it through some APIs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2005 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-13 16:19:07 +00:00
dolby-oss c8ffb2650f adapt to wala changes by generating / 0 exceptions when appropriate
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1930 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-23 04:11:24 +00:00
sjfink 07c0f9e485 clean up TypeInference API
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1908 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-19 14:39:15 +00:00
sjfink 2b948676a3 organize imports
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1897 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-19 13:06:58 +00:00
dolby-oss acaea8e3cf fixes for generation of conversion instructions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1896 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-18 02:52:45 +00:00
pistoia 66e7e395e5 Exports the polyglot and javacup jars.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1872 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-12 19:22:12 +00:00
sjfink 9b616a965b tweak build order
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1867 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-12 15:05:42 +00:00
sjfink 97417123e3 bump up source level to 6.0
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1853 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-11 14:26:08 +00:00
sjfink de74acd63c fix build problem
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1781 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-20 02:54:18 +00:00
dolby-oss 4075f6e5b6 fixes for build issues
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1757 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-17 16:01:06 +00:00
dolby-oss 0cb9c7e629 extensions to source java slicer
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1746 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-13 15:09:57 +00:00
egeay 55049dad72 Made the general util method public.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1743 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-11 15:40:31 +00:00
sjfink a193724b5f adapt to wala.core IteratorPlusOne change and clean up some generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1708 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-31 23:51:15 +00:00
sjfink 2c3473b4ac hide Pair constructor; misc. generics-related cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1703 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-31 23:20:00 +00:00
sjfink c18fc8dea0 adapt to new generics in wala core
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1698 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-31 21:50:08 +00:00
egeay a11e72931b Refactorings due to implementation of application for running string analysis along a WALA slice.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1664 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-24 12:37:01 +00:00
yahave 8d5172fbc8 fixed bounds of iteration over symbol table using getMaxValueNumber. Loops should be iterating all the way to the MaxValueNumber returned (i.e., <=).
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1653 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-22 15:33:46 +00:00
dolby-oss 4401975206 fix for inserting casts for binary ops
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1621 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-14 16:10:58 +00:00