Commit Graph

39 Commits

Author SHA1 Message Date
Julian Dolby 428d5a0005 find arguments array vns 2014-02-08 21:34:55 -05:00
Manu Sridharan 3b1889121b add missing copyright headers 2013-05-22 15:39:19 -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
Max Schaefer 69b93ca7a5 More principled way of checking whether a file belongs to the harness. 2012-09-24 14:01:47 -04:00
Manu Sridharan 5b8da4ad32 oops, really fix the merge conflict 2012-08-28 13:13:10 -07:00
Manu Sridharan 3e04aba5fb Merge branch 'master' of riverdale.watson.ibm.com:jsanalysis
Conflicts:
	com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/util/CallGraph2JSON.java
2012-08-28 13:12:01 -07:00
Max Schaefer f091bb3aca Added utility class for converting call graphs to JSON. 2012-07-31 14:31:34 -04:00
Max Schaefer c9bdd48360 Added utility class for serialising call graphs to JSON. 2012-07-31 14:14:04 -04:00
msridhar1 8b547b4812 Split up ForInLoopRewriter in preparation for merging changes back into
open-source WALA. The extraction code is now in com.ibm.wala.cast.js,
with some more general stuff moved to com.ibm.wala.cast and
com.ibm.wala.util. The tests are in com.ibm.wala.cast.js.test and
com.ibm.wala.cast.js.rhino.test. ForInLoopRewriter itself only contains
the framework specific tests and the copies of the frameworks
themselves.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4418 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-06 21:52:26 +00:00
dolby-oss b0849e3ab6 updates to processing of Web pages:
1) adopted the code from Rational for HTML handling
    i) extended it to integrate better source mapping into IR
    ii) integrated fixes from the old html processing to collect more info on forms
    iii) added some copyright comments
  2) updated version of jericho
  3) added support for nu.validator for html5
  4) added script to fetch html parser jars, and removed binary jar
  

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4091 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 15:25:53 +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
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 01cf547410 check for null values of attributes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3997 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-11-22 17:44:53 +00:00
dolby-oss 6f0e52f538 fix for broken input fields
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3995 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-11-05 20:27:29 +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 6bdea6a627 minor hacks for ugly js code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3978 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-10-11 14:38:04 +00:00
dolby-oss 00a332e632 hack to track URLs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3971 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-10-11 14:26:48 +00:00
yinnon_haviv 02842ff765 Adding Generators (Extracting js source from html) that support line numbering. Currently used only from within the JsViewerDriver.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3957 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-09-29 15:29:55 +00:00
yinnon_haviv 1d4d158de3 Replace manual creating of URL (using, e.g., "file:" + f.getAbsolutePath() ) with progrematic one.
(File.toURI().toURL()). Good for cross platform (Mac vs. Windows)

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3953 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-09-28 16:22:08 +00:00
yinnon_haviv 2fea4f6e4f - Fix unit tests both for Mac and Windows environment.
- Replace Html Parser with one that is based on Jericho (require running ./fetch_libraries.sh on cast.js project. 

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3942 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-09-27 15:15:03 +00:00
dolby-oss 9855a8b4ff remove debugging prints
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3927 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-09-10 22:32:54 +00:00
dolby-oss 1faed23dba bug fixes to handling script text
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3925 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-09-09 18:48:31 +00:00
dolby-oss d3a3c41cbd minor bug fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3922 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-09-09 14:07:07 +00:00
dolby-oss b1758cbd72 modularize script writing slightly
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3854 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-07-19 14:08:28 +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
sjfink db1bc2fadc fix broken CAst builds.
deprecate Internal and NonNull annotations

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3577 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 13:51:24 +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 c3769d5717 performance and other fixes driven by models of Web pages for JavaScript
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3562 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-04 14:11:31 +00:00
pistoia 01272cd6e9 Minor change allows the HTML call graph builder to analyze charsets different from traditional ones. Before, it would throw an IOExcpeption.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3537 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-27 21:34:24 +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
dolby-oss 9160a2f565 fixes to extraction of scripts from HTML
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3044 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-10-03 20:07:32 +00:00
sjfink 433b943759 use Hash factories everywhere
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1439 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:08:21 +00:00
sjfink 99a97fb477 massive overhaul of Warnings management
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1389 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-06 22:09:08 +00:00
dolby-oss db20b2bf15 improve precision of model for creation of nodes in DOM
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1332 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-02 21:11:14 +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
sjfink f1ac319ca0 squash remaining Eclipse warnings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@702 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-09 15:34:25 +00:00
sjfink 86bcc926ee miscellaneous minor cleanups. eclipse build stuff. import statements.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@677 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-08 19:07:30 +00:00
dolby-oss ceb1f9ef34 allow extractScriptFromHTML to take a String as well as a URL
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@659 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-07 18:54:07 +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