Ben Liblit
a888a49fdd
Fix all Eclipse warnings about unnecessary semicolons
...
I have *not* upgraded this problem to be treated as an error in the
future. Unfortunately Eclipse uses a single configuration setting for
both unnecessary semicolons and also for empty control-flow statements
like `while (p) ;`. I'm not convinced that it's worth rewriting all
instances of the latter into `while (p) { }`. So this is just going
to stay as a warning for now.
2017-07-14 22:39:01 -07:00
Ben Liblit
4cef26162c
Add @Override annotations wherever possible ( #178 )
...
* Fix warnings about unset javacProjectSettings build entries
Specifically, these are all warnings of the form "The
'javacProjectSettings' build entry should be set when there are project
specific compiler settings".
* Add @Override annotations to all methods that do override
This fixes 287 Eclipse code style warnings.
* Cannot add @Override annotations here, so suppress warnings instead
We should be able to add these @Override annotations in the future,
one Eclipse Mars and earlier are no longer supported. For now,
though, they have to go away in order to be compatible with older
Eclipse releases.
2017-05-08 07:39:49 -07:00
Ben Liblit
16492c7b78
Revert "Suppress 157 Eclipse warnings about unused exception parameters"
...
This reverts commit fe9f7a793a
.
2017-03-23 16:32:00 -05:00
Ben Liblit
fe9f7a793a
Suppress 157 Eclipse warnings about unused exception parameters
...
In the cases addressed here, the caught exception is truly not needed
by the handling code.
2017-03-20 00:44:06 -05:00
Ben Liblit
6766f1e261
Fix 42 Eclipse warnings about unused imports
2017-03-20 00:43:48 -05:00
Ben Liblit
296657a394
Suppress 88 Eclipse warnings about dead code
...
All of these involve conditionals that check some static, final debug
flag or debug level. The code will indeed be dead if WALA is built
with those debug facilities turned off. But we still want the code
present in case someone needs to turn some aspect of debugging on for
a while.
2017-03-17 21:49:34 -05:00
Ben Liblit
fde65340d2
Fix 132 Eclipse warnings about using raw generic types
2017-03-15 11:08:20 -05: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
a6a060ed25
changes for handling of 'callbacks' in dynamic CGs
2015-06-28 17:06:21 -04:00
Julian Dolby
0975441a43
changes for hybrid analysis
2015-04-05 21:19:56 -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
eb9e74f442
add/remove @SuppressWarnings to keep in sync with wala main branch
2014-07-30 16:17:37 +02:00
Juergen Graf
ef4513d377
revert PointerAnalysis hack that makes containsAny() and contains() methods in OrdinalSet unusable
2014-05-20 19:52:01 +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
Juergen Graf
61d7a33928
remove warnings in com.ibm.wala.core
2013-03-12 00:50:17 +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
10792bec73
Merge branch 'wala' into master
2012-05-16 14:02:20 +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
Juergen Graf
7477b1730b
Merge branch 'wala' into master
2012-03-19 13:33:48 +01:00
msridhar1
a34b8967e1
Additional timeout check in SSAPropagationCallGraphBuilder.
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4473 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-02-17 20:17:08 +00:00
Juergen Graf
f5ac0c543f
Merge branch 'wala' into master
2011-07-12 19:50:39 +00:00
msridhar1
ee3c8f3847
Thread a progress monitor through parts of pointer analysis constraint generation, so we can cancel if it's taking too long
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4193 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-06-30 18:59:29 +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
Juergen Graf
b9cd802759
setter for pointerkey factory
...
public phi nodes
2011-03-30 13:03:16 +02: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
447823c629
kill unused supportRefinement option
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3833 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-05-12 18:30:55 +00:00
egeay
15cd8566e9
Fixed comparison of type reference to throwable type for a particular language.
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3787 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-12-21 19:11:32 +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
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
dfcbf65e7b
misc. minor cleanups
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2988 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-08-14 21:05:14 +00:00
sjfink
1df8568c23
bug fix to recover from broken invariant in javascript land
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2920 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-06-27 15:38:54 +00:00
sjfink
418c0181dc
attempt to fix bug [ 1992941 ] Assertion contains side-effect -> crash
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2887 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-06-13 15:27:55 +00:00
sjfink
ce75f30cd8
tweak some debugging code
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2762 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-04-21 17:26:48 +00:00
sjfink
20e2d495b3
tweak some comments
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2680 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-05 20:12:19 +00:00
pistoia
04cab258c1
Added support for interrupting the construction of the call graph after a configurable maximum number of nodes is reached.
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2677 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-05 06:24:51 +00:00
sjfink
71d980f8f1
reflection patches from Marco
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2641 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-03-02 01:40:00 +00:00
sjfink
58c63a7463
delete PointerFlowGraph
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2609 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-24 00:05:09 +00:00
sjfink
07399bc2c8
support partial call graph/ pointerAnalysis when computation canceled
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2580 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-14 14:15:10 +00:00
sjfink
2b4ea4a088
thread IProgressMonitor and CancelException through many APIs
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2579 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-13 22:35:01 +00:00
sjfink
6ebce2d0f5
bug fix for putfield on unresolved field
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2571 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-13 18:46:35 +00:00
sjfink
b2c1f52313
bail out on putfield to unresolved field
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2560 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-02-12 00:06:30 +00:00
sjfink
3331cd24f0
nuke support for "dispatch bound" call graph construction heuristic
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2349 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-10 22:05:32 +00:00
sjfink
6723d33683
bug fix and related API changes for interface type tests
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2104 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-05 19:49:03 +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