Commit Graph

158 Commits

Author SHA1 Message Date
Ben Liblit ed0ddd780f Correct HTML embedded in Javadoc comments
Most of the invalid HTML arose from bare "<" and ">" characters.
These should be escaped as "&lt;" and "&gt;" when not intended to
introduce HTML tags.  When you have many such characters close
together, "{@literal ...}" is a nice, readable alternative that
automatically escapes its contents.  If the text in question is
intended to be a code fragment, then "{@code ...}"  is appropriate:
this is essentially equivalent to "<code>{@literal ...}</code>".

There were a few other HTML violations too, but none common enough to
be worth detailing here.
2016-11-28 11:14:41 -06:00
Julian Dolby 1bb7610011 work toward pointer analysis based on the flowgraph from field-based
call graph builder
2014-10-19 22:44:03 -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 4772f36d47 add standard type parameter to most pointer analysis references. When it breaks we move back to ? extends InstanceKey. 2014-05-20 22:00:06 +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 428a3975ed Merge branch 'wala' into master
Conflicts:
	com.ibm.wala.cast.java/src/com/ibm/wala/cast/java/loader/JavaSourceLoaderImpl.java
	com.ibm.wala.cast.java/src/com/ibm/wala/cast/java/ssa/AstJavaInstructionFactory.java
	com.ibm.wala.cast.java/src/com/ibm/wala/cast/java/ssa/AstJavaInvokeInstruction.java
	com.ibm.wala.cast.js.test/harness-src/com/ibm/wala/cast/js/test/TestSimpleCallGraphShape.java
	com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/html/WebPageLoaderFactory.java
	com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/loader/JavaScriptLoader.java
	com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ssa/JSInstructionFactory.java
	com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ssa/JavaScriptInvoke.java
	com.ibm.wala.cast/source/java/com/ibm/wala/cast/ipa/callgraph/AstCallGraph.java
	com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/AbstractLexicalInvoke.java
	com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/AstInstructionFactory.java
	com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/AstLexicalRead.java
	com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/AstLexicalWrite.java
	com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/FixedParametersInvokeInstruction.java
	com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/translator/AstTranslator.java
	com.ibm.wala.core/.classpath
	com.ibm.wala.core/.settings/org.eclipse.jdt.core.prefs
	com.ibm.wala.ide/src/com/ibm/wala/ide/util/ProgressMonitorDelegate.java
	com.ibm.wala.util/src/com/ibm/wala/util/NullProgressMonitor.java
	com.ibm.wala.util/src/com/ibm/wala/util/ProgressMaster.java
2014-05-20 17:59:16 +02:00
Julian Dolby 4c25c40789 type generalization 2014-02-08 22:52:19 -05: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 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
Manu Sridharan c4ce3999cd fix possible NPE 2013-05-15 10:55:58 -07:00
Juergen Graf 61d7a33928 remove warnings in com.ibm.wala.core 2013-03-12 00:50:17 +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
Manu Sridharan 256cd06460 Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07: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
sjfink 6416445fe4 refactor to move stuff into wala.util
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4031 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-01-17 21:13:34 +00:00
msridhar1 9dfe21c864 bug fix: inconsistent heap models were being used
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3828 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-05-06 19:27:44 +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
dolby-oss 00871016cb adapt to checkcast change
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3817 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-28 19:33:34 +00:00
msridhar1 b06e912f71 add support for some context-sensitive queries
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3799 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-01-26 20:53:40 +00:00
msridhar1 d6252c481c refactoring to enable context-sensitive queries
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3796 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-01-23 18:54:15 +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 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
sjfink b044e3541c delete some deprecated code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3762 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-13 18:10:57 +00:00
msridhar1 1e68167a3c add a couple of null checks
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3756 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-06 21:10:31 +00:00
msridhar1 478f1d2ffa remove comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3755 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-06 21:03:34 +00:00
sjfink ef43073709 deprecate CallSiteAndCGNode
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3719 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-08 19:30:15 +00:00
sjfink ac17daa979 deprecate Mapper
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3718 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-08 15:17:46 +00:00
sjfink a26c27be44 fix generic types on EdgeManager.getPredNodes and getSuccNodes. finally.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3707 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-26 14:14:21 +00:00
sjfink fad698bcb6 refactor to use Predicate in place of Filter
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3706 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-26 13:37:23 +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 9f7b946458 minor code cleanup
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3704 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-25 13:07:06 +00:00
sjfink 8b6de42283 format to naming conventions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3703 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-25 12:49:45 +00:00
dolby-oss 99f7883d0c fix to demandpa regression failures
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3561 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-04 14:09:58 +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 77101da20f misc. cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3434 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-10 19:48:32 +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
sjfink 9636dd278a misc. documentation and IllegalArgument tests
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3391 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-31 18:38:03 +00:00
sjfink 93411336ba misc. small fixes and documentation
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3372 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-26 20:56:08 +00:00
sjfink 712ed8dcb7 bug fix in iterator()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3324 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-16 21:37:55 +00:00
sjfink 34fd3dafde misc. API hardening. documentation, IllegalArgumentExceptions, some other exception cleanups, and some reduced visibility for fragile code.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3321 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-16 20:40:56 +00:00