Julian Dolby
c8cdaf8616
further refactoring to enable more reuse
...
eliminate all non-jva 8 compilation
2018-02-05 15:18:37 -08:00
Ben Liblit
f60c164ec1
Escape "<" and ">" in Javadoc when not used as HTML tag syntax
2017-12-19 16:53:52 -06:00
Ben Liblit
9c83e87cc1
Merge branch 'master' into modernization-java-8-lambdas-and-method-references
2017-11-29 10:51:33 -06:00
Ben Liblit
ebfd885d22
Use modern for-each loops where possible
...
Java sources used as test data have been excluded from this mass
clean-up.
2017-11-28 14:44:53 -06:00
Ben Liblit
8ef6ad5069
Add proper type parameters to nearly all uses of Iterator
...
Java sources used as test data have been excluded.
2017-11-28 14:09:30 -06:00
Ben Liblit
74e0640771
Replace simple lambdas with method references wherever possible
2017-11-27 11:31:15 -06:00
Ben Liblit
790d37781b
Convert many single-method anonymous classes to lambdas
...
Eclipse's automated code clean-up tool did most of the heavy lifting
here: it specifically has a clean-up option for converting functional
interfaces to lambdas. I merely had to revert the automated changes
for a single enumeration class for which it produced invalid results,
and for a few test inputs that apparently aren't set up to be compiled
with Java 8.
2017-11-27 11:31:15 -06:00
Ben Liblit
5751c949e8
Plug an `InputStream` resource leak
2017-08-27 11:03:14 -07:00
Ben Liblit
8541d67a14
Plug a `BufferedInputStream` resource leak
2017-08-27 11:03:14 -07:00
Julian Dolby
6cdeedd5e9
changes for analysis cache view
2017-03-15 22:06:19 -04:00
Julian Dolby
d24519e974
cross-cutting changes to make more of WALA runnable with TeaVM. The biggest change is refactoring to AnalysisCache and friends; since TeaVM does not support SoftReference, I needed to add a layer of interfaces so that I can use a more simpleminded caching implementation for TeaVM. There are other changes to Module and friends to break connections with File and URL, which also cause TeaVM grief. I also organized imports in many places to remove unused types that caused trouble.
2017-02-02 20:33:27 -05:00
Julian Dolby
671bd98977
Java 8 suport enhancements, mostly to model lambdas compiled to
...
invokedynamic
2015-08-12 15:20:21 -04:00
Julian Dolby
774be73672
Merge https://github.com/jgf/wala-mirror
2014-09-11 10:43:13 -04:00
Julian Dolby
26f5254e3e
more support for Java 7:
...
analysis now understands and propagates MethodHandle objects
fixes to Shrike InvokeDynamic instruction
Former-commit-id: fb826f124423bcbca08f729cee1794fbda711d16
2014-08-07 16:02:48 -04:00
Juergen Graf
c05415720e
remove custom change markers for code that will be merged to main branch
2014-08-01 12:27:22 +02:00
Juergen Graf
cdaaddf88b
Merge branch 'wala' into master
2013-07-02 14:23:24 +02:00
Julian Dolby
080325b5f6
merge
2013-06-25 11:57:37 -04:00
Manu Sridharan
16a0e02fa0
add utility methods for creating n-CFA call graph builders
2013-05-10 20:55:13 -07:00
Juergen Graf
41fdb087bb
ignore nativespec if attribute is null
2012-12-15 03:59:24 +01: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
Juergen Graf
baf67a8dbb
setter for native spec (.xml) file
...
added fallback: load xml from filesystem if loading from jar does not work
2011-03-30 13:03:16 +02: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
sjfink
6b2e37ddfd
delete deprecated code
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3761 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-13 18:06:35 +00:00
sjfink
27a8cf22c0
comments and formatting
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3554 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 12:50:34 +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
957cb2b8ca
deprecate Trace
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3432 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-09 20:31:14 +00:00
sjfink
6a529e192e
tweak comments
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3417 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-06 19:48:11 +00:00
sjfink
b001a5d2f5
more IllegalArgumentExceptions
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3292 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-12 16:02:13 +00:00
sjfink
4472b30826
more IllegalArgumentExceptions
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3279 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-11 17:44:29 +00:00
sjfink
9db1a8f489
publicize a field
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2933 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-06-30 17:47:39 +00:00
msridhar1
3cbf73acba
implement a method
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2770 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-25 18:43:48 +00:00
sjfink
c3de100817
delete obsolete and broken OneCFABuilder
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2493 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-30 15:43:43 +00:00
sjfink
e6a904b715
just refactoring ... introduce 2 new packages in wala.util.
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2446 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:05:28 +00:00
sjfink
c5caf88def
significant refactoring and generalization of instance keys and CFA builders
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2284 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-04 18:24:36 +00:00
sjfink
72727c279e
clean up type hierarchy of zero-x-container builders
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2271 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-03 19:10:25 +00:00
sjfink
f6ebdd8eee
first phase of restructuring to fix string constant pointer analysis problems
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2076 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-29 18:22:39 +00:00
sjfink
95042b1f2f
fix some comments
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2075 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-29 17:18:43 +00:00
sjfink
bb1fd3dc3f
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@2074 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-29 04:01:25 +00:00
sjfink
5f7d87caff
more IllegalArgumentException checks
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1687 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-29 13:13:24 +00:00
sjfink
ff1c0ea48b
more IllegalArgumentExceptions and related refactoring
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1657 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-22 16:33:45 +00:00
sjfink
da7aa76217
more precondition checking
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1640 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-21 02:46:01 +00:00
sjfink
c2a17a5fbc
IllegalArgumentExceptions and minor cleanups
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1632 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-20 13:38:41 +00:00
sjfink
59368d41ac
decouple IR caching from AnalysisOptions with a new AnalysisCache object
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1520 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-20 15:20:41 +00:00
sjfink
059761fb70
use Hash factories everywhere
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1438 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:08:12 +00:00
sjfink
5eb76541f0
massive overhaul of Warnings management
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1382 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-06 22:08:13 +00:00
sjfink
8864b70d50
miscellaneous housekeeping
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1364 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-06 03:07:14 +00:00
dolby-oss
0ed8d96d55
Changes to allow cross-language call graphs. The three biggest changes are as follows:
...
1) The visitors nested in the SSAPropagationCallGraph have become static classes so that they can be reused in a delegation pattern for the cross-language call graph builder.
2) The ClassHierarchy is now encapsulated behind an IClassHierarchy interface to allow for a CrossLanguageClassHierarchy that delegates to a set of child hierarchies, one for each language. The internals of the ClassHierarchy are almost entirely unchanged
3) There is now a new Language interface in com.ibm.wala.classLoader, and all IClassLoader objects have to know what language they load for. This language object now encapsulates a few language-specific options that were previously hacked into the AnalysisOptions object.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1212 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 03:26:18 +00:00
sjfink
ea3caa1e8a
mostly clean up old comments.
...
also rename InferGraphRootsImpl to InferGraphRoots
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1200 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-30 19:05:23 +00:00
sjfink
fdb7a17af3
add @Overrides annotations and nuke unnecessary casts
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1197 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-30 15:16:05 +00:00