Commit Graph

513 Commits

Author SHA1 Message Date
ksrinivs c1a923d0ba allow partial coloring 2013-11-26 15:04:09 -05:00
Julian Dolby dedbc2d443 coloring now requires numbered graphs. a performance hack. 2013-11-21 14:27:27 -05:00
Julian Dolby bdc742f558 shrike cg tests 2013-11-14 21:48:04 -05:00
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
Juergen Graf cdaaddf88b Merge branch 'wala' into master 2013-07-02 14:23:24 +02:00
Manu Sridharan b984760100 support for reading method parameter annotations from Java bytecodes 2013-06-28 11:44:47 -04:00
Julian Dolby 080325b5f6 merge 2013-06-25 11:57:37 -04:00
Manu Sridharan 38d0c3cc12 re-enable test 2013-05-27 11:07:32 -07:00
Manu Sridharan 119fd841af more manifest hacks. Also, temporary disable CG IO test 2013-05-27 10:35:55 -07:00
Manu Sridharan 9bc5bcbb3c Disable certain tests when analyzed classes are in a jar file.
These tests create FileModules for certain class / source files,
and hence assume those files are sitting in the filesystem.  We
should come up with a better fix here.
2013-05-26 14:45:50 -07:00
Manu Sridharan 878cfa615d changes to get tests passing on Java 7 2013-05-26 10:07:46 -07:00
Manu Sridharan 3b1889121b add missing copyright headers 2013-05-22 15:39:19 -07:00
Julian Dolby 310d0fff25 changes to ease use of WALA from an executable jar. also some very
basic support for GXL, a graph format used by some software engineering
tools.
2013-05-15 13:36:30 -04:00
Manu Sridharan c0e3cb9831 fix for handling of static methods in ContainerContextSelector 2013-05-14 14:17:26 -07:00
Manu Sridharan 16a0e02fa0 add utility methods for creating n-CFA call graph builders 2013-05-10 20:55:13 -07:00
Manu Sridharan 30686135da Fix for bug with pi nodes reported by Andreas Sewe
We weren't handling the case where the val of the pi instruction
had an implicit points-to set.
2013-05-07 14:43:49 -07:00
Manu Sridharan d149ca2c73 Revert fix for tests; we need to figure out the right fix here.
This reverts commit cab3c6c0c4.
2013-05-02 10:55:45 -07:00
Cosmin Radoi edbdf989a9 right classloader for call graph tests 2013-04-29 13:13:23 +02:00
Manu Sridharan 9549da9954 read runtime-visible annotations for fields 2013-04-08 13:50:26 -07:00
Julian Dolby 321e925660 work on CHA 2013-04-03 12:12:43 -04:00
Juergen Graf d77cfc60fc incorporate changes from other branch
- Annotation support
- Properly fix path-with-spaces bug.
- fix bug involving paths with spaces
- add a simple driver for building a call graph via a scope file
- Properly return null as default constructor of an array.
- organize imports
- better handling of missing bytecodes
- javadoc
- test fix
- small Javadoc fix
- added date-property.js
- 1) added InstanceKey.getCreation sites and its implementations 2) fixes for issues with keys representing dynamic properties   i) all properties are converted to strings,
- publicize method makeClasspath().  deprecate quoteStringIfNeeded()
- organize imports
- javadoc
- renamed classes to make relationship to mod-ref analysis clearer
- add support for lexical writes
- Code to compute transitive lexical accesses of methods.
- extract some generally useful code from ModRef
- Generate proper InstanceFieldKeys for property accesses with Numbers.
- rewrite to make hardest test appear last
- fix test to properly check reachability
- add an array test that doesn't quite work
- add method to get a PointerKey for a global
- compare FieldValueDispatch objects based on CGNode as well
- Handle duplicate field names between subclass and superclass.
2013-02-06 12:34:25 +01:00
Manu Sridharan 182363bf88 fix bug involving paths with spaces 2013-01-30 17:29:41 -08:00
Manu Sridharan 72f85ba2a9 add a simple driver for building a call graph via a scope file 2013-01-25 10:41:11 -08:00
Manu Sridharan ba228963bf better handling of missing bytecodes
In some cases, class files will have non-abstract methods with no
bytecodes (e.g., stubs for compilation purposes).  While such a class
file is invalid, we want to enable clients to handle such an error.
With these changes, Shrike will throw an InvalidClassFileException for
such cases, and WALA's IR construction code will throw a
WalaRuntimeException.
2013-01-21 15:27:13 -08:00
Juergen Graf b82d5dba90 Merge branch 'wala' into master 2012-11-06 04:23:10 +01: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
Julian Dolby 4a850a9510 added the com.ibm.wala.ide.jdt project 2012-08-21 18:52:09 -04:00
dolby 72e8dc9098 reorganize stuff for using JavaScript stuff from Eclipse 2012-08-21 09:48:53 -04:00
Juergen Graf b8477d2144 incorporate changes from other branch
- basic compatibility with Java 7 (i.e., don't crash immediately)
- Added utility class for converting call graphs to JSON.
- add edgeExists CLI option to check if some edge exists in the call graph
2012-08-06 12:49:03 +02:00
Manu Sridharan 3317c1ccf6 basic compatibility with Java 7 (i.e., don't crash immediately) 2012-08-03 15:41:09 -07:00
dolby 4b3cba710d changes from upstream 2012-06-29 15:47:54 -04:00
Juergen Graf 42c1016d96 remove duplicate class from wrong package 2012-05-21 11:25:26 +02:00
Juergen Graf 1bf5b73e74 static initializer order detection stuff from Martin Seidel 2012-05-18 15:58:47 +02:00
Juergen Graf 627fbc15c3 static initializer tests 2012-05-16 14:02:29 +02:00
Manu Sridharan c415f3e0fd Enhanced pointer analysis to reason that arrays known to be of zero length
cannot have any contents.
2012-05-09 15:35:54 -06:00
Manu Sridharan c116f16823 got code to compile again, and wala.core regression tests pass 2012-04-16 22:30:03 -04:00
Manu Sridharan 2edb070437 changed FileProvider to have instance methods 2012-04-16 14:57:14 -04:00
msridhar1 d81d8569eb fix test
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4554 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-04-03 22:43:34 +00:00
msridhar1 1d28b2dc26 fix for bug reported by Juergen Graf: handle multiple fields with the same name in a JVM class
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4552 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-04-03 22:26:12 +00:00
msridhar1 7630cd79c9 Revamped support for reading Java annotation information from .class files.
The code should handle all cases now, and the APIs are improved.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4422 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-11 17:11:59 +00:00
msridhar1 cbd8b63142 undo change to SlicerTest
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4291 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-12-28 17:03:42 +00:00
msridhar1 59e46916ce Generalize certain IR data structures to be less Java-specific. Generalize annotations code to allow for reading annotation parameters. Various other fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4290 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-12-28 17:03:27 +00:00
sjfink 6c4fcdcbee bug fix from David Young: use File.pathSeparator
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4280 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-10-10 13:03:00 +00:00
dolby-oss 7a6af352b9 moved IR-independent visualization of graphs to util project
added DFS path find that finds all paths in sequence rather than just one
moved the WalaException out of warnings subpackage

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4257 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-08-16 16:51:11 +00:00
msridhar1 253444a6ad make demand pointer analysis tests less dependent on standard library implementation
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4234 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-07-25 18:10:31 +00:00
msridhar1 e9199401c9 change to remove time blowup in test on recent Java versions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4231 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-07-22 21:48:15 +00:00
msridhar1 deddf6ecbe make the condition checked by a couple of tests more specific, to avoid issues with different Java library versions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4230 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-07-22 21:29:57 +00:00
msridhar1 981e04f243 update to work on Windows
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4229 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-07-22 20:26:04 +00:00
msridhar1 25b0e33015 fix test to be less dependent on library code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4228 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-07-22 20:24:35 +00:00
dolby-oss 15c202f8e6 Welsh-Powell graph coloring
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4180 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-06-01 21:47:15 +00:00
msridhar1 f8197b4f2c patch to fix FileProvider bug from Marcel Bruch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4177 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-05-27 19:50:33 +00:00
dolby-oss 4da02a9125 Changes to extend supported context sensitivity to CPA-style:
1) extend ContextSelector interface to allow it to specify parameters of interest
  2) extend filtering mechanism at call sites to allow CPA-style filtering when requested by contexts
  3) various related fixes and extensions:
    a) removed redundant code to handle dispatch for JavaScript, so now it shares the core mechanism
    b) tighten types for operators that take an array of args - now the array is T[] at the cost of a few array allocation methods
    c) a bit more support for empty int sets
    d) void function objects
    e) bug fixes for lexical scoping support, and adaptation to work with core dispatch mechanism
    f) example of CPA-style sensitivity to handle nastiness in a JavaScript for(.. in ...) loop
    

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4150 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-27 13:58:56 +00:00
msridhar1 857e456806 organize imports
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4081 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-03 04:08:05 +00:00
msridhar1 9aa9187edc fix for CFG bug reported by Benedikt N on mailing list, plus test case
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4077 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-03-24 19:41:46 +00:00
msridhar1 e3564dce02 change ClassHierarchy to IClassHierarchy
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4076 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-03-21 16:04:45 +00:00
msridhar1 fb10bd4611 uncomment test and indicate why we don't currently run it
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4063 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-03-01 18:15:17 +00:00
msridhar1 c0b30598f4 added another test
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4060 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-02-10 00:01:32 +00:00
msridhar1 06b652d1fb fix bug reported by Benedikt Nordhoff on mailing list: for cases where an enclosing exception handler catches all exception types, don't add an exceptional edge from a throw instruction to method exit.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4057 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-02-08 23:41:03 +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 fa825de846 refactoring of fixpoint API
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4033 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-01-17 21:43:18 +00:00
msridhar1 b3df24132f move BitVectorKillAll to wala.core
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4023 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-01-03 21:09:21 +00:00
msridhar1 88eaba4ee7 add models for System.getProperty() methods to fix bug reported by Ravi Chandran on mailing list
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4002 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-11-23 17:39:19 +00:00
msridhar1 2ed3b05257 bug fix
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3986 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-11-03 17:49:06 +00:00
msridhar1 7a5d3baacd bug fix for CFGSanitizer
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3984 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-10-20 20:38:44 +00:00
dolby-oss d4ee31ad9e added clear() method to mutable int sets
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3981 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-10-15 02:10:44 +00:00
dolby-oss 502db2afb9 make some stuff static
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3977 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-10-11 14:35:08 +00:00
dolby-oss 48ff32f2e3 copyright comment update
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3975 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-10-11 14:29:47 +00:00
msridhar1 0ca5dc1c0e better fix for PDG bug reported by Ravi Chandran
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3967 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-10-06 17:03:35 +00:00
msridhar1 029b1fc1fd Fix for bug reported by Ravi Chandran on the mailing list (10/01/2010). Properly add edges from method entry in the PDG
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3965 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-10-05 18:45:43 +00:00
dolby-oss ed889de199 added Floyd-Warshall all pairs shortest path implementation
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3964 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-10-04 17:27:56 +00:00
yinnon_haviv 9cae049830 Added viewer for CHA/CG/PA for Java/JavaScript.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3954 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-09-28 17:11:12 +00:00
msridhar1 ab142b7cbd fix documentation
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3898 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-09-01 15:50:53 +00:00
msridhar1 fdcd232490 small change for case of missing calls
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3850 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-06-01 16:08:24 +00:00
msridhar1 cdbaa7a2ac added failing test for type inference regression
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3844 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-05-19 21:09:09 +00:00
msridhar1 460477e074 fix bug in PDG contruction for a case involving infeasible bytecodes; add corresponding test
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3843 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-05-17 16:57:52 +00:00
msridhar1 f76602dbfb clean up interface for creating a DemandRefinementPointsTo class, and make the internal ThisFilteringHeapModel package visible
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3827 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-30 17:13:14 +00:00
msridhar1 f01fae7482 delete some commented code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3826 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-30 17:12:17 +00:00
msridhar1 e25b29ed48 added documentation
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3824 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-28 20:00:20 +00:00
dolby-oss be5edcae8b use latest cache interface
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3821 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-28 19:36:22 +00:00
dolby-oss f2a390d485 adapt to checkcast change
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3820 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-28 19:35:53 +00:00
dolby-oss 3c8c5e2059 clean up @author
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3819 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-28 19:35:34 +00:00
dolby-oss e0ef61507c fix for 1.6 on mac
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3818 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-28 19:35:14 +00:00
msridhar1 fe13a2d35b several variants of reaching defs analysis, including test class and a bit of test data. still needs better documentation
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3815 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-28 16:53:07 +00:00
dolby-oss b7a6299afb change a test to handle differing heap deps in different versions of the std lib
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3808 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-21 14:46:12 +00:00
msridhar1 19bcb326a4 slicer bug fix: properly include the actual call statement (along with various PARAM_CALLER statements) in the set of call statements
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3807 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-19 23:03:47 +00:00
msridhar1 6b9ec42cb8 javadoc / formatting fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3806 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-07 17:11:13 +00:00
msridhar1 cab2bcfd07 add an example of constructing IRs and use of ReferenceCleanser
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3805 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-03-15 22:58:41 +00:00
msridhar1 db3c03dbce fix comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3775 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-12-03 16:38:28 +00:00
msridhar1 9fc5e5f016 one more flows-to test
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3767 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-19 17:12:21 +00:00
msridhar1 4b34785700 bug fixes for flows-to
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3766 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-19 17:09:20 +00:00
msridhar1 24caeb7088 more flows-to tests
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3765 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-18 22:15:23 +00:00
msridhar1 f6afa934f8 bug fix for flows-to
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3764 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-18 21:53:07 +00:00
msridhar1 65bb454180 added ability to compute "flows-to sets" on demand; initial check-in, needs more testing
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3763 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-18 21:22:33 +00:00
msridhar1 24d28210e8 more caching of class hierarchies
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3750 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-28 02:26:03 +00:00
msridhar1 ab47cddadf more speedups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3749 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-28 01:47:06 +00:00
msridhar1 93a4571961 undo WalaTestCase extending TestCase; dependent projects will have to be switched to JUnit 4. Also, more optimizations.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3742 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-27 22:43:06 +00:00
msridhar1 f8c06cc6ef maintain JUnit 3 compatibility, e.g., for CAst
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3741 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-27 21:14:59 +00:00
msridhar1 105a263cc5 cached class hierarchy to speed things up
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3740 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-27 21:03:33 +00:00
msridhar1 02e7bf2894 switch to jUnit 4
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3739 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-27 20:38:48 +00:00
sjfink 4a80ac1984 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3726 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-13 18:01:00 +00:00
sjfink e39897e619 tweak comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3724 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-13 17:58:45 +00:00
sjfink bf740fb945 add some comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3713 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-02 18:19:24 +00:00
sjfink fde4a16a23 refactor: move Predicate to com.ibm.wala.util
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3705 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-26 13:06:16 +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 6fb883c0da change declared WalaException to IllegalStateException
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3656 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 14:31:33 +00:00
msridhar1 06da9eb3cd another type inference test
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3636 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-04 14:03:08 +00:00
msridhar1 a78e1574da add new type inference test
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3633 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-03 21:09:48 +00:00
sjfink f229e9c2ac mostly comments. A few new type parameters. No semantic changes.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3620 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-29 15:26:35 +00:00
sjfink f39b9cf43a revert previous checkin (a major API change to IClass.getSourceFile())
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3584 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 14:38:07 +00:00
omertripp 2113f3e601 REFACTOR: - code changes to accommodate .NET into WALA. A .NET class maps onto multiple source files, and thus these changes.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3583 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 14:14:28 +00:00
sjfink db1bc2fadc fix broken CAst builds.
deprecate Internal and NonNull annotations

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3577 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 13:51:24 +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
sjfink 9939142eae switch from Assertions._assert to Java assertions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3555 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 13:16:52 +00:00
sjfink 3fb8781d9d comments and deprecate some unused code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3522 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-22 19:11:18 +00:00
sjfink 26e9f2a0b0 comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3508 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-22 16:47:27 +00:00
sjfink 31a8bf2575 add a test for TryFinally IR construction
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3458 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-14 20:05:23 +00:00
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
msridhar1 e08ed2663f Deprecate Iterator2Collection.toCollection(); use toSet() or toList() instead.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3421 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-09 15:24:42 +00:00
msridhar1 98c651fee4 rename a bunch of things from GV to PDF. Fix up example launchers to take input from workspace_loc instead of c:\temp.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3412 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-03 18:25:05 +00:00
msridhar1 002e29dcb0 start renaming things from GV/ghostview to pdf
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3411 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-03 17:34:40 +00:00
msridhar1 ced43326b1 change to reflect PDF output
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3409 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-03 15:57:33 +00:00
sjfink 7fdacaef22 more IllegalArgument checks
propagate IOExceptions when reading AnalysisScopes from files

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3396 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-31 20:16:52 +00:00
egeay b70fb523cb git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3375 f5eafffb-2e1d-0410-98e4-8ec43c5233c4 2009-03-26 22:33:32 +00:00
yinnon_haviv ddbbcac07b Added support for reading runtime visible annotations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3360 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-22 07:51:11 +00:00
sjfink 993ac3264f mostly new IllegalArgumentExceptions
a few minor cleanups

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3270 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-10 16:12:40 +00:00
dolby-oss 7118bd6573 adapt to core changes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3232 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-19 16:01:24 +00:00
msridhar1 91c850058b add option to (unsoundly) ignore possible static initializer calls when building call graph
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3187 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-01-21 18:18:26 +00:00
sjfink b1f300156e patch from yinnon to make analysis scopes obey list order
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3144 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-17 19:52:27 +00:00
dolby-oss 884d1b9017 allow use of progress monitors in importing projects into test workspaces
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3132 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-16 14:26:11 +00:00
dolby-oss 69e2ff9589 added activation class to ease use of stuff by other plugin projects in a running Eclipse
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3131 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-16 14:23:04 +00:00
sjfink 66884c2c37 fix Eclipse 3.4.1 compiler warnings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3100 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-01 19:40:43 +00:00
sjfink 3aefc3e1ea support for reading InnerClass attributes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2992 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-08-15 14:49:53 +00:00
sjfink 48170df6c4 tweak semantics of multinewarry length parameters ... don't use 0 to indicate missing dimensions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2978 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-07-28 21:02:23 +00:00
sjfink c74560050e fix multinewarray bug
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2975 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-07-28 18:43:02 +00:00
msridhar1 f660841a6e new test case for multinewarray. commented out, since it currently fails
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2973 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-07-28 18:02:30 +00:00
dolby-oss 17b4762ec6 add test for control dependence of phi nodes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2969 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-07-27 21:39:00 +00:00
dolby-oss 9d0131b0be add test for control dependence of phi nodes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2968 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-07-27 21:38:50 +00:00
sjfink 9f96656dc2 bug fixes for ExplodedCFG for some synthetic methods
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2924 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-06-27 18:43:01 +00:00
msridhar1 7cd9b4cfcc ClassHierarchy to IClassHierarchy
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2899 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-06-20 17:10:26 +00:00
sjfink e3546de635 migrate from deprecated API
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2875 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-06-01 22:29:25 +00:00
sjfink 95a36cedd9 more UTF-8
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2864 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-29 12:04:31 +00:00
sjfink 6a6ab3346c use UTF-8 in comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2859 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-28 18:03:34 +00:00
sjfink e7db05a66c hide generics warnings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2854 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-28 17:49:38 +00:00
dolby-oss ed8a7159e6 remove dependence from cast.java.test to eclipse.tests
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2850 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-27 13:29:35 +00:00
sjfink 0f43338813 fix a comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2848 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-25 19:26:25 +00:00
sjfink 796eb7a879 another example program requested by Amer Diwan
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2847 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-25 19:23:31 +00:00
sjfink 8c83635562 a new example program, requested by Amer Diwan
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2846 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-25 19:16:15 +00:00
sjfink 8fe9467be8 remove references to Trace
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2830 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-22 19:17:23 +00:00
msridhar1 aa07659a5d new method pointsToPassesPred() for demand points-to analysis; various refactorings; some new tests
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2820 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-16 19:19:53 +00:00
msridhar1 5569d461af switch demandpa tests to use PABasedMemoryAccessMap
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2818 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-15 18:32:23 +00:00
msridhar1 3ee24d710e added PABasedMemoryAccessMap; added getHeapModel() to MemoryAccessMap
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2817 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-15 18:04:43 +00:00
msridhar1 2fc776af9c minor change to demand points-to interface
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2775 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-30 17:18:11 +00:00
sjfink c10084093a initial check-in
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2763 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-22 12:15:03 +00:00
msridhar1 3f293dcc60 various refactorings for demand points-to analysis
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2758 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-12 21:58:39 +00:00
msridhar1 a8b09bef6b remove a bunch of junk
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2757 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-11 15:19:41 +00:00
msridhar1 f18e69848a added code to use progress monitor, other small changes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2753 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-08 16:46:58 +00:00
sjfink 30f9303ee1 delete half-baked logic package
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2749 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-04 21:05:28 +00:00
pistoia 2197b8237a Added support for additional reflective methods
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2746 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-04 19:45:56 +00:00
msridhar1 cbcee6624f change getPossibleTargets() to handle <init> methods specially
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2745 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-04 17:54:00 +00:00
msridhar1 4bb4e509ff add logic that arrays implement Cloneable and Serializable
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2740 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-01 21:50:45 +00:00
sjfink bf8e4d8b58 more reflection tests
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2726 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-21 14:58:58 +00:00
msridhar1 bf3d1514d0 make it compile
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2719 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-19 20:31:50 +00:00
msridhar1 7de7e64f05 fix some bitrot, other small changes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2717 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-19 20:21:28 +00:00
msridhar1 6e92ca411b fixed bug in handling of arrays in TypeBasedPointerAnalysis
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2693 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-11 17:56:22 +00:00
sjfink 3085b16ae6 more reflection support
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2672 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-04 19:48:37 +00:00
msridhar1 f591d8a309 updated some values for 0-CFA call graph
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2669 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-04 17:32:47 +00:00
msridhar1 bb2d20cba4 switched to 0-CFA call graphs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2668 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-04 17:32:26 +00:00
sjfink 511afd1dec tweak expected points-to set sizes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2658 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-04 03:36:22 +00:00
sjfink feac4a9dd7 delete IClass.isStatic()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2647 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-03 01:47:13 +00:00
msridhar1 1f7b573bf6 added static inner class test (commented out assert for now)
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2645 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-02 17:45:45 +00:00
sjfink f9f139b776 reflection patches from Marco
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2642 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-02 01:40:11 +00:00
sjfink 413bed8c84 fix bug with phi instructions in synthetic IRs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2638 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-29 21:42:21 +00:00
msridhar1 3045547331 use static field instead of String constant
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2631 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-27 22:30:01 +00:00
sjfink 140df4d31a tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2629 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-27 18:38:00 +00:00
sjfink 77f8af276a implement getMethods()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2628 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-26 15:24:42 +00:00
sjfink 52938ed6d8 support Method.invoke
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2624 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-26 04:51:32 +00:00
sjfink 140204230d refactoring to generalize some reflection processing
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2620 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-26 03:42:18 +00:00
msridhar1 2a31547c24 filter out METHOD_ENTRY and METHOD_EXIT statements
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2606 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-22 23:12:12 +00:00
sjfink 203a25a0de support getConstructors()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2602 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-22 01:44:39 +00:00
sjfink 6fd7472393 support for Constructor.newInstance()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2599 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-21 18:43:04 +00:00
msridhar1 50c798ee54 properly get regressions file using FileProvider
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2597 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-20 18:21:46 +00:00
msridhar1 d442fc442f small bug fix
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2595 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-20 17:50:17 +00:00
sjfink d6c5b3bb55 thread IProgressMonitor and CancelException through many APIs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2578 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-13 22:34:50 +00:00
sjfink d3996520dc 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@2573 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-13 18:48:07 +00:00
sjfink 5b97508de0 change call graph test checking
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2553 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-08 02:09:47 +00:00
sjfink 04dff2d7af bug fixes and new tests for new Class.forName processing.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2545 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-05 21:21:59 +00:00
sjfink b5a21d45aa generalize support for partially balanced tabulation
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2538 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-05 15:56:20 +00:00
sjfink ca73e26cf8 delete obsolete and broken OneCFABuilder
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2491 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-30 15:43:14 +00:00
msridhar1 e6713ae685 generalization of memory access maps
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2472 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-25 02:22:42 +00:00
sjfink fa2968ca06 move WalaUtil to example driver package
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2468 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 23:21:47 +00:00
sjfink c3e00cdcf3 move NodeDecorator to viz package
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2466 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 23:15:11 +00:00
sjfink 444d3a92b0 more cleanup of util packages
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2463 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:54:05 +00:00
sjfink 0038fdb93b Delete CallGraphBuilderFactory. Related cleanups.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2458 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:38:54 +00:00
sjfink 4f0c72599f just refactoring ... introduce 2 new packages in wala.util.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2450 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:06:31 +00:00
sjfink 0d7f69e274 misc bug fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2439 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 01:58:34 +00:00
msridhar1 a95c9fd0d1 refactoring to allow for alternative flow graph implementations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2432 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-23 03:17:39 +00:00
sjfink 4fa9dfb414 work around weird failure for DominatorsA on a Sun 1.6_03 JDK on Win32
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2430 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-22 16:59:10 +00:00
sjfink 27a0a61711 tweak a comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2428 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-22 16:41:19 +00:00
sjfink 48c8481c4a bug fix
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2426 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-22 14:47:42 +00:00
sjfink fcc98ee241 slicer cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2406 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-17 10:15:31 +00:00
sjfink 0019894a1b revamp pi node construction
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2404 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-16 22:25:23 +00:00
sjfink d0394f3ef9 change criteria for test2
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2401 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-16 21:12:29 +00:00
sjfink f328f67e1f bug fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2359 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-11 14:43:01 +00:00
sjfink 8f07ab61c0 bug fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2358 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-11 14:41:15 +00:00
sjfink 5e7af75566 tweak some comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2357 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-11 13:59:42 +00:00
sjfink 3f623ac0a7 bug fixes with InducedCFGs and context-sensitive slicing
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2306 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-07 20:31:17 +00:00
sjfink 2beef22848 some cleanup of Stopwatch APIs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2302 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-07 17:18:23 +00:00
sjfink 8729d2e84e significant refactoring and generalization of instance keys and CFA builders
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2285 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-04 18:24:42 +00:00
sjfink bfbe4fdd2f 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@2248 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-02 22:27:45 +00:00
msridhar1 5ac9b19f62 changes to make tests pass when analyzing 1.5 libraries
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2222 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-19 00:20:14 +00:00
sjfink 6fb624701f fix bug [ 1850456 ] error "I is null" when slicing
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2183 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-14 14:29:44 +00:00
sjfink 8b4cb4cb66 just format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2175 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-13 16:38:46 +00:00
sjfink b66f73c8cd just format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2174 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-13 00:43:03 +00:00
sjfink aafd03dc5d misc bug fixes and cleanups for new AnalysisScopes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2173 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-13 00:40:14 +00:00
dolby-oss da8aaf6cad fix accidental checkin of eclipse 3.2 hack
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2164 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-12 21:50:15 +00:00
dolby-oss 1d62ddf160 remove EMF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2162 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-12 20:47:35 +00:00
sjfink 2e09ff97a4 publicize validateCommandLine()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2158 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-12 18:17:03 +00:00
sjfink 0d701fcab6 fix bug 1847274 GVSlice fails to check command-line arguments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2141 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-10 05:28:02 +00:00
sjfink 23b0e9a91c bug fix and related API changes for interface type tests
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2105 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-05 19:49:39 +00:00
sjfink f11eb5ec7f 1. delete obsolete benign.xml
2. more accurate model of array copy
3. bug fix in subtype test for class hierarchy
4. bug fix in OTF call graph fix point iteration
5. bug fix for RTA and ClassNotFoundException.
also misc. minor cleanups

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2073 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-29 04:01:10 +00:00
sjfink bf842b7af9 delete redundant method CGNode.iterateSites()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2062 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-20 15:50:14 +00:00
dolby-oss 22859a76b7 adapt to Dominators changes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2055 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-19 00:42:59 +00:00
sjfink 5c175e7898 more EMF obliteration
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2037 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 19:41:32 +00:00
sjfink beb56a76e7 more EMF obliteration
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2034 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 19:20:50 +00:00
sjfink d32ca89d7d delete EMF junk
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2031 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 18:44:27 +00:00
sjfink 2c4f34b99c delete obsolete EngineTimings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2029 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 18:22:33 +00:00
sjfink 0e041c99f2 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@2004 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-13 16:19:01 +00:00
dolby-oss f79938a9b8 tests of long sets
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1976 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-30 18:42:26 +00:00
sjfink d4574334a8 fix typo in comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1941 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-24 19:25:23 +00:00
sjfink ffaa299e1f enforce exclusions file
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1918 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-22 16:31:42 +00:00
sjfink a6b057f778 clean up TypeInference API
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1907 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-19 14:39:12 +00:00
sjfink e91ffb5cc0 more IPCFG cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1878 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-15 16:01:41 +00:00
sjfink 992238fc1c clean up some IPCFG issues
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1876 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-15 15:43:14 +00:00
sjfink 0aa26e327d patches from manu to update demandpa for Java 6.0
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1865 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-12 12:34:23 +00:00
sjfink 7826d12a77 more aggressive exclusions in order to run quickly against Java 6.0 libraries
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1859 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-11 16:05:17 +00:00
sjfink 28e6eb85ed delete BVCDG
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1819 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-04 15:46:37 +00:00
dolby-oss f693ef03ed test to expose data dependence issue for GetCaughtException in slicer
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1772 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-19 18:01:59 +00:00
dolby-oss ad59ddd178 slight extension to slicing test
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1749 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-13 16:01:31 +00:00
dolby-oss 1166ba459b slight extension to slicing test
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1748 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-13 15:12:17 +00:00
dolby-oss 10e631a752 fix for compilation against junit4 libs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1741 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-07 11:52:24 +00:00
sjfink 564fd0d977 default factory for SlowSparseNumberedGraph
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1739 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-07 02:10:04 +00:00
sjfink 4a249c1a12 generics for control flow graph and filters
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1713 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-02 14:45:51 +00:00
sjfink dfe352dd32 hide Pair constructor; misc. generics-related cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1702 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-31 23:19:56 +00:00
sjfink d606af773b lots of new generics for fixed point solver hierarchy
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1695 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-31 21:38:35 +00:00
sjfink 2528a636a2 disable dubious equality simplification logic
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1686 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-28 14:28:48 +00:00
sjfink 8829f2bdcb disable overly expensive quantifier simplification logic
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1672 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-27 13:46:32 +00:00
yahave af19e95cfc 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@1654 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-22 15:33:52 +00:00
sjfink 010f816824 more refactoring for semi-decision procedures
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1644 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-21 14:02:46 +00:00
sjfink 7317bfa7aa bug fix for PointerAnalysisImpl.toString and tests for this
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1637 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-20 21:34:16 +00:00