Commit Graph

1645 Commits

Author SHA1 Message Date
msridhar1 536500c767 supergraph implementation over an ExplodedInterproceduralCFG
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3812 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-28 15:26:44 +00:00
msridhar1 1d22d712b8 patch from Juergen Graf: handle case where entry block has multiple instructions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3811 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-26 16:16:15 +00:00
msridhar1 19bcb326a4 slicer bug fix: properly include the actual call statement (along with various PARAM_CALLER statements) in the set of call statements
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3807 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-04-19 23:03:47 +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 8bff008a30 patch from Y. Haviv to optimize getResult()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3801 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-02-11 15:19:13 +00:00
msridhar1 b06e912f71 add support for some context-sensitive queries
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3799 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-01-26 20:53:40 +00:00
sjfink 41a5a9657f tweak some comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3797 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-01-25 14:59:42 +00:00
msridhar1 d6252c481c refactoring to enable context-sensitive queries
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3796 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-01-23 18:54:15 +00:00
msridhar1 b384fc08e6 remove dead code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3795 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-01-23 18:53:50 +00:00
egeay 257cad4b06 Refactored the code to accept any implementation of synthetic root method AbstractRootMethod.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3788 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-12-21 19:14:56 +00:00
egeay 15cd8566e9 Fixed comparison of type reference to throwable type for a particular language.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3787 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-12-21 19:11:32 +00:00
sjfink 74b6c74492 use a ConcurrentHashMap as suggested by M. Bruch on mailing list
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3779 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-12-21 13:38:57 +00:00
msridhar1 05744fe19b change isVolatile() in IMethod to isBridge(), better reflecting Java spec
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3777 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-12-03 16:56:49 +00:00
sjfink 7720bfe511 publicize getJarsInDiectory
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3774 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-12-02 20:15:21 +00:00
sjfink df9065bfc2 add comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3772 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-12-02 18:24:13 +00:00
sjfink 7a4189b49e add comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3771 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-12-02 16:14:24 +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 e3522b999e add an IllegalStateException check
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3769 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-12-02 15:04:59 +00:00
sjfink d3e05a06d2 add a comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3768 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-12-01 21:09:33 +00:00
msridhar1 4b34785700 bug fixes for flows-to
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3766 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-19 17:09:20 +00:00
msridhar1 f6afa934f8 bug fix for flows-to
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3764 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-18 21:53:07 +00:00
msridhar1 65bb454180 added ability to compute "flows-to sets" on demand; initial check-in, needs more testing
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3763 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-18 21:22:33 +00:00
sjfink b044e3541c delete some deprecated code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3762 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-13 18:10:57 +00:00
sjfink 6b2e37ddfd delete deprecated code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3761 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-13 18:06:35 +00:00
sjfink 0b0ea23484 delete deprecated classes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3760 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-13 18:01:19 +00:00
sjfink 4e59fb29e6 delete deprecated Assertions code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3759 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-13 17:55:33 +00:00
sjfink 9ad3177a9f tweak some comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3758 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-13 16:25:55 +00:00
sjfink 0f65646b7a clean up some comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3757 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-13 03:51:34 +00:00
msridhar1 1e68167a3c add a couple of null checks
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3756 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-06 21:10:31 +00:00
msridhar1 478f1d2ffa remove comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3755 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-11-06 21:03:34 +00:00
sjfink f70935ce46 fix bugs pointed out on mailing list by M. Bruch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3754 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-10-19 13:09:57 +00:00
msridhar1 4734ca3682 fix comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3753 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-09-01 21:57:13 +00:00
sjfink ea9db18783 tweak comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3725 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-13 17:58:59 +00:00
sjfink 91817db562 deprecate. unused.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3723 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-13 17:53:46 +00:00
sjfink b7fa860ba1 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3722 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-13 17:51:58 +00:00
sjfink 987b2393e2 deprecate. unused.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3721 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-13 17:51:47 +00:00
sjfink 65f2fa4922 undo some deprecation of source file utilities, for now.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3720 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-13 17:43:36 +00:00
sjfink ef43073709 deprecate CallSiteAndCGNode
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3719 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-08 19:30:15 +00:00
sjfink ac17daa979 deprecate Mapper
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3718 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-08 15:17:46 +00:00
sjfink 933043fccf deprecate SyntheticMethod.getStatements(options)
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3717 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-02 19:19:25 +00:00
sjfink 30eaf4421c delete dead comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3716 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-02 19:18:49 +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 b5bc95f052 tweak some comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3714 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-02 18:20:10 +00:00
sjfink ba91ea7f77 revamp lookupClass() to avoid dependence on classloaders
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3712 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-02 17:49:25 +00:00
sjfink 1ab5b375ad deprecate
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3711 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-02 17:49:07 +00:00
sjfink 3eca1bca8e refactoring of internals
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3710 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-02 15:07:45 +00:00
sjfink a26c27be44 fix generic types on EdgeManager.getPredNodes and getSuccNodes. finally.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3707 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-26 14:14:21 +00:00
sjfink fad698bcb6 refactor to use Predicate in place of Filter
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3706 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-26 13:37:23 +00:00
sjfink fde4a16a23 refactor: move Predicate to com.ibm.wala.util
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3705 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-26 13:06:16 +00:00
sjfink 9f7b946458 minor code cleanup
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3704 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-25 13:07:06 +00:00
sjfink 8b6de42283 format to naming conventions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3703 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-25 12:49:45 +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
omertripp 680dd54c1b MAINT:
- switched from the privileged 'isObjectType()' interface to querying the root type.
	- also made other overload of getLeastCommonSuperclass() language-based.


