Commit Graph

312 Commits

Author SHA1 Message Date
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
dolby-oss 3be623a375 add primitive conversions where appropriate for binary ops
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1620 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-14 15:10:13 +00:00
sjfink 79e48950d1 small cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1598 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-09 17:39:29 +00:00
dolby-oss 6927a87adb add factories and objects to allow slicer to be extended to handle multiple languages
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1596 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-08 12:01:45 +00:00
dolby-oss d830347245 make enclosing object keys usable by others
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1579 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-07 13:47:16 +00:00
dolby-oss f6185c6e98 merge code from loop unroller into standard CAstRewriter
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1559 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-01 15:37:10 +00:00
sjfink 3026eda8a3 decouple IR caching from AnalysisOptions with a new AnalysisCache object
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1517 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-20 15:20:06 +00:00
rmfuhrer e3c6eea00c Added flavors of makeNode() that take Polyglot Positions to identify the position of the CAstNode to be created.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1512 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-19 22:18:27 +00:00
sjfink 0b0d6588f0 fix a build problem
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1495 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-17 13:38:46 +00:00
dolby-oss aa17ea8c7e fixes for default values of null
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1484 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-16 15:10:33 +00:00
sjfink d9ec0292ef fix a build problem
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1480 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-16 14:48:53 +00:00
sjfink f979887706 remove unused import
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1477 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-15 19:20:42 +00:00
rmfuhrer 5b0969d6b6 Added new symbol class InternalCAstSymbol to make intent more
clear than using CAstSymbolImpl with extra boolean arg.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1470 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 22:46:10 +00:00
rmfuhrer 897717acd2 Exposed referenceFor*() methods so that clients can translate
Polyglot type-related objects to their WALA counterparts w/o
attempting to canonicalize them. See the JavaDoc for more info
on why this is necessary.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1463 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 15:48:22 +00:00
rmfuhrer e28bbb74c1 Added some JavaDoc to IdentityMapper interface.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1462 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 15:46:55 +00:00
rmfuhrer 406d5297c1 Made doArrayRead() and doArrayWrite() public, per API change.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1454 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-12 22:50:28 +00:00
dolby-oss d9dad9f495 generalize hackish notion of 'internal' names
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1449 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-12 18:15:27 +00:00
sjfink 797f7d445f use Hash factories everywhere
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1434 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:07:19 +00:00
sjfink 8aa15329d3 organize imports
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1393 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-09 15:49:07 +00:00
sjfink 192f06a387 massive overhaul of Warnings management
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1384 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-06 22:08:34 +00:00
sjfink 5d6eb70c5b miscellaneous housekeeping
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1365 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-06 03:07:24 +00:00
sjfink 192579b816 small cleanups relating to migration to Eclipse 3.3
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1355 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-05 23:55:54 +00:00
dolby-oss 43c1c4bd4a bug fixes and api changes for new assertion checking during ir generation
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1313 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-25 20:09:45 +00:00
sjfink 45495d47c8 organize imports and format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1296 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-18 15:35:40 +00:00
dolby-oss ddba4bb04b refactored new support for rewriting ASTs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1293 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-16 16:05:21 +00:00
tttate 0cc1e16847 * modified/added some classes in order to translate syntax trees in the Java2IRTranslator#translate() method.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1291 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-16 07:53:20 +00:00
sjfink f6edb9f1d3 misc. cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1280 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-15 14:01:32 +00:00
dolby-oss 8bb4982f4e add detail to diagnostic message
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1279 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-15 02:49:30 +00:00
dolby-oss 78881a8db5 export polyglot so that importing projects can use that if they so desire
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1275 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-13 19:19:40 +00:00
sjfink 604e1a742c small cleanup patch (Java 5.0 iterator) from N. Kidd
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1266 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-07 14:16:22 +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
rmfuhrer 6ac22bc251 Fixed typo in fully-qualified class name specifying impl of
the source loader.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1171 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-23 22:55:58 +00:00
rmfuhrer c5f773c230 Made protected the ctor flavor that takes args providing value
#'s for lexically-scoped reads/writes, so that derived classes
(e.g. X10's AsyncInvokeInstruction) can call super as needed.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1170 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-23 22:54:56 +00:00
sjfink e2346dbd86 misc. cleanups and refactoring
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1165 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-23 13:42:40 +00:00
sjfink 57477189ea promote some basic eclipse functions into wala.core
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1147 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-17 14:12:25 +00:00
sjfink 34d3470f01 delete Entrypoints interface.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1132 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-15 17:45:27 +00:00
sjfink 49e8452ab0 feature 1717405: cleanup MemberReference.getDeclaringClass() API
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1111 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-14 17:31:16 +00:00
sjfink 34deb46d7d share errors/warnings settings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1080 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-07 13:28:30 +00:00
sjfink d9d58fb4aa shared code formatter settings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1073 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-07 13:21:27 +00:00
sjfink 59717ff68f remove unused dependencies
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1037 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-02 17:12:26 +00:00
sjfink 4278d66a9e enable project-specific compiler settings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1025 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-30 13:46:54 +00:00
sjfink 6743e8ace6 introduce some generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@996 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-24 14:11:00 +00:00
dolby-oss d35d43682c adapt to type inference changes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@986 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-19 13:49:02 +00:00
sjfink 2768a33c39 refactor JavaSourceAnalysisEngine
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@983 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-18 15:51:14 +00:00
sjfink 525b4394cc just format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@975 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-17 17:33:35 +00:00
sjfink 8acad2cdf6 reorganize eclipse dependencies
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@967 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-17 14:04:43 +00:00
sjfink c3c66d8e2b just format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@943 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-12 14:54:43 +00:00
dolby-oss bea163df41 use new boolean-typed constant values; handle uninitialized values for weird cases involving lexical scoping
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@921 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-04 13:03:33 +00:00
dolby-oss 562f48a4ae add context sensitive engine
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@909 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-29 21:09:41 +00:00
dolby-oss 85151f7bb1 add context sensitive engine
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@908 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-29 18:27:42 +00:00
dolby-oss c73d24f5d6 change notion of position to whole method to include entire source range of body
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@900 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-27 19:58:13 +00:00
sjfink 8ee55f98f1 minor cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@850 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-12 16:09:53 +00:00
dolby-oss 66cd369ee7 Fix type inference for + operations that involve strings
skip synthetic code when trying to deal with enclosing types

fixes to invoke polyglot better so as to use its Unicode support

use constants directly when accessing fields said by polyglot to be constant

support static initializers

use exclusions file in the source analysis engine, if one is provided


git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@840 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-12 02:06:00 +00:00
dolby-oss da7dea28cf add exceptions from checkcast instructions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@787 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-25 02:18:23 +00:00
dolby-oss 30a7cc3fef adapt to class hierarchy changes in CVS polyglot
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@781 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-21 13:03:54 +00:00
sjfink 28b243929b minor cleanups to squash Eclipse warnings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@762 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 22:41:44 +00:00
sjfink 34fa813b47 fix broken build
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@761 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 22:36:05 +00:00
dolby-oss d93196166d avoid some more polyglot assertion failures
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@760 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 17:22:20 +00:00
rmfuhrer 87b64d56a7 Removed polyglot-related libs from the classpath (no longer
necessary).

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@758 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:34:53 +00:00
rmfuhrer 2af4e3b189 Made getTranslatorExtension() public so clients can see it and
get at the IdentityMapper.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@756 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:33:05 +00:00
rmfuhrer 275f9ab4c8 Collected various bits of code from PolyglotJava2CAstTranslator
that map Polyglot AST entities for types, methods, and fields
to the names of their WALA counterparts.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@755 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:31:46 +00:00
rmfuhrer 87d5abe577 Many changes to use the new PolyglotIdentityMapper to map
Polyglot AST entities for types, methods and fields to the
names of their WALA counterparts, in lieu of many redundant
bits of code strewn through this class.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@754 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:29:47 +00:00
rmfuhrer 9ab81816b6 Now maintains a PolyglotIdentityMapper to centralize the
mapping of Polyglot AST entities (types, fields, methods) to
their WALA counterparts.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@753 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:28:02 +00:00
rmfuhrer 7c8d738737 Added accessor method for the PolyglotIdentityMapper associated
with the translator.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@752 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:26:37 +00:00
rmfuhrer 678c795b80 Minor improvement to error message on unhandled node type.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@751 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:25:29 +00:00
rmfuhrer d2b7dfd95d createPass() now needs to pass a PolyglotIdentityMapper to
create a PolyglotJava2CAstTranslator. Accommodate promotion
of CAst from DOMO to WALA.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@750 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:24:50 +00:00
rmfuhrer 63064373c8 Changed range of fTypeMap to be IClass rather than JavaClass
(a) since that's all that was needed, and (b) so that derived
languages can store their IClass implementations there (e.g.
X10's X10AsyncObject).

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@749 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:23:13 +00:00
rmfuhrer 5679b67ed3 Abstracted predicate to determine whether a class has a
lexically enclosing scope into isPossiblyLexicalClass() so that, e.g., X10AsyncObject can
be marked as such.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@748 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:20:33 +00:00
rmfuhrer f0050ef3f3 Changed plugin ID to match project name (for happiness in
Eclipse). Re-added polyglot to plugin dependencies and
removed polyglot packages from the exports list. Changed
bundle name from DOMO to WALA.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@745 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 15:00:12 +00:00
mkogane af9c7715f5 fix Bundle-SymbolicName in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@736 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:11:35 +00:00
dolby-oss 8c0f9991eb some minimal javadoc comments for new instruction classes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@733 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 03:13:46 +00:00
dolby-oss 06c5431ba0 fixes to handling of enclosing objects for inner classes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@703 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-09 18:19:13 +00:00
sjfink 050388a5c1 squash remaining Eclipse warnings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@698 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-09 15:33:10 +00:00
dolby-oss cb78e91b91 adapt to polyglot changes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@693 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-09 00:26:52 +00:00
dolby-oss c16f151f6e launch configurations for download scripts
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@689 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-08 20:35:48 +00:00
sjfink 0cbace78e1 miscellaneous minor cleanups. eclipse build stuff. import statements.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@678 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-08 19:07:47 +00:00
sjfink 6bf64212bf remove non-existant java_cup package
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@667 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-08 17:11:30 +00:00
sjfink 28534df44b tweak to avoid 'realpath', which I can't find for cygwin
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@664 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-08 17:08:52 +00:00
dolby-oss 62bb2b43b1 add script to fetch libraries polyglot.jar and java_cup.jar
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@662 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-08 14:42:14 +00:00
dolby-oss 55e7a45e53 first cut at handling inner classes properly; moving around of code for analysis engines to make them provide a default way to build a call graph
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@657 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-07 18:51:19 +00:00
dolby-oss c4b9499bd2 Initial contribution of core script analysis code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@618 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-02 17:20:09 +00:00