Commit Graph

27 Commits

Author SHA1 Message Date
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
msridhar1 c18cc405f7 fix disabling of call / apply for ajaxslt test
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4408 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-06 21:48:53 +00:00
msridhar1 ea7be296c8 create JSAnalysisOptions, and use to add proper option to disable handling of call / apply
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4405 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-06 21:48:01 +00:00
msridhar1 e149af8a13 Some more tests.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4381 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-06 21:41:57 +00:00
msridhar1 14c4cdb251 bug fix in SSAPropagationCallGraphBuilder: allow empty points-to sets for interesting non-receiver arguments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4335 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-06 21:27:03 +00:00
msridhar1 c0a99989a4 Support for applying a preprocessor to the generated CAst tree before
translating it to IR.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4300 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-06 21:17:39 +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
msridhar1 10849fcf78 add method for constructing an HTML CG with a progress monitor
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4175 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-05-06 15:14:32 +00:00
dolby-oss 7adce5daf7 change to dump api to make usable in other places, without a builder
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4160 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-28 19:08:06 +00:00
msridhar1 18833137c0 Change Mozilla test cases to not pull in external JS files by default (for performance). In makeHTMLCG(), don't call dumpCG() by default.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4127 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-20 20:55:57 +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 bb28cd875f 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@4102 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-04 21:20:31 +00:00
dolby-oss 1f8da24940 add support for base urls
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3923 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-09-09 14:09:16 +00:00
msridhar1 b8ecc8d48a nuked ReflectionSpecification
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3832 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-05-12 17:19:54 +00:00
sjfink a0efbee8ff Major refactoring to introduce com.ibm.wala.ide. Many related changes and patches from Marcelo Paternostro.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3693 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-22 15:06:12 +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
dolby-oss 637f06b2c0 further work on lexical scoping
more bug fixes for Anders


git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3136 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-16 14:54:09 +00:00
dolby-oss ce1e0eca5a move some util functionality to CAst core
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2135 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-10 04:33:40 +00:00
rmfuhrer d6e1b20b5c Now adds the Language object representing JavaScript to the AnalysisScope.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2117 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-06 14:58:36 +00:00
sjfink dab36d8d6f add CancelException to interact with Eclipse progress monitors and thread it through some APIs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2003 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-13 16:18:48 +00:00
dolby-oss e6cceb103b support for 1-CFA analysis
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1986 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-06 04:14:53 +00:00
sjfink e7d9d74292 decouple IR caching from AnalysisOptions with a new AnalysisCache object
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1518 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-20 15:20:13 +00:00
sjfink 3afac56df2 massive overhaul of Warnings management
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1386 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-06 22:08:41 +00:00
dolby-oss ba7b7b53ca adapt to wala changes for cross-language call graphs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1217 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-01 03:33:48 +00:00
sjfink c205bc86f7 delete Entrypoints interface.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1128 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-15 17:45:03 +00:00
sjfink 68772a686c miscellaneous minor cleanups. eclipse build stuff. import statements.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@681 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-08 19:08:41 +00:00
dolby-oss 50fd961772 Initial contribution of core script analysis code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@624 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-02 17:28:04 +00:00