git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3680 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 19:07:59 +00:00
sjfink cf0a8ce430 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3679 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 15:51:46 +00:00
sjfink 40946683c9 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3678 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 15:42:13 +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 162a2b05b6 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3676 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 15:31:18 +00:00
sjfink 6d0669318c tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3675 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 15:26:07 +00:00
sjfink b1ceb767cb tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3674 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 15:25:26 +00:00
sjfink 67c81af1d5 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3673 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 15:23:43 +00:00
sjfink 8d636def47 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3672 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 15:22:26 +00:00
sjfink 6e93304be5 tweak comments and deprecate some old code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3671 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 15:20:44 +00:00
sjfink 80a636f601 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3670 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 15:08:51 +00:00
sjfink 6c00d0630b tweak comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3669 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 15:04:59 +00:00
sjfink 5f2fcad8e1 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3668 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 15:03:34 +00:00
sjfink 1dcbb05924 tweak comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3667 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 15:01:23 +00:00
sjfink 43dc62ccf8 deprecate unused code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3666 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 14:59:47 +00:00
sjfink fa56f1e6c9 deprecate unused code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3665 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 14:54:09 +00:00
sjfink 7bb0b09935 refactoring: move IBytecodeMethod to the classloader package
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3664 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 14:47:30 +00:00
sjfink ed84b26483 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3663 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 14:44:59 +00:00
sjfink 7093e8fac6 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3662 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 14:41:28 +00:00
omertripp c77ddd3dd4 FEAT: - refactored the ClassHierarchy code for computing the least superclass to be language-based, instead of Java-specific.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3661 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 14:40:56 +00:00
sjfink 7514b284fc tweak comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3660 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 14:39:19 +00:00
sjfink 9c47b907d8 tweak comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3658 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 14:35:06 +00:00
sjfink 468dd10390 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3657 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 14:33:32 +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
sjfink ddeadebb3a tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3654 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 14:20:47 +00:00
sjfink 1d560e809d tweak comments and formatting
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3653 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 14:19:54 +00:00
sjfink c004352dd9 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3652 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 14:16:29 +00:00
dolby-oss 22a2526bee sanity check
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3650 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 13:17:35 +00:00
dolby-oss 149df3c885 taking address of uninitialized variable now deemed a write
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3649 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 13:17:20 +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
dolby-oss 82ed481890 guard against null in a couple of places
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3647 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-12 13:16:05 +00:00
msridhar1 556cb51c23 fix toString()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3645 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-11 15:47:12 +00:00
msridhar1 070530d63d change comment and rename a variable
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3644 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-11 14:43:54 +00:00
msridhar1 3e305cfe88 extract a method; no API change
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3643 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-11 13:54:34 +00:00
omertripp 14e22b2985 FIX: - field resolution bug. the superclass is null for some subclasses of BytecodeClass, and so wrong results are returned. fixed by calling getSuperclass().
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3642 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-08 08:39:28 +00:00
msridhar1 3bc7861a73 add flag to control whether domain is printed
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3640 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-05 15:56:55 +00:00
msridhar1 24588b26af more generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3639 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-05 15:56:36 +00:00
msridhar1 e8f5b0d42d create class Topological and move corresponding method from DefaultFixedPointSystem
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3638 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-04 20:55:06 +00:00
dolby-oss 40d8dab1df make comparisons return the int type
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3637 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-04 16:38:51 +00:00
dolby-oss f8061f5e3a fix to bug not initializing primitive type table for java
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3635 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-04 11:38:20 +00:00
pistoia e41d024bed removed unused import
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3634 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-04 09:27:04 +00:00
msridhar1 da70060dfe more comments, formatting
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3632 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-03 21:06:19 +00:00
dolby-oss 4bbd95857b allow multiple languages to have the same root type
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3630 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-03 18:28:06 +00:00
dolby-oss e85f813477 work on generalizing type inference
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3625 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-03 18:24:46 +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
omertripp e6b5264156 MAINT: - extended the Language interface to allow more queries on language-specific types.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3621 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-01 08:35:05 +00:00
sjfink f229e9c2ac mostly comments. A few new type parameters. No semantic changes.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3620 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-29 15:26:35 +00:00
msridhar1 976d16d03f Made ExplodedControlFlowGraph.ExplodedBasicBlock private and changed references to point to IExplodedBasicBlock. Also, small cleanups in AbstractInterproceduralCFG, and deleted CallSiteReference.cloneReference()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3619 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-29 14:51:01 +00:00
sjfink 6f96d41dc2 remove unnecessary InvalidClassFileException declarations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3618 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-29 14:23:29 +00:00
sjfink 1a181c55d5 tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3617 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-28 19:00:11 +00:00
sjfink 076e92814c tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3616 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-28 18:58:18 +00:00
omertripp a560c32306 MAINT: - robustness to NPEs in case 'cfg' is null.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3614 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-27 04:24:08 +00:00
sjfink 478d278810 delete some dead comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3613 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-26 14:29:08 +00:00
sjfink 7dfb9ffddf remove unnecessary ClassHierarchyException
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3612 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-26 14:28:56 +00:00
omertripp 4b31ac9bd4 MAINT: - moved treatment of SSAAddressOfInstruction into its own interface to avoid client breakages.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3611 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-24 14:05:01 +00:00
omertripp 95d9ef4887 MAINT: - moved SSAAddressOfInstruction into its own interface to avoid client breakages.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3610 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-24 14:04:05 +00:00
sjfink 499738f3a3 roll back breaking API change
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3609 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-24 12:57:44 +00:00
omertripp 1d99b357cf MAINT: - default support for visiting SSAAddressOfInstruction in the IVisitor interface. SSAAddressOfInstruction.visit() now dispatches to the IVisitor method.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3608 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-24 05:22:10 +00:00
dolby-oss 277ff1ae5f add needed getDef method
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3607 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-21 13:21:20 +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
msridhar1 b760a8282c remove redundant throws declaration
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3601 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-20 12:59:19 +00:00
omertripp 093cc5a927 FEAT: - type inference is now language-agnostic.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3600 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-19 20:30:32 +00:00
msridhar1 61b3b5d049 Added interface IExplodedBasicBlock. Implemented more methods in ExplodedBasicBlock. Formatting.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3598 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-19 14:46:11 +00:00
sjfink 42bcf0010d add IClass.isPrivate
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3597 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-15 19:04:19 +00:00
msridhar1 c731cacb63 allow for notification that the underlying call graph has changed
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3592 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-13 19:34:12 +00:00
sjfink 1a96b8fa04 remove unnecessary declared exception
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3591 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-13 17:38:23 +00:00
etorlak f6da5c76d8 Added the missing type parameter to the return value of iterateDiscoverTime(...)
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3590 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-09 16:18:12 +00:00
dolby-oss 21cc158777 new class loader apis to allow querying source file names and streams using a method and offset into it, rather than a class. This is to accommodate languages in which method bodies can be from multiple places, e.g. due to constructs lie #include. To reflect the fact that classes are no longer assumed to have a single source file, the old apis using just a class are deprecated and declared to throw NoSuchElementException.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3588 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 16:47:04 +00:00
sjfink f39b9cf43a revert previous checkin (a major API change to IClass.getSourceFile())
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3584 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 14:38:07 +00:00
omertripp 2ca8a07943 REFACTOR: - code changes to accommodate .NET into WALA. A .NET class maps onto multiple source files, and thus these changes.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3582 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 14:14:18 +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
omertripp b3c992d620 MAINT: - added isVoidType() query to Language interface.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3576 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 10:57:45 +00:00
rmfuhrer b900acd137 Made ctor taking an IClassHierarchy public, and added another flavor that also takes a TypeReference (so that clients can create a fake root class associated with a class loader of their choosing).
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3575 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-06 20:28:04 +00:00
rmfuhrer 1e01e258af Made buildAnalysisScope() public so that, e.g., one can build a class hierarchy without building a call graph.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3574 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-06 20:27:21 +00:00
sjfink ab5716c6ca add method getMaxChildIndex(). make constructor protected.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3564 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-04 20:00:29 +00:00
msridhar1 0062e051d4 some more debugging output
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3563 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-04 17:47:29 +00:00
dolby-oss 99f7883d0c fix to demandpa regression failures
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3561 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-04 14:09:58 +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 17c2aa7588 remove unnecessary ClassHierarchyExceptions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3558 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-01 13:04:33 +00:00
sjfink 948dab4d0d remove ClassHierarchyException from IClass.getAllMethods
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3557 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-01 12:50:17 +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 27a8cf22c0 comments and formatting
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3554 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 12:50:34 +00:00
sjfink 2506b78ff2 comments and formatting
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3553 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 12:46:55 +00:00
sjfink 71935d0562 comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3552 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 12:44:08 +00:00
sjfink 2ca3536340 comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3551 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 12:40:31 +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
dolby-oss 4a491686bd support for pop(0) as no-op
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3548 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 02:03:12 +00:00
dolby-oss 64fc356f49 not all languages capitalize class loader ref names
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3547 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 02:02:47 +00:00
dolby-oss 43cf48ae67 support for EPS format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3546 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 02:01:31 +00:00
msridhar1 7f6fe71d4c comments, rename some variables
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3543 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-29 18:04:03 +00:00
msridhar1 3d816dc160 fix how we decide if we got reuse at a call site
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3542 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-28 20:55:46 +00:00
msridhar1 0bd511af9e changed propagate() to return a boolean indicating whether new propagation was performed
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3541 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-28 20:43:59 +00:00
sjfink 193560f977 comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3540 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-28 20:14:15 +00:00
sjfink 829145e97b Nuke ClassHierarchyException from IClass.getSuperclass()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3539 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-28 19:52:34 +00:00
sjfink 50e093779a add getOuterClass()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3538 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-28 19:34:29 +00:00
msridhar1 da00944765 temporary debug print
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3536 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-27 14:18:03 +00:00
sjfink 86ff335b8d attempt to fix a bug relating to disposed or out-of-sync Model instances
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3535 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-27 13:52:13 +00:00
sjfink 76d72d1200 small tweak to precondition for isJunitMethod
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3534 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-27 13:51:49 +00:00