Max Schaefer
4dc8bf18bc
Merge branch 'master' of riverdale.watson.ibm.com:jsanalysis
2012-07-31 14:15:19 -04:00
Max Schaefer
c9bdd48360
Added utility class for serialising call graphs to JSON.
2012-07-31 14:14:04 -04:00
Manu Sridharan
7aaba4bc5a
Bug fix in dispatch logic + test
...
Due to constant parameters, we can't assume that constraints don't need
to be generated when we've already seen a target at a call site (since
the previous constraints may have only passed certain constant parameter
values, rather than all parameter values). Add a check to handle these
cases correctly.
2012-07-30 12:40:48 -07:00
Manu Sridharan
b940e9dc0a
add edgeExists CLI option to check if some edge exists in the call graph
2012-07-26 15:26:59 -07:00
Manu Sridharan
eb0524c634
tests were failing when run as part of the suite
2012-07-20 16:27:17 -07:00
Manu Sridharan
2299d8a13a
improve caching of receiver values when handling dispatch
2012-07-17 12:11:55 -07:00
Manu Sridharan
9847bf21f4
Merge remote-tracking branch 'origin/master'
2012-07-12 10:30:56 -07:00
Manu Sridharan
9a0e105e51
fix so that new lexical scheme can be enabled with Java frontends
2012-07-12 10:27:24 -07:00
Max Schaefer
a3d8a0c757
Renamed two test methods.
2012-07-09 14:24:36 -04:00
Max Schaefer
c5e31617e1
Some more tests.
2012-07-09 14:22:34 -04:00
Max Schaefer
d40729c444
Small improvement to treatment of generated names in extraction tests.
2012-07-05 16:31:58 -04:00
Max Schaefer
b4172d5920
Test for break statements that break out of a non-loop statement. This
...
is currently not handled correctly by the translation to CAst.
2012-07-05 15:51:04 -04:00
Max Schaefer
3fe9bedf95
Can now pass a JS file to HTMLCGBuilder, it will create a simple wrapper
...
HTML file.
2012-07-05 15:50:02 -04:00
Max Schaefer
ff3416a89f
Be more careful when determining source-level names for SSA variable to
...
avoid index-out-of-bounds accesses.
2012-07-05 11:20:25 -04:00
Max Schaefer
468f0a9864
Added a workaround for differences in generated names between actual and
...
expected output in some of the tests.
2012-07-05 09:56:53 -04:00
Max Schaefer
fca3999e9a
Fixed rewriting of non-constant switch cases.
2012-07-05 09:37:47 -04:00
Max Schaefer
5ba9b7b735
Merge branch 'master' of git@riverdale.watson.ibm.com:jsanalysis
2012-07-05 08:34:01 -04:00
Max Schaefer
9d1d198777
New test case for call graph construction.
2012-07-04 15:29:16 -04:00
Manu Sridharan
f6e52c9b93
Merge remote-tracking branch 'riverdale/master'
2012-07-04 10:27:13 -07:00
Max Schaefer
7bdc127ce5
Workaround for invalid end positions in CAst.
2012-07-04 12:19:05 -04:00
dolby
d0d1ff1a2b
Merge branch 'master' of https://github.com/wala/WALA.git
2012-07-03 19:22:37 -04:00
dolby
f7eb9bd174
apply changes for WALA git issue 3
2012-07-03 19:22:08 -04:00
Manu Sridharan
1a5f8954f2
fix NPE
2012-07-03 15:55:14 -07:00
Manu Sridharan
76ca05ccb8
comment out manual enabling of CG dumps; we really need a better solution here
2012-07-03 15:55:02 -07:00
Manu Sridharan
ec2b83ff1b
don't run the jquery test as part of the standard regression; we don't scale yet
2012-07-03 15:07:20 -07:00
dolby
81c16d8121
ignore junk
2012-07-02 13:59:50 -04:00
dolby
1965001200
adapt to changes in source position mapping
2012-07-02 13:38:59 -04:00
Julian Dolby
d10557f537
Merge branch 'master' of https://github.com/wala/WALA
2012-07-02 13:35:57 -04:00
Julian Dolby
1c7177fc4a
use default jre
2012-07-02 13:35:49 -04:00
dolby
4b3cba710d
changes from upstream
2012-06-29 15:47:54 -04:00
dolby
59fc11b5f3
fixes for java soiurce positions
2012-06-29 15:45:42 -04:00
dolby
e241e755b3
fix to launcher
2012-06-29 14:46:37 -04:00
Manu Sridharan
12a9aa6e24
fixing launchers
2012-06-28 10:31:55 -07:00
Manu Sridharan
7045a06e51
Remove com.ibm.wala.j2ee
...
The code has bitrotted with respect to trunk and is causing confusion.
2012-06-27 17:45:39 -07:00
Manu Sridharan
10aac25586
added documentation
2012-06-19 21:48:32 -07:00
Manu Sridharan
0938354288
Fix for bug reported by Thomas Deuster on mailing list.
...
The issue was that it's possible for multiple invoke instructions with
different actual parameters to be associated with a single CallSiteReference.
In this case, the invariant parameters for each invoke instruction may differ.
2012-05-15 09:40:39 -06:00
Manu Sridharan
bef88569dd
Merge pull request #2 from dperelman/master
...
Making CallStringContext easier to work with
2012-05-14 18:16:43 -07:00
Daniel Perelman
abeba01a16
Made CallString's .toString() more informative.
2012-05-14 17:58:29 -07:00
Daniel Perelman
49c00ca231
Made CallStringContextSelector correctly call base's getRelevantParameters().
2012-05-14 17:57:28 -07:00
Daniel Perelman
f049b24934
Added getters used in my code.
2012-05-14 17:55:40 -07:00
Manu Sridharan
ca6701f4b5
add copyright notice
2012-05-14 14:38:35 -06:00
Manu Sridharan
3003b9e579
Merge branch 'zero-length-arrays'
2012-05-12 18:29:03 -06:00
dolby
b6ee356641
tests for source mapping
2012-05-11 15:03:10 -04: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
dolby
b2034ed90f
extensions to HTML file source position tracking
2012-05-08 14:03:43 -04:00
dolby
b89fdf73f3
Merge branch 'master' of https://github.com/wala/WALA.git
2012-05-08 13:17:22 -04:00
dolby
dfe06b8ff3
changes to Web source mapping to exploit rhino 1.7R3 source offsets
2012-05-08 13:17:01 -04:00
Manu Sridharan
28a351200d
handle invocations of static methods in ReceiverTypeContextSelector (patch from Daniel Perelman)
2012-05-03 16:30:55 -06:00
Manu Sridharan
e0ef5d4844
update ignores
2012-04-17 15:37:38 -04:00
Manu Sridharan
02ba68a349
update manifests for move of the CorePlugin class
2012-04-17 15:37:27 -04:00