Manu Sridharan
757ae95ef0
add getNumberOfUses()
2013-07-10 09:44:47 -07:00
Manu Sridharan
e1e67e6b9f
remove unused import
2013-07-10 09:44:46 -07:00
Manu Sridharan
059d841c8c
removing lexical reads and writes from invoke instructions; WIP
2013-07-10 09:44:46 -07:00
Julian Dolby
080325b5f6
merge
2013-06-25 11:57:37 -04:00
Julian Dolby
3015d1c5f9
added container access to ModuleEntry
2013-06-25 11:53:58 -04:00
Manu Sridharan
162a001ce6
remove more code for older lexical access scheme
2013-06-07 09:58:25 -07:00
Manu Sridharan
f268ca91fd
remove precise lexical config options; we want this to just be on
2013-06-07 09:48:00 -07:00
Manu Sridharan
321695617c
delete more code
2013-06-06 20:02:42 -07:00
Manu Sridharan
472a98d7cf
delete some code
2013-06-06 20:02:42 -07:00
Manu Sridharan
d4b252ad51
kill NEW_LEXICAL flag
2013-06-06 20:02:41 -07:00
Max Schaefer
79b12e332e
Only introduce property name contexts for constant keys.
2013-06-07 08:29:24 +08:00
Max Schaefer
ef0cf8589d
Forgot to set translator factory; fixed.
2013-06-07 08:29:24 +08:00
Max Schaefer
79caece0c1
Introducing convenience method for creating a loader factory without a preprocessor.
2013-06-07 08:29:24 +08:00
Max Schaefer
3adaaf50ee
Correlation finder now handles both HTML files and raw JS files as
...
input, doesn't use WebPageLoaderFactory to create CAst anymore.
2013-06-07 08:29:24 +08:00
Max Schaefer
3d974b8313
Temporary commit; things are broken, but I need to switch back to master for a bit.
2013-06-07 08:29:24 +08:00
Manu Sridharan
68db1cc279
avoid recursive apply contexts
2013-06-03 16:47:02 -07:00
Max Schaefer
fcd28ee419
More refactoring of ParameterNameContextSelector, which is now called
...
PropertyNameContextSelector.
2013-06-03 14:13:37 +08:00
Max Schaefer
3a0741571f
Some cleanup in ForInContextSelector; now renamed to
...
ParameterNameContextSelector.
2013-06-03 12:18:29 +08:00
Manu Sridharan
c0bae5cf86
use maven-dependency plugin to copy dependencies
2013-05-30 14:44:00 -07:00
Max Schaefer
61c48fe1bc
Fixed failing test case for field-based call graph construction:
...
visitJavaScriptPropertyRead/Write need to be able to handle static
property writes (weren't those encoded differently before?).
2013-05-29 08:41:55 +08:00
Manu Sridharan
faff1a9125
add copyright headers
2013-05-22 16:21:33 -07:00
Manu Sridharan
54593a8f46
add code for field-based call graph
2013-05-22 16:04:25 -07:00
Manu Sridharan
3b1889121b
add missing copyright headers
2013-05-22 15:39:19 -07:00
Manu Sridharan
e6bef253ff
Merge branch 'master' into maven
2013-05-02 10:58:55 -07:00
Manu Sridharan
dcc7cd206d
bug fix: allow each language to determine when a CGNode represents the "definer" method for a lexical access
2013-04-29 20:34:40 -07:00
Marcel Bruch
c6e88b6d80
fixed classpath, added jericho jar to classpath
2013-04-29 13:18:36 +02:00
Marcel Bruch
87c164e402
added js projects to tycho build
2013-04-29 13:13:23 +02:00
Marcel Bruch
7c2d18cd58
[releng] added preliminary maven tycho build support
2013-04-29 13:13:22 +02:00
Julian Dolby
1cc5e5ce9c
fixes for bug with dead code and exception handlers
2013-04-10 21:16:12 -04:00
Manu Sridharan
00eb1d2bd2
Set all projects to build against Java 6; no semantic change. Fixes #20
2013-04-10 16:01:27 -07:00
Manu Sridharan
4f7ec12edd
Expose temporary file created by source extractor. Fixes #19
2013-04-10 12:22:57 -07:00
Manu Sridharan
dae0b33233
Merge branch 'master'
...
Conflicts:
com.ibm.wala.cast.java/src/com/ibm/wala/cast/java/loader/JavaSourceLoaderImpl.java
com.ibm.wala.cast.js.rhino.test/harness-src/com/ibm/wala/cast/js/test/TestSimpleCallGraphShapeRhino.java
com.ibm.wala.cast.js.rhino.test/harness-src/com/ibm/wala/cast/js/test/TestSimplePageCallGraphShapeRhino.java
com.ibm.wala.cast.js.rhino.test/harness-src/com/ibm/wala/cast/js/test/TestSimplePageCallGraphShapeRhinoJericho.java
com.ibm.wala.cast.js.rhino.test/harness-src/com/ibm/wala/cast/js/vis/JsViewerDriver.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/loader/JavaScriptLoader.java
com.ibm.wala.cast/source/java/com/ibm/wala/cast/tree/CAstEntity.java
2013-04-09 15:56:47 -07:00
Manu Sridharan
11c6619c7f
Variety of changes to JS front end.
...
- crash fixes
- small enhancements to prologue and preamble
- tighter handling of timeouts during CG construction
2013-04-09 15:47:22 -07:00
Julian Dolby
7c3e13d09f
remove extraneous printing
2013-03-03 19:43:45 -05:00
Julian Dolby
6bb51a6e58
fixes for parse errors in JS and HTML
2013-03-01 10:08:30 -05:00
Julian Dolby
87b856928c
fixes for handling parse errors in JS and HTML
2013-03-01 10:07:20 -05:00
Julian Dolby
189a251a93
fix for for in contexts for NEVER case
2013-02-08 08:54:24 +01:00
Julian Dolby
afccdd2189
Annotation support
2013-02-02 21:27:45 -05:00
Manu Sridharan
1d06b2f764
organize imports
2013-01-22 15:42:04 -08:00
Julian Dolby
9aa474fdb1
1) added InstanceKey.getCreation sites and its implementations
...
2) fixes for issues with keys representing dynamic properties
i) all properties are converted to strings, in an approximation of JS
semantics
3) fix to handling of instance keys representing numbers in binary +;
now it understands that adding constant keys of type Number requires
adding a non-constant Number key to the lval
2013-01-07 20:18:27 -05:00
Manu Sridharan
730151956f
organize imports
2013-01-04 12:00:26 -08:00
Manu Sridharan
6084f4ff61
Generate proper InstanceFieldKeys for property accesses with Numbers.
...
Note that this change actually breaks a couple of our unit tests. But,
it seems they were only passing by accident before anyway, and this change
at least leads to a more consistent handling of dynamic property accesses
with String vs. Number property names.
2012-12-18 10:11:59 -08:00
Manu Sridharan
5bcdb30014
add method to get a PointerKey for a global
2012-11-30 13:37:34 -05:00
Manu Sridharan
4a87d7b145
compare FieldValueDispatch objects based on CGNode as well
2012-11-30 11:04:48 -05:00
Manu Sridharan
3ee6f9d229
Merge branch 'master' of github.com:wala/WALA
2012-10-08 13:34:04 -07:00
Manu Sridharan
fae5d9f3dd
weaken recursion check slightly
2012-10-08 13:33:45 -07:00
Manu Sridharan
bcee68c412
bug fix in generated IR
2012-10-08 13:32:59 -07:00
dolby
d8985fe60b
Merge branch 'master' of https://github.com/wala/WALA.git
2012-10-03 10:53:39 -04:00
dolby
f7a7d66b28
move loop unrolling code to wala from Miniatur/MemSAT
2012-10-03 10:53:04 -04:00
Manu Sridharan
695b9948a3
fix getNodes() to correctly return nodes corresponding to constructors
2012-10-02 12:27:31 -07:00