Commit Graph

109 Commits

Author SHA1 Message Date
Martin Hecker 867a8ecf2b When creating TypeAnnotations with LocalVarTarget, somewhat deal with class files that lack a LocalVariableTable 2016-12-05 18:52:38 +01:00
Martin Hecker de0f9c2a1f WALA: Provide acces to JSR 308 Annotations via new Class TypeAnnotation.
Access is provided via corresponding methods in FieldImpl, ShrikeCTMethod and ShrikeClass.
Since we do not currently have implementation of these methods for front-ends other than Shrike, these new methods are not yet made available in the corresponding interfaces.
2016-12-05 18:52:38 +01:00
Julian Dolby 671bd98977 Java 8 suport enhancements, mostly to model lambdas compiled to
invokedynamic
2015-08-12 15:20:21 -04:00
Julian Dolby 563b6ba6aa fixes for for ... in ... form in JavaScript 2015-07-24 22:44:10 -04:00
Julian Dolby de26484098 java annotations support for dalvik 2015-03-04 13:49:58 -05:00
Julian Dolby 774be73672 Merge https://github.com/jgf/wala-mirror 2014-09-11 10:43:13 -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 c05415720e remove custom change markers for code that will be merged to main branch 2014-08-01 12:27:22 +02: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
Andreas Sewe d0b5e8ddd2 Made TypeName.findOrCreate thread-safe 2013-05-07 14:54:14 -07:00
Juergen Graf b82d5dba90 Merge branch 'wala' into master 2012-11-06 04:23:10 +01: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
dolby 4cc3a08b63 comment attempting to explain how 'dimensionality' works 2012-08-31 15:45:56 -04:00
dolby e946d1deb9 fixes for misuse of getDimensionality 2012-08-28 12:02:48 -04:00
Manu Sridharan bab4777e4c some (very) basic support for pointer / reference types 2012-08-21 16:56:18 -07:00
Manu Sridharan 800203a71f improved documentation 2012-08-21 16:55:30 -07:00
Juergen Graf 6a8e8fe018 remove no longer needed work-around for duplicate field names 2012-04-04 11:53:17 +02:00
Juergen Graf d94a3d5b64 work around multiple fields with single name 2012-03-19 14:58:41 +01: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
msridhar1 59e46916ce Generalize certain IR data structures to be less Java-specific. Generalize annotations code to allow for reading annotation parameters. Various other fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4290 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-12-28 17:03:27 +00:00
Juergen Graf 496a98c4bd add possiblility to search existing types without creating new ones 2011-07-14 21:35:46 +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
sartzi 4cda34d1e4 adding java.lang.enum to the existing TypeReference
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3804 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-03-05 22:04:22 +00:00
sjfink ae8b0a234c tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3770 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-12-02 15:42:15 +00:00
sjfink eb513d76cb tweak comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3715 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-02 19:18:32 +00:00
sjfink 352257ea07 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3677 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 15:34:50 +00:00
sjfink ecb681b1c7 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3655 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 14:25:12 +00:00
dolby-oss d69012dfd9 fixes for non-Java primitive types
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3648 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 13:16:30 +00:00
sjfink de6adbc4d7 more migration to Java assertions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3559 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-01 17:42:28 +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
sjfink a5edb7eeda minor formatting and comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3533 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-24 14:47:08 +00:00
sjfink 96e5952a05 formatting
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3468 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-16 19:14:51 +00:00
sjfink 26ed4e00ed tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3467 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-16 19:03:55 +00:00
msridhar1 00cda8ba14 fix typo
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3463 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-15 14:42:04 +00:00
sjfink 51a111745f restore old APIs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3368 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-26 17:15:35 +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
yinnon_haviv 1003bbfd60 Added support for reading runtime visible annotations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3359 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-22 07:51:00 +00:00
sjfink 6bc2b25889 tweak comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3352 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-18 22:46:52 +00:00
sjfink b8f49b5564 precondition checks and documentation
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3310 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-13 21:16:38 +00:00
sjfink ed13ddbb17 bug fix 2666538: make ClassLoaderReference immutable, and related API fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3302 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-13 14:20:35 +00:00
sjfink b001a5d2f5 more IllegalArgumentExceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3292 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-12 16:02:13 +00:00
sjfink e4a6ae61a7 more IllegalArgumentExceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3286 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-11 19:33:02 +00:00
sjfink 4472b30826 more IllegalArgumentExceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3279 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-11 17:44:29 +00:00
sjfink f63e374a4b more IllegalArgumentExceptions. a few small bug fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3278 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-11 16:57:32 +00:00
yinnon_haviv 235a85fe36 Added the possibility to serialize analysis scope.
ShallowAnalysisScope can be created from an analysis scope.
It includes all information but the array class loader (for which serialization is problematic).



git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3276 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-11 15:26:28 +00:00
sjfink 4d1f7ab35f more IllegalArgumentExceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3272 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-10 21:18:07 +00:00
sjfink 1ef2ec2328 support java.lang.Character
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3219 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-12 13:28:10 +00:00