Commit Graph

415 Commits

Author SHA1 Message Date
sjfink 5b83b61c99 delete obsolete comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1779 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-20 02:49:21 +00:00
dolby-oss 09971d0c20 restore copyState method to IVariable with appropriate f-bounded type hackery to get the right argument types in implementors
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1766 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-18 16:27:55 +00:00
sjfink 6ded4834aa default factory for SlowSparseNumberedGraph
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1740 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-07 02:10:13 +00:00
sjfink b9b20a28b5 more IllegalArgumentExceptions and related cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1717 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-04 00:58:16 +00:00
sjfink 83b6561c03 more generics and IllegalArgumentExceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1716 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-03 23:22:19 +00:00
sjfink 182a53ee8f generics for control flow graph and filters
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1712 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-02 14:45:41 +00:00
sjfink c0ee8e04b3 type parameters for IRFactory
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1709 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-01 14:41:14 +00:00
sjfink a91ded2ba3 hide Pair constructor; misc. generics-related cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1700 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-31 23:19:45 +00:00
sjfink eb91983f53 lots of new generics for fixed point solver hierarchy
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1694 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-31 21:38:28 +00:00
sjfink a35a3e05fd misc. cleanups to check for illegal parameters
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1691 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-30 16:11:54 +00:00
sjfink 5f7d87caff more IllegalArgumentException checks
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1687 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-29 13:13:24 +00:00
sjfink 19a0c8a5ad more IllegalArgumentExceptions and declared exceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1665 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-24 15:57:40 +00:00
yahave 26f16be44a make constructor protected instead of private so subclasses can call super instead of using static construction method
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1661 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-23 21:52:20 +00:00
sjfink ff1c0ea48b more IllegalArgumentExceptions and related refactoring
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1657 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-22 16:33:45 +00:00
sjfink 8832a4f6df declare some unchecked exceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1641 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-21 12:51:35 +00:00
sjfink da7aa76217 more precondition checking
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1640 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-21 02:46:01 +00:00
sjfink 97083468b7 bug fix for PointerAnalysisImpl.toString and tests for this
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1636 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-20 21:34:08 +00:00
sjfink a013bb006e cleanups for illegal arguments and unsupported operations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1635 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-20 20:16:43 +00:00
sjfink c2a17a5fbc IllegalArgumentExceptions and minor cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1632 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-20 13:38:41 +00:00
sjfink 7f5f313f0c more checks for IllegalArgumentExceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1630 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-17 21:37:41 +00:00
sjfink 5fd01b4b48 add a small comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1623 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-17 12:41:41 +00:00
sjfink 10f50fb4bf changes to OrdinalSetMapping API
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1622 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-14 17:04:04 +00:00
loginov c6e67b25df Added a setter for entrypoints.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1563 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-01 21:47:27 +00:00
sjfink 1f72a200df add some assertions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1547 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-24 21:30:56 +00:00
sjfink 59368d41ac decouple IR caching from AnalysisOptions with a new AnalysisCache object
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1520 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-20 15:20:41 +00:00
sjfink 155aaf9f50 rename getTrue/FalseSuccessor to getTaken/NotTakenSuccessor and check for IllegalArgumentExceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1510 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-19 17:27:18 +00:00
rmfuhrer f05e79871d Refactored visitArrayLoad() and visitArrayStore() to make
reuse easier in derived ConstraintVisitors. (Used by X10
ConstraintVisitor implementation, which has its own form of
array-related IR instructions.)

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1504 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-17 20:43:56 +00:00
loginov cb4012d939 Added code to methods missing implementations.
Added a make method for a partial graph with a
given set of roots and a given set of nodes.
Added checks for containment of pred/succ
nodes to get[Pred/Succ]NodeNumbers, which
were missing the checks.  Made getNode/getNumber
methods return null/-1 for nodes not in partial
graph (instead of throwing an exception).  May
reconsider this later.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1467 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 20:02:00 +00:00
sjfink 059761fb70 use Hash factories everywhere
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1438 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:08:12 +00:00
sjfink fd1a1d4cae restructure to allow CGNodes to dwell in more than one CallGraph. lift some functions up from CGNode to CallGraph
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1422 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 16:24:58 +00:00
sjfink 6542c0eb0f generics cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1415 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 15:03:20 +00:00
sjfink 096729ad2c clean up some comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1414 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 14:49:11 +00:00
egeay fb41447efc Fixed the package name and removed unused import.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1413 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 13:39:11 +00:00
dolby-oss da80588f40 first cut at partial callo graph implementation
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1412 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 12:20:37 +00:00
sjfink 3ad2f328d7 ensure subclasses override equals and hashcode
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1397 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-09 15:51:12 +00:00
sjfink ee561b0e80 just format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1396 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-09 15:50:40 +00:00
sjfink a304c60f79 more type parameters from Manu
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1391 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-07 01:57:47 +00:00
sjfink 5eb76541f0 massive overhaul of Warnings management
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1382 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-06 22:08:13 +00:00
sjfink 4310457e45 misc. housekeeping and some slicer bug fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1373 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-06 14:11:16 +00:00
sjfink ae534d2d89 minor housekeeping
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1371 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-06 04:18:16 +00:00
sjfink 8864b70d50 miscellaneous housekeeping
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1364 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-06 03:07:14 +00:00
sjfink 2d88f526b6 small cleanups relating to migration to Eclipse 3.3
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1359 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-05 23:56:23 +00:00
sjfink ca0a40c850 delete CallGraph.getInterpreter() and CFGProvider
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1342 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-05 03:04:34 +00:00
sjfink a896d160b7 type parameter from manu
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1331 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-02 17:45:07 +00:00
dolby-oss caa4357cd9 fix optmization to check for no phi nodes, rather than just testing for the exit block. when there are lexically-scoped variables in JavaScript code, then the exit block may have phi nodes (required for upward funarg situations)
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1326 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-29 19:15:18 +00:00
dolby-oss d6a5efccc1 fixes to pointer analysis to handle languages that have a separate 'null' type for which no one should be reading/writing fields
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1322 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-28 14:27:38 +00:00
sjfink 6421783e52 introduce factory for Iterator2Collection
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1308 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-21 16:14:00 +00:00
sjfink 2bc2be30c0 add StringBuilder to isStringish()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1295 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-18 02:41:10 +00:00
sjfink 5333f89345 formatting and comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1283 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-15 14:02:19 +00:00
sjfink b0d31d38cb remove some unnecessary IClassHierarchy parameters
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1254 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-06 20:15:37 +00:00
sjfink 65cc4433cd make some fields final
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1244 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-05 14:01:26 +00:00
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 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 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
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 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 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 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 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 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 bc67070903 small API cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1169 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-23 14:11:10 +00:00
sjfink 3a07a1a1f7 misc. cleanups and refactoring
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1168 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-23 13:43:11 +00:00
sjfink 42e43625cd more argument checking
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1163 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-22 02:26:58 +00:00
sjfink f2f40b3d4e more argument checking
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1154 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-21 16:04:27 +00:00
sjfink 7a5b1b8915 misc. cleanups and refactorings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1152 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-18 17:30:59 +00:00
sjfink b5e513cf3e more IllegalArgumentExceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1148 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-17 20:27:28 +00:00
sjfink d0cd43898f small cleanups for TypeInference
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1140 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-16 19:31:57 +00:00
sjfink 2d7c2240de more hardening against malicious inputs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1137 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-16 18:58:43 +00:00
sjfink b0598a95f4 more argument checking
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1133 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-15 19:35:57 +00:00
sjfink 48220c4e90 delete Entrypoints interface.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1131 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-15 17:45:23 +00:00
sjfink 4acf542744 validate some arguments; throw IllegalArgumentExceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1119 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-15 03:15:05 +00:00
sjfink 87fa9750f3 feature 1718935: make Entrypoints implement Iterable
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1115 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-14 21:30:53 +00:00
sjfink 29a7b9c35d feature 1717405: cleanup MemberReference.getDeclaringClass() API
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1107 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-14 17:30:49 +00:00
sjfink aa6ebda83b feature 1717405: rename getFieldReference() to getReference()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1104 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-14 17:01:14 +00:00
dolby-oss aef9a11b3d fix special case in which primitive types could not be used as entrypoint parameters
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1099 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-11 15:16:39 +00:00
sjfink ed509d5910 throw IllegalArgumentExceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1098 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-08 21:49:58 +00:00
sjfink a2c7c8d6e4 check arguments to public methods
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1019 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-26 20:35:25 +00:00
sjfink b9e9306198 misc. cleanups and annotations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1017 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-26 18:15:56 +00:00
sjfink 47df58f051 minor bug fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1012 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-26 17:00:41 +00:00
sjfink 0c79812aca misc. cleanups, annotations, and bug fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1010 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-26 15:36:44 +00:00
sjfink 33ff79e9c0 new toString()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@976 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-17 17:33:56 +00:00
sjfink 3eb37be705 add long-overdue ClassHierarchy.isAssignableFrom
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@947 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-12 15:00:49 +00:00
dolby-oss 66a83b0e3c fixes for Pi nodes for new boolean constant values
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@924 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-04 17:40:44 +00:00
sjfink e02937e61b make IBasicBlock an Iterable<IInstruction>. Rename iterateAllInstructions() to iterator()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@878 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-22 10:50:42 +00:00
sjfink e955c1e657 Graph API change: Graph is now an Iterable of Nodes!
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@867 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-21 21:07:30 +00:00
sjfink 18b5379320 minor cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@849 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-12 16:09:47 +00:00
dolby-oss ec2d6da198 new selector to take advantage of new target-method-based filtering
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@843 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-12 02:24:08 +00:00
dolby-oss 2dc8f805d4 major change is reworking how filtering works in the propagation call graph builders. The old notion of a filter as a type or an instance key has been replaced with an interface TypeFilter that supports arbitrary filtering. The class and instance key filters have been redone to use it, and a new filter that filters for types that dispatch to a particular method has also been added.
other minor changes:

