Ben Liblit
5a5cccc062
Strip execute bits from many non-executable (i.e., non-script) files
2017-02-23 06:10:08 -06:00
Julian Dolby
3156f03145
more CPA work
2016-09-19 13:51:18 -04:00
Manu Sridharan
f6167c6f0c
add models for reduceRight and filter
2015-03-17 16:47:12 -07:00
Manu Sridharan
42880c6516
handle sparse arrays
2015-03-17 16:31:31 -07:00
Manu Sridharan
21763cc8f2
bug fix
2015-03-17 16:31:15 -07:00
Manu Sridharan
1c07d3bba3
corrected model for Array.prototype.pop
...
WALA's previous model would always return undefined,
since mutating the Array length would delete the
relevant value before it was accessed.
2015-03-11 14:10:58 -07:00
Manu Sridharan
41f4209334
Models for Array.prototype.some, every, and reduce
2015-03-10 16:17:39 -07:00
Julian Dolby
096e2f796f
1) new support for function.prototype.apply in field-based CGs
...
2) fixes to Dalvik bytecode reader
3) fixes to Shrike writing Java 7 byte code
2014-12-11 21:48:23 -05:00
Julian Dolby
981fc9a4a1
fix duplicate function name.
...
ø
2014-10-22 11:26:31 -04:00
Julian Dolby
36709b9d1a
java 7 support, with much pain for stack maps :)
2014-10-06 15:34:16 -04:00
Julian Dolby
df0c94f718
string concat function
2014-07-08 14:39:38 -04:00
Julian Dolby
c916e41c7a
tweaks to models
2014-05-28 13:36:07 -04:00
Julian Dolby
a1ca9203a6
flow graph handles some flow through the arguments array. also a fake
...
'pointer analysis' is constructed using the flow graph.
2014-02-08 22:50:32 -05:00
Julian Dolby
e9cdd57fed
make some prototype function names more explicit
2013-08-29 10:18:05 -04: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
Max Schaefer
e130a5b963
Some refactoring of prologue.js and preamble.js to use more consistent
...
names.
2012-09-18 13:22:17 -04:00
dolby-oss
a9ec87f360
Changes motivated by analysis issues in JavaScript. The main change is that calls of the form f.x() in JavaScript are now analyzed like 'method calls' so that the 'this' pointer in the receiver functions can be filtered based upon the types that actually have the method being invoked. This requires much more dynamic filtering than in a language like Java, since properties like 'x' are simply properties that happen to hold functions, and so can be assigned in a first-class manner. Thus, the filtering needs to handle variance in both the types and the values of their properties; this is implemented as multiple levels of abstract object directed side effect equations in the dataflow system.
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4535 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-03-01 02:45:51 +00:00
msridhar1
59fae9a7e9
Added very crude handling of addEventListener.
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4400 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-06 21:46:36 +00:00
msridhar1
df30320720
Cosmetic change.
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4386 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-06 21:43:09 +00:00
msridhar1
5608a3ce73
Function is a function.
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4379 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-06 21:37:36 +00:00
msridhar1
a55135831e
fix missing semi-colon
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4347 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-06 21:30:02 +00:00
msridhar1
fc1a961c4c
undo hacks
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4346 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-06 21:29:52 +00:00
msridhar1
48b42a18a0
tinkering with jquery
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4345 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-06 21:29:42 +00:00
msridhar1
be1ead5245
additional modeling of prototype chains for built-in objects
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4320 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-06 21:22:27 +00:00
dolby-oss
dcc7481b17
use Arrays for lists of nodes
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4191 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-06-30 15:45:20 +00:00
msridhar1
201b28eea0
bug fixes for handling of prototype and __proto__
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4188 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-06-22 21:23:49 +00:00
dolby-oss
3e573a992d
upgrades to lexical soping implements to address some performance issues
...
fixes to HTML model to capture use of local vars as window state in scripts
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4176 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-05-23 16:27:07 +00:00
dolby-oss
9006fce690
some bug fixes to CAst IR generation, especially in handling exceptions
...
cleanup of how JDT analysis engines work, to make using the JDT front end more modular
bug foxes to JavaScript handling, most notably fixing scoping of functions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4123 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-13 16:27:15 +00:00
dolby-oss
37acebc7be
fixes for url analysis
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4001 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-11-23 15:32:18 +00:00
dolby-oss
23b669a691
more work and tests on Web page model
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3991 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-11-05 00:36:44 +00:00
dolby-oss
5f3d357bf7
hack to track URLs and XMLHttpRequest post parameters
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3980 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-10-11 18:04:03 +00:00
dolby-oss
aa5bd8399e
fix to handle redefinition of 'undefined' (yuck)
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3972 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-10-11 14:27:41 +00:00
yinnon_haviv
a0737caedb
fix typo
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3966 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-10-06 08:45:23 +00:00
yinnon_haviv
79bd333d87
Added missing buit-in functions
...
- escape
- unescape
- String.substr (not the same as String.substring)
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3962 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-10-02 21:01:37 +00:00
yinnon_haviv
515c77c53c
Adding missing BOMs
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3956 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-09-29 15:25:10 +00:00
dolby-oss
2e724aac3e
fixes for JavaScript motivated by Web examples
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3823 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-28 19:38:28 +00:00
dolby-oss
09eb9c33ab
add function expressions for URI functions
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3622 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-01 17:35:07 +00:00
pistoia
913fd56249
augmented preamble.js and Generator.java to have a better handle of the DOM
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3569 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-05 18:29:07 +00:00
dolby-oss
b63ec35157
fix to model of DOM in web pages
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1327 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-29 19:16:34 +00:00
dolby-oss
3f8232a725
improved mechanism for handling 'arguments' array; add model of 'replace' for strings; add new isNullType for Language object
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1324 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-28 14:32:15 +00:00
dolby-oss
d8f21f8ee5
Initial contribution of core script analysis code
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@622 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-02 17:25:09 +00:00