Commit Graph

3676 Commits

Author SHA1 Message Date
Manu Sridharan ed88385d82 remove unused launcher 2013-04-30 09:35:03 -07:00
Manu Sridharan a9719a948d change default target to jar 2013-04-30 09:31:35 -07:00
Manu Sridharan 1f254e9b74 formatting, fix warnings 2013-04-29 10:12:12 -07:00
Manu Sridharan 7f9bcf2b7f fix launchers to use execution environment 2013-04-29 09:39:28 -07:00
Manu Sridharan c99155e795 add extra dependencies for Eclipse Juno 2013-04-27 09:54:07 -07:00
Manu Sridharan f439646cb1 fix potential NPE in AbstractRootMethod.addAllocation() 2013-04-15 08:58:42 +02:00
Manu Sridharan 97cae29368 add parse_error.js to excluded paths to get rid of compile error 2013-04-12 10:24:12 -07:00
Manu Sridharan 67dd61e005 update build prefs to allow for referencing restricted libs 2013-04-11 11:57:14 -07:00
Julian Dolby b90583f4fd test file for dead code with exception handlers 2013-04-11 08:26:48 -04: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 355bf4ad69 update ignores 2013-04-10 10:42:33 -07:00
Manu Sridharan 1079d68aea delete files 2013-04-10 10:33:28 -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
Manu Sridharan 368daf9427 organize imports 2013-04-09 14:16:01 -07:00
Manu Sridharan a7195852b1 don't cache synthetic method IR / DU in ExplicitNodes 2013-04-09 10:01:19 -07:00
Manu Sridharan 80557c6e6d Merge pull request #16 from cos/warning-for-ssainstruction-identity
warning on SSAInstruction equals()
2013-04-08 15:15:54 -07:00
Cosmin Radoi d137143ecf warning on SSAInstruction equals() 2013-04-08 17:08:32 -05:00
Manu Sridharan 0204a7fead Merge pull request #15 from cos/cgnode-weakref-ir-defuse
use WeakReference so that CGNode.getIR() doesn't hit the cache too often
2013-04-08 14:27:50 -07:00
Manu Sridharan 9549da9954 read runtime-visible annotations for fields 2013-04-08 13:50:26 -07:00
Manu Sridharan fa14d7a73d Require that gen'd vector contains 0. fixes #8 2013-04-08 10:51:25 -07:00
Julian Dolby 2d3b78a60d Merge branch 'master' of https://github.com/wala/WALA.git 2013-04-03 12:13:10 -04:00
Julian Dolby 321e925660 work on CHA 2013-04-03 12:12:43 -04:00
Manu Sridharan 797add310e update ignroes 2013-03-30 18:09:04 -07:00
Manu Sridharan 1ae05fa366 patch up build.xml for project rename 2013-03-30 12:25:01 -07:00
Manu Sridharan f0d68d41bc more informative assertion 2013-03-30 12:21:20 -07:00
Manu Sridharan 2a9eced391 rename com.ibm.wala.cast.java.jdt.test to com.ibm.wala.ide.jdt.test
It looks like this change was made partially before, but maybe not
completed?  Anyway, this gets our JDT test launchers to work again.
2013-03-30 11:40:18 -07:00
Manu Sridharan 3718319e58 don't commit test_project.zip 2013-03-30 08:41:45 -07:00
Manu Sridharan 2f55ba8b5b Merge pull request #13 from vazexqi/ASTJavaTypeInference-PrimAndStringOp-bug
Add the test file to com.ibm.wala.cast.java.test.data/src for pull request #12
2013-03-30 08:40:00 -07:00
Nicholas Chen 76408b6d1a Add the source file to com.ibm.wala.cast.java.test.data
Previously, I only included the source file in the zip file but just
realized the zip file is auto-generated from the
com.ibm.wala.cast.java.test.data/src folder.
2013-03-30 09:52:28 -05:00
Manu Sridharan caace4e063 Merge pull request #12 from vazexqi/ASTJavaTypeInference-PrimAndStringOp-bug
PrimAndStringOp bug in AstJavaTypeInference
2013-03-29 15:50:03 -07:00
Nicholas Chen dc4712fd75 Initialize stringClass field lazily
This ensures that when we need to use stringClass, it can be constructed
directly from the cha field. Previously, it was only initialized after
the call to super(…) in the constructor. However, by then it is too late
because super(…) calls initialize() and solve() which need the
stringClass field.
2013-03-29 17:21:45 -05:00
Nicholas Chen eed055a69a Test case exemplifying Unexpected type: class com.ibm.wala.analysis.typeInference.JavaPrimitiveType
This is a simple test case that illustrates the issue with type inference
on a String + some primitive.

The code is

package javaonepointfive;

public class TypeInferencePrimAndStringOp {
  public static void main(String[] args) {
    int a = 2;
    String result = "a" + a;
  }
}
2013-03-29 17:21:06 -05:00
sjfink c9e1b2e587 fix a bug in BitVectorVariable.copyState() involving empty vectors 2013-03-18 08:40:25 -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
Cosmin Radoi 3b48685d1d use WeakReference so that CGNode.getIR() doesn't hit the cache too often 2013-02-19 15:30:06 -06:00
Manu Sridharan 9112408418 update comments 2013-02-14 09:35:55 -08:00
Manu Sridharan 7579f5644a Change BitVectorRepository to use LinkedLists
This removes a nasty source of non-determinism when using
MutableSharedBitVectorIntSets.
2013-02-13 16:17:23 -08:00
Manu Sridharan 1cf9a0008b improve javadoc 2013-02-12 17:15:04 -08:00
Julian Dolby ca3f89eac9 Merge branch 'master' of https://github.com/wala/WALA.git 2013-02-08 09:14:28 +01:00
Julian Dolby 189a251a93 fix for for in contexts for NEVER case 2013-02-08 08:54:24 +01:00
Manu Sridharan 8e8e5fa8ba Merge branch 'minor' of https://github.com/cos/wala into cos-minor
Conflicts:
	com.ibm.wala.core/src/com/ibm/wala/dataflow/IFDS/VectorKillFlowFunction.java
2013-02-06 16:54:46 -08:00
Cosmin Radoi aa6487fafc missing VectorKill println method
modeled after the VectorGen method
2013-02-06 18:21:01 -06:00
Julian Dolby afccdd2189 Annotation support 2013-02-02 21:27:45 -05:00
Manu Sridharan 590347f171 Properly fix path-with-spaces bug.
The previous fix happened to work, but it did the URL decoding
in the wrong place.
2013-01-30 21:05:23 -08:00
Manu Sridharan 182363bf88 fix bug involving paths with spaces 2013-01-30 17:29:41 -08:00