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
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
sjfink
a0fe8ce52c
more documentation and IllegalArgumentExceptions
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3320 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-16 16:45:39 +00:00
sjfink
c095615761
more documentation and IllegalArgumentExceptions
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3315 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-16 14:58:32 +00:00
sjfink
b8f49b5564
precondition checks and documentation
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3310 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-13 21:16:38 +00:00
sjfink
0c19a47c91
more IllegalArgumentExceptions
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3298 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-12 21:08:07 +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
8edeaf893d
more IllegalArgumentExceptions
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3287 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-11 20:10:40 +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
f63e374a4b
more IllegalArgumentExceptions. a few small bug fixes
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3278 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-11 16:57:32 +00:00
sjfink
4d1f7ab35f
more IllegalArgumentExceptions
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3272 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-10 21:18:07 +00:00
dolby-oss
aad54f7abc
further Shrike refactoring to generalize instructions
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3241 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-26 16:50:52 +00:00
dolby-oss
b61135c8be
adapt to Shrike changes: divorce SSAInstruction from the Shrike Instruction, which requires adding a type parameter to ControlFlowGraph and propagating that change. Also, stop using the JVML opcode in a few places where it was (unnecessarily) being used.
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3227 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-19 15:58:31 +00:00
msridhar1
92ffa60892
disable handling of java.lang.Class methods when Method.invoke handling is disabled
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3222 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-13 15:06:17 +00:00
msridhar1
512634d9e6
bug fix
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3217 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-06 18:35:46 +00:00
msridhar1
714d6ac94b
bug fix
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3216 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-06 18:28:51 +00:00
msridhar1
5afc8190f5
bug fix, added repOk()
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3215 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-06 15:18:45 +00:00
msridhar1
c66aa5c696
implement equals() and hashCode()
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3204 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-03 19:22:34 +00:00