TypeInference:
 1) fix to handle constant that is the last value number
 2) add visitor to set result of instanceof to boolean if doPrimitives
 3) PrimitivePropagateOperator not final to allow specialization
PrimitiveType:
 mimic Java semantics for implicit upcasts: add notion of size and 
 define meet to take larger size
SSASwitchInstruction:
 add iterator for switch labels
cfg.Util:
 add more helpers for dealing with switches


git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@838 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-12 01:56:32 +00:00
sjfink ce3a554146 misc. cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@800 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-27 18:17:33 +00:00
dolby-oss 8ad9a91582 more type and method references; support for adding static fields to the FakeRootClass for analysis modelling purposes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@786 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-25 02:15:50 +00:00
sjfink 24d290beb8 make ClassHierarchy implement Iterable<IClass>
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@785 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-23 17:21:07 +00:00
sjfink d60734d54b refactoring of relations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@783 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-23 17:07:21 +00:00
sjfink be1415de88 more generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@684 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-08 20:17:02 +00:00
sjfink a927db0f8c miscellaneous minor cleanups. eclipse build stuff. import statements.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@676 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-08 19:07:02 +00:00
dolby-oss 794a4a764d add more wrappers to make various kinds of main entrypoints
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@652 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-07 18:43:24 +00:00
sjfink c6e843ad72 bug fix for new clinit processing
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@614 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-30 17:34:52 +00:00
dolby-oss b2596fbf0e allow creation of ReceiverTypeContextSelectors in other packages
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@611 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-26 19:06:50 +00:00
dolby-oss 34d9acf899 fix (or hack) to allow filtering on method calls when a target selector has substituted a static method as a synthetic target
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@610 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-26 19:06:14 +00:00
sjfink a3d04f3aaf delete a dead import
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@604 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-24 16:38:40 +00:00
sjfink 536f58fc19 make statements field protected
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@603 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-24 16:37:56 +00:00
sjfink 97c9efd313 add new FakeWorldClinitNode as a home for calls to class initializers
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@602 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-24 16:32:48 +00:00
sjfink 1347463992 misc bug fixes and annotations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@595 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-19 15:24:05 +00:00
sjfink e2c552a1cb misc. bug fixes and annotations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@579 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-15 18:31:55 +00:00
sjfink 29523612f1 misc bug fixes and dead code elimination
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@572 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-15 15:06:11 +00:00
sjfink fc5269ec4b limited support for annotations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@569 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-12 20:56:11 +00:00
sjfink 979451f05c rename Shrike*Wrapper to just Shrike*
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@551 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-10 20:49:24 +00:00
sjfink 3ecc995a67 just format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@538 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-08 21:29:40 +00:00
sjfink ee06427675 add isPublic()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@534 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-08 17:20:28 +00:00
sjfink c4c70c6893 refactor string replace ops
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@532 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-08 17:19:58 +00:00
sjfink 39f49924ad more generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@524 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-02 18:49:12 +00:00
sjfink 05fb718826 API change for IClass.getDeclaredMethods()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@521 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-01-02 16:50:31 +00:00
sjfink 59f5f9d69e introduce ClassHierarchyDweller
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@516 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2006-12-21 19:03:50 +00:00
sjfink 769d92a604 add static method isFromFakeRoot()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@505 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2006-12-07 19:59:32 +00:00
sjfink 01e9a15d8b more generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@497 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2006-11-27 04:51:06 +00:00
sjfink df97f42b7e attempt to introduce tags and trunk
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@490 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2006-11-22 17:38:46 +00:00