Commit Graph

374 Commits

Author SHA1 Message Date
Julian Dolby 321e925660 work on CHA 2013-04-03 12:12:43 -04:00
Juergen Graf 0d7c3c3b7f no warnings in com.ibm.wala.cast.java 2013-03-12 00:30:32 +01:00
Juergen Graf 10c66e1cb9 make common super class optional - needed for X10 frontend 2013-03-08 15:52:51 +01:00
Juergen Graf aac2e2f862 work around for that optionally does not delete JavaSourceLoaderImpl.fTypeMap 2013-03-06 17:09:45 +01: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
Julian Dolby afccdd2189 Annotation support 2013-02-02 21:27:45 -05:00
Juergen Graf b82d5dba90 Merge branch 'wala' into master 2012-11-06 04:23:10 +01:00
dolby f7a7d66b28 move loop unrolling code to wala from Miniatur/MemSAT 2012-10-03 10:53:04 -04:00
dolby fae5c86114 fixes for users of JDT interfaces, such as Miniatur/MemSAT 2012-10-01 13:11:10 -04:00
Manu Sridharan 24eb803211 organize imports; no semantic change 2012-09-04 16:24:37 -07:00
Manu Sridharan 60db861a5f complete conversion to Unix line endings 2012-09-04 16:05:49 -07: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
Juergen Graf 4648f0404a Merge branch 'wala' into master 2012-07-17 13:57:43 +02:00
Manu Sridharan 9a0e105e51 fix so that new lexical scheme can be enabled with Java frontends 2012-07-12 10:27:24 -07:00
Juergen Graf 7477b1730b Merge branch 'wala' into master 2012-03-19 13:33:48 +01:00
dolby-oss a9ec87f360 Changes motivated by analysis issues in JavaScript. The main change is that calls of the form f.x() in JavaScript are now analyzed like 'method calls' so that the 'this' pointer in the receiver functions can be filtered based upon the types that actually have the method being invoked. This requires much more dynamic filtering than in a language like Java, since properties like 'x' are simply properties that happen to hold functions, and so can be assigned in a first-class manner. Thus, the filtering needs to handle variance in both the types and the values of their properties; this is implemented as multiple levels of abstract object directed side effect equations in the dataflow system.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4535 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-03-01 02:45:51 +00:00
msridhar1 78ef6e3a03 further work
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4465 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-02-17 20:15:26 +00:00
msridhar1 9ad5c55d85 generate lexical access instructions for methods accessing their own exposed vars. still need to fix call graph construction
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4461 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-02-17 20:14:26 +00:00
dolby-oss 4c6d062dbb blunt force trauma to CAst frond end:
1) Structural changes in the AstTranslator to allow retranslation and generation of custom IR.  This is mostly moving state from the translator itself into the context.
2) Some refactoring to share some AST generation code across the Java and JavaScript front ends.
3) Switching to the latest Rhino, release 1.7R3; this is a pervasive change to the JavaScript Rhino translator, since it involves switching to the new AST interface in Rhino.
4) Common code to, as an option, translate Do-style loops by replicating the loop body.  This allows the use of CAstNode.LOOP forms for such loops.
5) Some bug fixes to the mechanisms of the CAstRewriter to handle weird control flow cases.
6) An example of retranslation to specialize JavaScript methods based on how many arguments they receive at call sites.


