Commit Graph

103 Commits

Author SHA1 Message Date
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
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
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