Commit Graph

225 Commits

Author SHA1 Message Date
dolby-oss e80dc6ef8c refactor handling of constants in Shrike to abstract away from Java bytecode
introduce factories to create SSAInstruction objects


git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3433 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-10 18:33:07 +00:00
sjfink 957cb2b8ca deprecate Trace
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3432 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-09 20:31:14 +00:00
sjfink 93411336ba misc. small fixes and documentation
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3372 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-26 20:56:08 +00:00
dolby-oss 2e65395044 further shrike-related refactoring
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3365 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-24 17:07:44 +00:00
sjfink 4472b30826 more IllegalArgumentExceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3279 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-11 17:44:29 +00:00
sjfink f63e374a4b more IllegalArgumentExceptions. a few small bug fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3278 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-11 16:57:32 +00:00
dolby-oss 1b1c7f2b3f further Shrike refactoring to generalize instructions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3274 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-11 13:33:00 +00:00
sjfink 4d1f7ab35f more IllegalArgumentExceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3272 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-10 21:18:07 +00:00
dolby-oss aad54f7abc further Shrike refactoring to generalize instructions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3241 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-26 16:50:52 +00:00
dolby-oss b61135c8be adapt to Shrike changes: divorce SSAInstruction from the Shrike Instruction, which requires adding a type parameter to ControlFlowGraph and propagating that change. Also, stop using the JVML opcode in a few places where it was (unnecessarily) being used.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3227 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-19 15:58:31 +00:00
msridhar1 92ffa60892 disable handling of java.lang.Class methods when Method.invoke handling is disabled
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3222 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-13 15:06:17 +00:00
msridhar1 57a26b5914 allow for some limited number of passes of flow-to-cast analysis
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3213 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-05 19:32:08 +00:00
msridhar1 b0db1e6628 introduce more preferences for reflection handling during call graph building
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3212 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-04 19:04:44 +00:00
msridhar1 73761d0a8f small optimization / cleanup
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3211 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-04 19:03:47 +00:00
msridhar1 1b17786512 when reflection handling is disabled in the AnalysisOptions, disable stuff like handling of string constant arguments to reflective methods, etc.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3209 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-03 20:38:47 +00:00
yinnon_haviv dc6c273925 Added possibility to extract the results of the analysis
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3152 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-24 12:52:50 +00:00
sjfink 39de70c9a6 survive even if basic exception types are missing
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3126 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-10 16:32:22 +00:00
msridhar1 39c32896d7 update javadoc
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3042 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-10-02 14:18:49 +00:00
sjfink 45f74284a7 reflection support for java.lang.ClassLoader.loadClass
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3015 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-09-02 14:57:36 +00:00
sjfink dfcbf65e7b misc. minor cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2988 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-08-14 21:05:14 +00:00
sjfink f1ddb98c43 revamp deterministic hash code support for a few key classes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2804 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-12 14:22:34 +00:00
msridhar1 96952cd431 more generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2772 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-28 22:24:43 +00:00
sjfink e2ed8c686e bug fix: handle SSAComparisonInstructions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2765 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-22 22:00:09 +00:00
pistoia 417e36fb79 Added support for additional reflective methods
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2747 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-04 19:46:01 +00:00
msridhar1 eb9cd0e509 added comments and some debugging prints
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2743 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-03 19:50:25 +00:00
msridhar1 367b2e8893 added another generated cast instruction
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2738 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-01 19:52:31 +00:00
sjfink f89380f996 fix hashcode problems and misc. minor cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2734 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-31 15:47:58 +00:00
sjfink 67a48d501e nuke an assertion
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2728 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-21 15:36:30 +00:00
sjfink 9b266acea0 bug fixes and assertions for reflection corner cases
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2727 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-21 15:31:29 +00:00
sjfink 3ab4cbeb7d bug fixes.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2724 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-20 18:10:13 +00:00
sjfink 97533008ae add a comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2722 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-20 17:56:20 +00:00
msridhar1 0b60bd2282 bug fix in PointType; handle loadclass in TypeInference
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2720 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-19 20:33:30 +00:00
msridhar1 355ac58ee3 bug fix for local value number
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2718 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-19 20:22:30 +00:00
sjfink 660f3a6707 more reflection support
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2673 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-04 19:48:51 +00:00
sjfink 745fd7d5a4 Simplify MethodTargetSelector and ContextSelector interfaces; delete optimizations based on allSitesDispatchIdentically and mayReturnSyntheticMethod.
Also some Cast bug fixes.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2656 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-03 21:32:45 +00:00
msridhar1 bf8549d599 added context parameter to SyntheticMethod.makeIR()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2652 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-03 04:02:33 +00:00
sjfink f604add130 bug fix
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2643 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-02 01:53:55 +00:00
sjfink 71d980f8f1 reflection patches from Marco
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2641 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-02 01:40:00 +00:00
sjfink d77357fd5a bug fixes for reflection processing of arrays
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2639 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-29 22:14:56 +00:00
sjfink bd5843f098 implement getMethods()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2626 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-26 15:24:10 +00:00
sjfink 2c388b7744 support Method.invoke
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2625 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-26 04:51:39 +00:00
sjfink c28c7446bc support Class.getDeclaredMethod
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2623 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-26 04:11:19 +00:00
sjfink 1f00cb916c refactoring to generalize some reflection processing
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2622 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-26 03:42:26 +00:00
sjfink c1120427f5 support getConstructors()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2603 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-22 01:44:47 +00:00
sjfink 75bfab8605 support for Constructor.newInstance()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2600 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-21 18:44:22 +00:00
sjfink e9f3eb3eaa misc bug fixes with synthetic factory methods
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2587 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-15 20:48:57 +00:00
sjfink d3e2dcf781 expose ponter analysis
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2586 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-15 20:48:38 +00:00
sjfink 2b4ea4a088 thread IProgressMonitor and CancelException through many APIs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2579 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-13 22:35:01 +00:00
sjfink 84d0253841 new logic to interpret Class.newInstance() on a class constant, such as generated by forName(String constant).
Thanks Marco.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2575 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-13 18:49:56 +00:00
sjfink b67d1a86fe tweak a comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2557 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-11 19:51:55 +00:00
sjfink 49639c7ed9 protect against some pathological context explosion with synthetic factory methods
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2549 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-07 22:41:26 +00:00
sjfink fffb7ac8bc bug fixes and new tests for new Class.forName processing.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2544 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-05 21:21:33 +00:00
sjfink bceae49558 enhance reflection support to evaluate Class.forName() on a string constant.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2542 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-05 19:09:23 +00:00
sjfink dc39a8dd86 refactoring: move some classes into appropriate packages
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2452 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:20:38 +00:00
sjfink e6a904b715 just refactoring ... introduce 2 new packages in wala.util.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2446 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:05:28 +00:00
sjfink 1654d52b66 delete obsolete Malleable
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2443 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 21:50:02 +00:00
msridhar1 14ceabf781 added more generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2409 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-17 17:55:48 +00:00
sjfink 6c9aece528 bug fixes for pis and slicing
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2408 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-17 12:12:25 +00:00
sjfink d737b0d1bd revamp pi node construction
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2405 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-16 22:25:34 +00:00
sjfink 3bee1b838e bug fix in understands()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2346 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-10 20:04:23 +00:00
sjfink b58bf27b90 fix buggy logic with invokestatic and NPE
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2212 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-17 19:01:46 +00:00
sjfink b131a86e1d fix Bug 1852241 possible hash collisions for CGNodes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2198 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-17 14:31:17 +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 dae160f975 fix comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2052 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 21:45:24 +00:00
sjfink 4913361df3 TypeInference bug fix: be conservative for unresolved classes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2014 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-15 15:13:38 +00:00
sjfink 6362f3ffe3 introduce a factory for empty MutableSparseIntSet
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1971 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-29 13:18:26 +00:00
sjfink 81b889dad5 just format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1964 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-26 16:07:29 +00:00
sjfink 2e98bc8778 some debug support
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1962 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-26 16:06:46 +00:00
sjfink 59241d6dab a new factory for MutableMapping and some logic cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1943 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-24 20:20:07 +00:00
sjfink 8e329d91b6 change semantics of primitivetype.meet to handle boolean/int meet as desired
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1921 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-22 16:33:17 +00:00
sjfink 262e1aef40 clean up TypeInference API
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1909 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-19 14:39:22 +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 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 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 95054cea79 add an IllegalArgumentException check
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1674 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-27 13:47:33 +00:00
sjfink f5221d5024 fix for bug [ 1780094 ] HeapGraph: points-to and successor nodes don't match
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1660 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-23 18:26:13 +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 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 1d90e214bd Bug [ 1775433 ] Off by one error in BasicHeapGraph
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1624 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-17 13:09:49 +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
dolby-oss 93380d8d04 bug fix for meets of primitive types
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1619 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-14 15:02:18 +00:00
sjfink d2dff82c1d clean up some comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1555 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-26 16:31:50 +00:00
sjfink 93c931eb46 bug fix .. make sure unreached paths are initialized to TOP
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1524 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-20 18:34:55 +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 8f7854efb8 just format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1481 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-16 14:49:20 +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 d0b38b144c remove pointless comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1410 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-10 21:43:21 +00:00
sjfink 4d1d0fc94f fix typo in comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1395 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-09 15:50:13 +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 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 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 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 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 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 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 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
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 4025362ce2 format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@928 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-05 14:32:58 +00:00
sjfink 2870d1dbc8 soft caching of bytecode info and small API changes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@881 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-22 15:48:54 +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
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 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 6ccbfcdf06 formatting and javadoc
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@719 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-12 21:17:10 +00:00
dolby-oss 3c71fda451 silence messages
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@651 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-07 18:42:37 +00:00
sjfink 7ecacb4662 bug fix in toString()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@509 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2006-12-13 20:53:37 +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