git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4425 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-27 20:15:33 +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
Juergen Graf f5ac0c543f Merge branch 'wala' into master 2011-07-12 19:50:39 +00:00
dolby-oss 81c12b97af cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4189 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-06-30 15:41:40 +00:00
Juergen Graf f8d6f5b917 Merge branch 'wala' into master 2011-05-27 12:25:53 +02: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 3fffba2c87 javadoc and formatting
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4149 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-26 18:44:49 +00:00
msridhar1 06b529e146 javadoc, formatting, more generic types
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4144 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-22 22:59:13 +00:00
msridhar1 0ce752ccff formatting
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4129 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-20 23:08:17 +00:00
dolby-oss 67d26e74c5 allow IR translator to give warnings and errors via the loader
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4125 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-14 01:16:36 +00:00
dolby-oss 9006fce690 some bug fixes to CAst IR generation, especially in handling exceptions
cleanup of how JDT analysis engines work, to make using the JDT front end more modular
bug foxes to JavaScript handling, most notably fixing scoping of functions

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4123 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-13 16:27:15 +00:00
Juergen Graf 7c518d1867 added instruction index field to SSAInstruction (javascript not working atm) 2011-04-12 19:49:06 +02:00
dolby-oss c4891ba35d fixes to defining types
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4088 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 15:17:31 +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 04f5b76b1d remove unused folder
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4067 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-03-10 21:30:46 +00:00
sjfink 3a49f17ebc update code formatting for Eclipse 3.6
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4048 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-02-03 15:14:47 +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
egeay 660488f010 Added qualifier for plugin version
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4012 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-12-09 16:01:17 +00:00
dolby-oss e4b9d03be5 bug fixes for unicode names and to prevent analysis from modifying the symbol table
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3936 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-09-14 20:29:05 +00:00
dolby-oss 3fa3c8b03c change to how default values for value numbers are recorded for SSA conversion by CAst
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3916 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-09-09 14:02:15 +00:00
dolby-oss 086c22dc13 provide more options for choosing classfiles vs source files. Thanks to Dan Marino.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3852 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-07-19 14:05:19 +00:00
msridhar1 b8ecc8d48a nuked ReflectionSpecification
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3832 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-05-12 17:19:54 +00:00
egeay d7443eb6d6 Need a way to extend JavaClass implementation for X10.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3792 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-01-07 22:16:24 +00:00
dolby-oss e877067710 Ishizaki-san's patch for hasMonitorOp
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3733 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-17 13:58:55 +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
dolby-oss d079132c07 fix type-o in comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3646 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 13:00:29 +00:00
dolby-oss e85f813477 work on generalizing type inference
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3625 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-03 18:24:46 +00:00
dolby-oss 18a3e1ef07 fix minor warnings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3604 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-20 18:55:14 +00:00
dolby-oss 50a4df0f32 more stuff deemed 'relevant' for JMM
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3602 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-20 17:07:18 +00:00
dolby-oss 4595806dc9 slice locks for concurrent code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3599 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-19 18:02:53 +00:00
dolby-oss 7c01256b30 fix hackish multithreaded support to deal with array writes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3594 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-14 19:15:45 +00:00
dolby-oss 0890ed0795 trivial bug fix
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3585 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 16:41:10 +00:00
rmfuhrer 125dcbedd9 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@3573 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-06 20:25:32 +00:00
rmfuhrer d498070dcf JavaClass can now represent the root class, in case it resides in source (previously, it required every class to have a superclass).
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3568 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-05 17:22:57 +00:00
rmfuhrer ff82965836 Extracted a common subexpression to a local in defineFunction().
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3567 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-05 15:52:32 +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 948dab4d0d remove ClassHierarchyException from IClass.getAllMethods
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3557 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-01 12:50:17 +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
dolby-oss e66d5ed88a approximate support for multithreaded code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3532 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-23 18:00:20 +00:00
rmfuhrer caaec26c5e Removed polyglot dependencies from the bundle manifest and classpath, now that the code dependencies have been moved to another plugin project (com.ibm.wala.cast.java.polyglot).
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3469 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-16 20:18:53 +00:00
sjfink 6868b753eb organize imports and tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3439 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-13 13:50:45 +00:00
dolby-oss 37344b9716 allow eclipse integration to use source code for java projects, and pass it to the JDT-based CAst front end
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3436 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-12 03:04:42 +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
dolby-oss b2bae33bab generalize parsing of Descriptors to also handle languages other than Java
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3366 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-26 15:11:45 +00:00
dolby-oss 134b84db07 adapt X10 support to WALA changes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3364 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-24 17:06:49 +00:00
sjfink 2b24aa35ff fix polyglot CAst compile errors
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3354 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-18 22:47:26 +00:00
sjfink b1cdc4fecf call new factories
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3305 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-13 17:06:09 +00:00
sjfink ed13ddbb17 bug fix 2666538: make ClassLoaderReference immutable, and related API fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3302 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-13 14:20:35 +00:00
dolby-oss 1cb571d1f0 add some missing exception edges
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3273 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-11 13:30:52 +00:00
dolby-oss edbee5a1e7 adapt to core changes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3229 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-19 15:59:18 +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
dolby-oss 9979d0899c more fixes to lexical scoping for JavaScript
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3196 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-01-30 16:33:22 +00:00
sjfink 51a5784b25 fix build bug
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3173 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-01-14 15:53:16 +00:00
dolby-oss 1135a37fb5 refactor polyglot-based java code in its own projects
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3167 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-01-09 14:11:39 +00:00
dolby-oss f46c779af8 add type parameter to match parent class
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3151 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-23 15:22:37 +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 7ce05498fd refactor java source test code to ease making plugin tests
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3134 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-16 14:29:11 +00:00
msridhar1 5fd0909a7d changed execution environment to J2SE1.5. Fixed some warnings.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3113 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-02 17:01:50 +00:00
dolby-oss 577d3b9875 enhancements to handling of lexical scoping; fixes for X10
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3110 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-02 14:08:57 +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
dolby-oss a02c79527e Fixes for exceptions thrown by array accesses (incomplete)
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2981 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-07-31 21:27:10 +00:00
sjfink 725396826a tweak code format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2949 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-07-04 01:57:01 +00:00
sjfink c8cdff09ec tweak code format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2905 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-06-25 14:45:02 +00:00
dolby-oss 3ccd19bcc6 refactoring to prepare for JDT front end
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2843 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-23 16:02:01 +00:00
dolby-oss 9e91232b7c refactoring to prepare for JDT front end
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2841 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-23 15:55:21 +00:00
dolby-oss 7ab6785602 refactoring to prepare for JDT front end
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2840 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-23 15:53:47 +00:00
sjfink 9956ead545 revamp deterministic hash code support for a few key classes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2802 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-12 14:22:11 +00:00
dolby-oss c0296330f8 fixes for break from arbitrary code block
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2712 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-18 14:17:23 +00:00
dolby-oss 0ef440b09b commit patches to fix issues with uses of null (Thanks Evan)
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2710 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-18 13:28:27 +00:00
sjfink 42336728df 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@2653 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-03 21:32:27 +00:00
sjfink 300568f339 delete PointerFlowGraph
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2612 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-24 00:05:54 +00:00
dolby-oss 1482a589d2 patch for zero-one-container engine for Java source
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2608 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-23 22:46:47 +00:00
dolby-oss 2528855d68 committed patch for outer.new inner() form. Thanks!
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2593 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-18 22:25:21 +00:00
dolby-oss b648bd3ceb committed patch from Evan Battaglia to support outer.new inner() form. Thanks!
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2591 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-18 15:17:16 +00:00
rmfuhrer ddd7456fc0 Extracted code from computeClassPath() that finds the innermost class loader to a method so that it can be overridden (for languages that derive from Java and use additional ClassLoaderImpls). Added some type parms. computeClassPath() now skips FileModules, in case any "leak" into the module set. Added overridable method skipSourceFile() so that generated source that's in the source path can be skipped (e.g. Java source generated from X10 source files).
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2515 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-31 15:54:05 +00:00
sjfink 1605e7ea45 adjust to change in ModRef API
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2475 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-25 13:55:15 +00:00
sjfink 1064d27836 more cleanup of util packages
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2459 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:53:36 +00:00
sjfink d5b1e3edcc Delete CallGraphBuilderFactory. Related cleanups.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2456 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:38:45 +00:00
sjfink 665d6ffe11 refactoring: move some classes into appropriate packages
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2451 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:20:02 +00:00
sjfink 17f4413f08 just refactoring ... introduce 2 new packages in wala.util.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2445 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:04:37 +00:00
dolby-oss b38097cb7a don't crash on empty IRs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2417 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-19 04:33:03 +00:00
sjfink 8e4275e01c delete obsolete ValueDecorator interface
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2390 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-15 14:40:28 +00:00
sjfink 9aa79306f4 clean up some slicer APIs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2376 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-11 19:20:53 +00:00
sjfink 20445b5e21 tweak code format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2372 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-11 16:51:23 +00:00
sjfink 32200d46d0 nuke support for "dispatch bound" call graph construction heuristic
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2352 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-10 22:05:50 +00:00
sjfink a0e8c87bff tweak code formatting for enums
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2334 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-10 16:26:05 +00:00
sjfink fb4c3ff44d significant refactoring and generalization of instance keys and CFA builders
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2286 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-04 18:24:54 +00:00
sjfink 61eb28bde2 tweak code formatting template
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2263 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-03 16:31:10 +00:00
sjfink 29f015f282 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@2249 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-02 22:27:50 +00:00
sjfink 7828ca63b7 small slicer interface generalizations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2238 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-21 17:49:48 +00:00
sjfink ffcf365596 add method IClass.isStatic()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2233 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-21 15:08:30 +00:00
sjfink d71fc2afa8 revert code compliance level to 5.0
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2203 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-17 18:47:39 +00:00
sjfink 11e68af500 fix some generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2194 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-14 22:09:35 +00:00
dolby-oss 23bf1dda2f patch for file offsets in Positions from Evan Battaglia
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2190 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-14 21:11:45 +00:00
sjfink 73f8d6fe31 patch 1850117, fix some unguarded assertions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2178 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-13 17:08:35 +00:00
dolby-oss 056d8ec27a adapt to language changes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2169 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-12 23:08:29 +00:00
dolby-oss dabff0d1cb adapt to EMF removal
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2163 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-12 21:28:23 +00:00
sjfink f110b252e8 clean up Language and AnalysisScope interface
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2154 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-11 16:34:08 +00:00
sjfink 9846deacec fix compile bugs due to changes in wala.core
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2139 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-10 05:27:01 +00:00
dolby-oss 562c03d0f3 adapt to abstract invoke changes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2133 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-10 04:29:27 +00:00
rmfuhrer aa5150499e Now uses a map from ClassLoaderReference to IRTranslatorExtension, so that source files in different languages are processed by the right kind of IRTranslatorExtension.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2108 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-06 14:28:25 +00:00
rmfuhrer a7993110bb buildAnalysisScope() now calls overridable method makeSourceAnalysisScope() to actually create the scope, so that sub-classes can create a scope that sets up the right set of ClassLoaders to be involved in the analysis.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2107 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-06 14:24:46 +00:00
sjfink 1821e542df more generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2096 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-04 21:40:45 +00:00
sjfink 87987cb09b organize imports
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2045 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 20:57:39 +00:00
sjfink ee18355f81 add some generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2042 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 20:39:12 +00:00
dolby-oss e71d1b4db2 adapt to Wala changes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2026 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 02:52:23 +00:00
sjfink 471e6b1b3e add CancelException to interact with Eclipse progress monitors and thread it through some APIs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2005 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-13 16:19:07 +00:00
dolby-oss c8ffb2650f adapt to wala changes by generating / 0 exceptions when appropriate
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1930 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-23 04:11:24 +00:00
sjfink 07c0f9e485 clean up TypeInference API
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1908 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-19 14:39:15 +00:00
sjfink 2b948676a3 organize imports
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1897 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-19 13:06:58 +00:00
dolby-oss acaea8e3cf fixes for generation of conversion instructions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1896 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-18 02:52:45 +00:00
pistoia 66e7e395e5 Exports the polyglot and javacup jars.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1872 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-12 19:22:12 +00:00
sjfink 9b616a965b tweak build order
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1867 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-12 15:05:42 +00:00
sjfink 97417123e3 bump up source level to 6.0
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1853 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-11 14:26:08 +00:00
sjfink de74acd63c fix build problem
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1781 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-20 02:54:18 +00:00
dolby-oss 4075f6e5b6 fixes for build issues
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1757 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-17 16:01:06 +00:00
dolby-oss 0cb9c7e629 extensions to source java slicer
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1746 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-13 15:09:57 +00:00
egeay 55049dad72 Made the general util method public.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1743 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-09-11 15:40:31 +00:00
sjfink a193724b5f adapt to wala.core IteratorPlusOne change and clean up some generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1708 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-31 23:51:15 +00:00
sjfink 2c3473b4ac hide Pair constructor; misc. generics-related cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1703 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-31 23:20:00 +00:00
sjfink c18fc8dea0 adapt to new generics in wala core
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1698 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-31 21:50:08 +00:00
egeay a11e72931b Refactorings due to implementation of application for running string analysis along a WALA slice.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1664 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-24 12:37:01 +00:00
yahave 8d5172fbc8 fixed bounds of iteration over symbol table using getMaxValueNumber. Loops should be iterating all the way to the MaxValueNumber returned (i.e., <=).
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1653 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-22 15:33:46 +00:00
dolby-oss 4401975206 fix for inserting casts for binary ops
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1621 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-14 16:10:58 +00:00
dolby-oss 3be623a375 add primitive conversions where appropriate for binary ops
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1620 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-14 15:10:13 +00:00
sjfink 79e48950d1 small cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1598 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-09 17:39:29 +00:00
dolby-oss 6927a87adb add factories and objects to allow slicer to be extended to handle multiple languages
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1596 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-08 12:01:45 +00:00
dolby-oss d830347245 make enclosing object keys usable by others
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1579 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-07 13:47:16 +00:00
dolby-oss f6185c6e98 merge code from loop unroller into standard CAstRewriter
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1559 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-01 15:37:10 +00:00
sjfink 3026eda8a3 decouple IR caching from AnalysisOptions with a new AnalysisCache object
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1517 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-20 15:20:06 +00:00
rmfuhrer e3c6eea00c Added flavors of makeNode() that take Polyglot Positions to identify the position of the CAstNode to be created.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1512 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-19 22:18:27 +00:00
sjfink 0b0d6588f0 fix a build problem
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1495 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-17 13:38:46 +00:00
dolby-oss aa17ea8c7e fixes for default values of null
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1484 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-16 15:10:33 +00:00
sjfink d9ec0292ef fix a build problem
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1480 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-16 14:48:53 +00:00
sjfink f979887706 remove unused import
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1477 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-15 19:20:42 +00:00
rmfuhrer 5b0969d6b6 Added new symbol class InternalCAstSymbol to make intent more
clear than using CAstSymbolImpl with extra boolean arg.

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

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

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

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

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

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

support static initializers

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


git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@840 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-12 02:06:00 +00:00
dolby-oss da7dea28cf add exceptions from checkcast instructions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@787 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-25 02:18:23 +00:00
dolby-oss 30a7cc3fef adapt to class hierarchy changes in CVS polyglot
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@781 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-21 13:03:54 +00:00
sjfink 28b243929b minor cleanups to squash Eclipse warnings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@762 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 22:41:44 +00:00
sjfink 34fa813b47 fix broken build
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@761 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 22:36:05 +00:00