Manu Sridharan
c006dbcdd4
fix Shrike to depend on Java 7
2014-08-28 10:17:03 -07:00
Julian Dolby
0ea26e572c
remove debugging file
...
Former-commit-id: a4284ca571047d1e5e02fa5d142680a59993fe54
2014-08-08 08:15:55 -04:00
Julian Dolby
26f5254e3e
more support for Java 7:
...
analysis now understands and propagates MethodHandle objects
fixes to Shrike InvokeDynamic instruction
Former-commit-id: fb826f124423bcbca08f729cee1794fbda711d16
2014-08-07 16:02:48 -04:00
Juergen Graf
6f8aee80c6
Merge branch 'wala' into master
2014-07-28 17:09:02 +02:00
Michael Heilmann
0bb5e6998e
Remove redundant casts and imports, improve doc comments
2014-06-26 17:51:26 +02:00
Juergen Graf
428a3975ed
Merge branch 'wala' into master
...
Conflicts:
com.ibm.wala.cast.java/src/com/ibm/wala/cast/java/loader/JavaSourceLoaderImpl.java
com.ibm.wala.cast.java/src/com/ibm/wala/cast/java/ssa/AstJavaInstructionFactory.java
com.ibm.wala.cast.java/src/com/ibm/wala/cast/java/ssa/AstJavaInvokeInstruction.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/html/WebPageLoaderFactory.java
com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/loader/JavaScriptLoader.java
com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ssa/JSInstructionFactory.java
com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/ssa/JavaScriptInvoke.java
com.ibm.wala.cast/source/java/com/ibm/wala/cast/ipa/callgraph/AstCallGraph.java
com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/AbstractLexicalInvoke.java
com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/AstInstructionFactory.java
com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/AstLexicalRead.java
com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/AstLexicalWrite.java
com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/ssa/FixedParametersInvokeInstruction.java
com.ibm.wala.cast/source/java/com/ibm/wala/cast/ir/translator/AstTranslator.java
com.ibm.wala.core/.classpath
com.ibm.wala.core/.settings/org.eclipse.jdt.core.prefs
com.ibm.wala.ide/src/com/ibm/wala/ide/util/ProgressMonitorDelegate.java
com.ibm.wala.util/src/com/ibm/wala/util/NullProgressMonitor.java
com.ibm.wala.util/src/com/ibm/wala/util/ProgressMaster.java
2014-05-20 17:59:16 +02:00
Julian Dolby
50c4ae2faa
try new way to find classpath entries for travis ci
2014-05-20 13:11:16 +02:00
Julian Dolby
27adad8a04
constant instructions for MethodHandles
2014-05-20 13:11:02 +02:00
Julian Dolby
572d3ba6a2
some minimal support for Java 7 constant pool entries
2014-05-20 13:10:51 +02:00
Julian Dolby
c20b59013e
threading support
2014-05-20 13:09:16 +02:00
Julian Dolby
2750f8e67b
1) use less verbose instrumentation to reduce problems with methods
...
getting too big
2) handle issues with exceptional control flow not being followed
properly sometimes
2014-05-20 13:09:13 +02:00
Julian Dolby
e788a94b06
fix missing parentheses in test to fix null pointer crash
2014-05-20 13:09:10 +02:00
Julian Dolby
837cb5aee5
1) compress dumped call graph edges
...
2) make instrumentor preserve the names of jar entries and classes as
they are input, rather than recomputing class names when writing the
output jar. This usually makes no difference, but can preserve broken
structures when the input jar file has mismatches between class names
and its entry names.
2014-05-20 13:09:07 +02:00
Julian Dolby
b04a3f9b35
try new way to find classpath entries for travis ci
2014-03-17 10:09:48 -04:00
Julian Dolby
656d307e15
constant instructions for MethodHandles
2014-03-16 18:07:58 -04:00
Julian Dolby
6b5a0825fb
some minimal support for Java 7 constant pool entries
2014-03-16 17:30:17 -04:00
Julian Dolby
98e631e1e2
threading support
2014-01-07 22:27:48 -05:00
Julian Dolby
1914f016dd
1) use less verbose instrumentation to reduce problems with methods
...
getting too big
2) handle issues with exceptional control flow not being followed
properly sometimes
2014-01-07 17:35:44 -05:00
Julian Dolby
1e2cc4bd6a
fix missing parentheses in test to fix null pointer crash
2014-01-07 17:34:35 -05:00
Julian Dolby
1259ab929f
1) compress dumped call graph edges
...
2) make instrumentor preserve the names of jar entries and classes as
they are input, rather than recomputing class names when writing the
output jar. This usually makes no difference, but can preserve broken
structures when the input jar file has mismatches between class names
and its entry names.
2014-01-03 10:10:03 -05:00
Julian Dolby
f451a19b52
fix to put directory entries in generated instrumented jars
2013-12-09 21:41:05 -05:00
Julian Dolby
0ccaae3b2c
pull exclusions file support into util project and then share it with
...
the shrike-based dynamic call graph builder so that static and dynamic
graphs can be built consistently more easily.
2013-11-14 13:02:56 -05:00
Julian Dolby
eacfe38dbb
print call edges directly
2013-11-06 09:50:57 -05:00
Julian Dolby
3bb1f12c18
do not write bogus local variable table entries that refer to slots
...
greater than the max local. This causes the verifier to complain. This
can happen when transforming a class that originally contains local
names for stack slots that are never used. When the new code is
written, a correct max locals is calculated, and then these unused local
table entries trigger errors.
2013-11-06 09:34:00 -05:00
Julian Dolby
fd1c0d7d2c
add filtering to instrumentor
2013-10-25 14:49:36 -04:00
Julian Dolby
aa88663182
bare bones dynamic CG instrumentor
2013-10-25 13:34:42 -04:00
Julian Dolby
56236dec53
further work on analysis for JavaScript in Eclipse
2013-10-16 17:37:53 -04:00
Juergen Graf
cdaaddf88b
Merge branch 'wala' into master
2013-07-02 14:23:24 +02:00
Manu Sridharan
b984760100
support for reading method parameter annotations from Java bytecodes
2013-06-28 11:44:47 -04:00
Julian Dolby
080325b5f6
merge
2013-06-25 11:57:37 -04:00
Manu Sridharan
3b1889121b
add missing copyright headers
2013-05-22 15:39:19 -07:00
Marcel Bruch
7c2d18cd58
[releng] added preliminary maven tycho build support
2013-04-29 13:13:22 +02: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
Juergen Graf
397654729d
remove warnings from com.ibm.wala.shrike
2013-03-12 00:57:31 +01:00
Juergen Graf
b82d5dba90
Merge branch 'wala' into master
2012-11-06 04:23:10 +01:00
Manu Sridharan
494af3c53f
expose isRef() method
2012-09-04 16:10:21 -07:00
Manu Sridharan
60db861a5f
complete conversion to Unix line endings
2012-09-04 16:05:49 -07:00
Manu Sridharan
56f3d847a5
more conversion to Unix line endings
2012-09-04 15:59:50 -07:00
Manu Sridharan
256cd06460
Convert all Java source files to use Unix line endings; no semantic change
2012-09-04 15:56:05 -07:00
Manu Sridharan
bb2c45803c
Merge branch 'github_master' into internal_merge
2012-08-21 16:57:27 -07:00
Manu Sridharan
800203a71f
improved documentation
2012-08-21 16:55:30 -07:00
Juergen Graf
b8477d2144
incorporate changes from other branch
...
- basic compatibility with Java 7 (i.e., don't crash immediately)
- Added utility class for converting call graphs to JSON.
- add edgeExists CLI option to check if some edge exists in the call graph
2012-08-06 12:49:03 +02:00
Manu Sridharan
3317c1ccf6
basic compatibility with Java 7 (i.e., don't crash immediately)
2012-08-03 15:41:09 -07:00
Juergen Graf
7477b1730b
Merge branch 'wala' into master
2012-03-19 13:33:48 +01:00
msridhar1
7630cd79c9
Revamped support for reading Java annotation information from .class files.
...
The code should handle all cases now, and the APIs are improved.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4422 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-11 17:11:59 +00:00
Juergen Graf
9421f84c4c
add extended sourcecode position info reader to wala project.
...
remove dependency to sourceinfo project.
2011-10-26 14:33:47 +02:00
Juergen Graf
5c43668553
Merge branch 'wala' into master
2011-04-11 16:40:48 +02: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
Juergen Graf
47711fd310
read enhanced bytecode postions from class attributes
2011-03-30 13:03:16 +02:00
sjfink
3a49f17ebc
update code formatting for Eclipse 3.6
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4048 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-02-03 15:14:47 +00:00
rmfuhrer
3d959edb4c
Updated bundle version to 1.3.1, for the latest WALA release
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4024 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-01-04 21:04:17 +00:00
dolby-oss
c3ea5a8a86
generalize checkcast to take multiple types, with the intended semantics being an object must be one or more of those types
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3816 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-28 19:32:20 +00:00
msridhar1
c1860e180c
move around some utility methods
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3810 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-24 18:12:17 +00:00
msridhar1
f35d4de0d8
javadoc fix
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3809 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-23 22:39:17 +00:00
sjfink
e89a1ee708
force Eclipse compiler to generate 1.5 bytecode for wala.shrike and wala.ide projects
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3737 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-24 18:44:37 +00:00
sjfink
dcd951786e
delete deprecated code from shrike
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3736 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-17 18:55:50 +00:00
dolby-oss
043b72ef10
add indirect loads and stores to address visitor; add type information to indirect operations
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3624 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-03 18:23:26 +00:00
dolby-oss
c707604d22
beginnings of support for handling indirect references (e.g. access via pointers) to the SSA values in the IR. Currently, pushed through Shrike but with only the beginnings in core. Also, not yet integrated with the way lexical scoping works in CAst, which ought to be fixed
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3606 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-20 18:59:53 +00:00
sjfink
228ba981f6
format source code. no semantic change.
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3579 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 14:01:17 +00:00
sjfink
08de74a508
deprecate some old unused code.
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3578 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 13:57:33 +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
dolby-oss
45b1c34d2d
support for 'rethrow' within a catch block
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3549 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 02:03:56 +00:00
sjfink
3fb8781d9d
comments and deprecate some unused code
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3522 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-22 19:11:18 +00:00
sjfink
8cc7e2bd40
organize imports
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3481 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-17 20:57:29 +00:00
sjfink
874c5955a5
add a private constructor
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3480 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-17 20:57:03 +00:00
dolby-oss
e80dc6ef8c
refactor handling of constants in Shrike to abstract away from Java bytecode
...
introduce factories to create SSAInstruction objects
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3433 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-10 18:33:07 +00:00
msridhar1
3774c8b47e
small fix
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3380 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-30 20:09:47 +00:00
msridhar1
1a22a088ab
bug fix: don't rely on order of elements in Dispatch enumeration
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3379 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-30 20:08:04 +00:00
sjfink
2365d81580
small cleanups
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3371 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-26 17:42:27 +00:00
dolby-oss
b2bae33bab
generalize parsing of Descriptors to also handle languages other than Java
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3366 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-26 15:11:45 +00:00
dolby-oss
2e65395044
further shrike-related refactoring
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3365 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-24 17:07:44 +00:00
yinnon_haviv
6c3c1b054e
Added support for reading runtime visible annotations
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3361 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-22 07:51:29 +00:00
msridhar1
838f6cf90a
isPEI() fixes for binary op instructions
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3358 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-19 17:21:52 +00:00
msridhar1
5b829251f9
bug fix: isPEI() should return false for static field accesses
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3357 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-19 15:15:31 +00:00
sjfink
f56f606ce2
more IllegalArgumentExceptions
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3332 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-17 17:52:06 +00:00
sjfink
d175c8e0e3
misc. hardening and bug fixes
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3329 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-17 16:01:43 +00:00
sjfink
a3b7564df6
more IllegalArgumentExceptions
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3326 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-17 14:15:40 +00:00
sjfink
89c9d17284
bug fix: CONSTANT(klass) can throw ClassNotFoundException
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3325 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-17 13:25:07 +00:00
sjfink
1ada88e603
organize imports
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3275 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-11 13:53:55 +00:00
dolby-oss
1b1c7f2b3f
further Shrike refactoring to generalize instructions
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3274 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-11 13:33:00 +00:00
sjfink
e405752518
bug fix for a corner case where JSR processing encounters a swap involving the return address on the stack
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3271 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-10 20:20:04 +00:00
dolby-oss
aad54f7abc
further Shrike refactoring to generalize instructions
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3241 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-26 16:50:52 +00:00
sjfink
407497b32f
clean up import
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3235 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-19 18:38:27 +00:00
dolby-oss
1517a9dd7d
changes to make the ShrikeBT instructions less tied to the details of Java bytecode
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3226 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-19 15:55:50 +00:00
msridhar1
c461057ece
change to 1.5 execution environment; fix some warnings
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3102 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-01 21:50:54 +00:00
sjfink
66884c2c37
fix Eclipse 3.4.1 compiler warnings
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3100 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-01 19:40:43 +00:00
sjfink
06b647f8dd
bug fix with logical operators
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3035 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-09-12 13:59:27 +00:00
sjfink
145bb80e22
make an inner class static
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3006 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-08-21 22:13:36 +00:00
sjfink
b19397531b
misc. minor cleanups
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2996 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-08-20 16:06:17 +00:00
sjfink
59c6cac381
support for reading InnerClass attributes
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2991 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-08-15 14:49:41 +00:00
sjfink
6efd98c8ce
tweak code format
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2942 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-07-04 01:56:31 +00:00
msridhar1
6b82b15311
removed a call to intern()
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2914 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-06-26 18:12:14 +00:00
sjfink
b7b9575853
tweak code format
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2909 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-06-25 14:52:04 +00:00
sjfink
28f60e05b7
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2824 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-18 14:03:19 +00:00
rmfuhrer
88607a3247
Removed redundant initialization code (already in buildPluginCommon.xml). Added missing dependency of target "plugin.jar" on "javaInit" to pick up compiler-related property settings.
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2815 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-13 20:35:45 +00:00
sjfink
9883d09e29
optimize .. avoid a call to clone()
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2799 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-12 13:33:50 +00:00
sjfink
1f131186f9
set Version as requested by Ashish Patel
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2783 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-05-04 15:24:53 +00:00
sjfink
9f5ea66719
tweak code format
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2368 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-11 16:50:59 +00:00
sjfink
10177ec1e5
tweak code formatting for enums
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2336 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-10 16:26:17 +00:00
loginov
efd7c11eef
Only an exclusion of bak/ subdirs of the src tree.
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2296 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-04 22:52:44 +00:00