Commit Graph

5665 Commits

Author SHA1 Message Date
dolby-oss c47a510932 restore lib jar file needed by ibm 5.0 vm
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@844 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-12 02:41:23 +00:00
dolby-oss ec2d6da198 new selector to take advantage of new target-method-based filtering
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@843 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-12 02:24:08 +00:00
dolby-oss 541ee23cdf fix to generation of constructor function bodies
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@842 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-12 02:10:10 +00:00
dolby-oss 609f848f1c support tests that take a directory, not a file. Also add some testing of extensions added the WALA CAst Java front end.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@841 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-12 02:08:45 +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 25a4b64c12 Added source position information for entire code bodies as a whole
Rewrote to the mechanism for invoking the callbacks for lexical scoping to not suck as much as before, i.e. it is somewhat less inefficient

adapt to filter instance key changes

bug fixes to IR generation for switch statements


git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@839 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-12 02:00:43 +00:00
dolby-oss 2dc8f805d4 major change is reworking how filtering works in the propagation call graph builders. The old notion of a filter as a type or an instance key has been replaced with an interface TypeFilter that supports arbitrary filtering. The class and instance key filters have been redone to use it, and a new filter that filters for types that dispatch to a particular method has also been added.
other minor changes:

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


git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@838 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-12 01:56:32 +00:00
sjfink 636fb313ba tweak an assertion message
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@834 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-07 14:46:45 +00:00
sjfink c015be8a10 use exact match on method names
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@833 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-07 14:46:16 +00:00
tttate 54f24b71b5 set the svn:ignore property to Makefile.configuration.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@828 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-03 13:55:00 +00:00
sjfink 59cbb2d7af delete obsolete junk
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@825 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-01 15:18:15 +00:00
sjfink 884f414754 delete obsolete junk
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@824 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-01 15:16:49 +00:00
sjfink 96ac39a49d delete obsolete junk
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@823 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-01 14:59:56 +00:00
sjfink c16fe4c8d2 initial check-in
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@822 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-01 14:59:04 +00:00
sjfink 6bd9add2ef just format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@821 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-03-01 14:58:51 +00:00
sjfink 1879f55131 more generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@809 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-28 14:09:33 +00:00
sjfink 582068f252 add a factory method
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@808 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-28 14:09:23 +00:00
sjfink 5747c41d98 add support for stdin
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@807 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-28 14:09:10 +00:00
sjfink fcbb12a5dd support major version 50.0 (Java 6.0)
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@806 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-28 14:08:50 +00:00
sjfink 411171ff09 just format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@805 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-28 14:08:32 +00:00
sjfink 001c9f8142 misc. cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@801 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-27 18:17:38 +00:00
sjfink ce3a554146 misc. cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@800 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-27 18:17:33 +00:00
tabee 03bbb9cf02 2007 02/27, Naoshi Tabuch: tabee@jp.ibm.com
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@799 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-27 14:55:13 +00:00
tabee 75ac0b79c8 2007 02/27, Naoshi Tabuch: tabee@jp.ibm.com
Build script for native code.
On cygwin platforms, VC++/Platform SDK setup scripts are invoked first.

# moved from CAst.PHP project (yet unpublished)

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@798 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-27 14:53:46 +00:00
tabee 6f7e4c5b7d 2007 02/27, Naoshi Tabuch: tabee@jp.ibm.com
Fix for Visual C++
+ uses _alloca()/memset() instead of var-length arrays/bzero()
+ includes <malloc.h> for _alloca()
# neither do not affect gcc compilation

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@797 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-27 14:44:42 +00:00
sjfink 0fd0226fd5 bug fix from c. hammer
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@791 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-26 20:06:48 +00:00
sjfink b95fbf2067 remove an unreachable assertion
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@790 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-26 20:06:24 +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 8ad9a91582 more type and method references; support for adding static fields to the FakeRootClass for analysis modelling purposes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@786 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-25 02:15:50 +00:00
sjfink 24d290beb8 make ClassHierarchy implement Iterable<IClass>
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@785 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-23 17:21:07 +00:00
sjfink 7938061118 make ClassHierarchy implement Iterable<IClass>
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@784 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-23 17:20:59 +00:00
sjfink d60734d54b refactoring of relations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@783 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-23 17:07:21 +00:00
sjfink 4755779801 small cleanups and refactoring
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@782 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-23 14:54:49 +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
dolby-oss e1bd02cb7c move to incubator branch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@779 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-19 17:09:13 +00:00
sjfink 905249286c move to incubator branch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@772 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-16 17:16:36 +00:00
sjfink 37b07532a1 move to incubator branch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@771 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-16 17:16:18 +00:00
sjfink c6dd90d79f move to incubator branch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@770 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-16 17:15:36 +00:00
sjfink e0db2777ff move to incubator branch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@769 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-16 17:15:09 +00:00
sjfink 2211ad8bb2 move to incubator branch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@768 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-16 17:14:50 +00:00
sjfink a2fca6bf4d move to incubator branch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@767 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-16 17:13:50 +00:00
sjfink c5685d6346 bug fix in file utils from Nick Kidd
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@765 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-15 21:11:38 +00:00
sjfink 79c4328282 suppress some Eclipse warnings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@764 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-15 15:55:46 +00:00
sjfink 4d1e9ec640 disable nonstandard builder
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@763 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-15 15:09:39 +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
dolby-oss d93196166d avoid some more polyglot assertion failures
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@760 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 17:22:20 +00:00
rmfuhrer 2b7cd06bb4 Now provides an EntrypointBuilder interface so that clients
(not just sub-classes) can supply the means for computing the
Entrypoints.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@759 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:45:24 +00:00
rmfuhrer 87b64d56a7 Removed polyglot-related libs from the classpath (no longer
necessary).

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@758 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:34:53 +00:00
rmfuhrer 1ad96deff3 Added JavaDoc comment to BLOCK_EXPR.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@757 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:33:35 +00:00