Commit Graph

47 Commits

Author SHA1 Message Date
Julian Dolby 0ccaae3b2c pull exclusions file support into util project and then share it with
the shrike-based dynamic call graph builder so that static and dynamic
graphs can be built consistently more easily.
2013-11-14 13:02:56 -05:00
Julian Dolby 080325b5f6 merge 2013-06-25 11:57:37 -04:00
Manu Sridharan 56f3d847a5 more conversion to Unix line endings 2012-09-04 15:59:50 -07:00
Manu Sridharan 256cd06460 Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
dolby 319eacc529 merge changes and changes for atomic sets work 2012-08-29 16:35:34 -04:00
Manu Sridharan 2edb070437 changed FileProvider to have instance methods 2012-04-16 14:57:14 -04:00
dolby-oss 3d95532603 added type parameter
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4082 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 14:58:15 +00:00
sjfink 6bd8363503 refactor to isolate core utilities from dependence on Eclipse IProgressMonitor
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4034 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-01-17 22:06:58 +00:00
sjfink a0efbee8ff Major refactoring to introduce com.ibm.wala.ide. Many related changes and patches from Marcelo Paternostro.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3693 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-22 15:06:12 +00:00
sjfink 5f2fcad8e1 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3668 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 15:03:34 +00:00
rmfuhrer 1e01e258af Made buildAnalysisScope() public so that, e.g., one can build a class hierarchy without building a call graph.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3574 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-06 20:27:21 +00:00
sjfink de6adbc4d7 more migration to Java assertions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3559 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-01 17:42:28 +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
sjfink 018559d4de clean up imports
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2838 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-23 15:49:49 +00:00
dolby-oss 50dd4919eb use FileProvider to find exclusions file
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2831 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-23 15:39:37 +00:00
sjfink 58c63a7463 delete PointerFlowGraph
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2609 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-24 00:05:09 +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 d77f97c362 Delete CallGraphBuilderFactory. Related cleanups.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2455 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:38:38 +00:00
sjfink 2e6a0f6606 some cleanup of Stopwatch APIs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2303 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-07 17:18:47 +00:00
sjfink 30295213e0 delete some dead j2ee-related code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2281 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-03 21:30:23 +00:00
sjfink fc6442bf04 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@2247 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-02 22:27:28 +00:00
sjfink 28d0de9eb9 clean up some utilities dealing with analysis scopes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2186 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-14 15:07:11 +00:00
dolby-oss 17a8b62204 remove EMF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2161 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-12 20:46:05 +00:00
sjfink 4b73238606 clean up Language and AnalysisScope interface
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2152 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-11 16:33:58 +00:00
yahave 3603e9b4a2 allow subclasses to access cg and pointeranalysis (make fields protected instead of private)
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2129 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-09 16:53:11 +00:00
yahave 2f0c0072ba allow direct construction of class hierarchy
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2128 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-08 21:21:24 +00:00
rmfuhrer 0c87273fd8 Default implementation of buildAnalysisScope() now adds the Java Language to the scope.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2112 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-06 14:47:00 +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 2a1213789b 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@2006 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-13 16:19:15 +00:00
dolby-oss cdeaf96fc3 enable getting options
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1894 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-17 15:17:12 +00:00
dolby-oss 825264e9a7 give other clients access to this data
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1759 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-17 18:55:48 +00:00
loginov 7093fb1d44 Added the missing creation of the AnalysisCache.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1545 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-24 19:56:23 +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
rmfuhrer 7ed7c4d986 Added comment suggesting to make getPointerAnalysis() public.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1459 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 14:49:07 +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 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
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 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 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 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 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 6cf79ac1b3 cleanup and refactoring of Eclipse analysis scope management
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@973 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-17 16:12:41 +00:00
sjfink 98ad0cfdb2 reorganize eclipse dependencies
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@966 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-17 14:04:35 +00:00
rmfuhrer 2b7cd06bb4 Now provides an EntrypointBuilder interface so that clients
(not just sub-classes) can supply the means for computing the
Entrypoints.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@759 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:45:24 +00:00
dolby-oss d4916f52be further analysis engine surgery, motivated by string analysis example
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@706 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-12 18:29:22 +00:00
dolby-oss f5b1c2a27e some moving of code around to make the analysis engines provide a default way to build a call graph
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@653 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-07 18:44:25 +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