Commit Graph

2692 Commits

Author SHA1 Message Date
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
dolby-oss 2e8da872c0 support for replication-based translation of Do loops in Java, so that the standard LOOP node type can be used.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3596 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-15 16:06:09 +00:00
dolby-oss 031d95194d fix isFinal
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3595 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-14 20:21:08 +00:00
dolby-oss 7c01256b30 fix hackish multithreaded support to deal with array writes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3594 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-14 19:15:45 +00:00
sjfink 31c5efdc56 add IClass.isPrivate()
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3593 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-14 17:24:26 +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 ff1318ef4c 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@3589 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 16:51:21 +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
dolby-oss 01aa70a245 language fixes for void type
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3587 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 16:43:57 +00:00
dolby-oss 0890ed0795 trivial bug fix
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3585 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 16:41:10 +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 2113f3e601 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@3583 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 14:14:28 +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
omertripp d5e6dd443f 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@3581 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 14:13:52 +00:00
msridhar1 d3cd3d894c remove unnecessary @Override
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3580 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 14:09:49 +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
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
rmfuhrer 125dcbedd9 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@3573 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-06 20:25:32 +00:00
sjfink ec02ad887c comments and formatting
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3572 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-06 18:25:37 +00:00
sjfink d36f4f6d2b format and clean up comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3571 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-06 18:13:30 +00:00
sjfink 91d3a71c3c format comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3570 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-06 15:57:37 +00:00
pistoia 913fd56249 augmented preamble.js and Generator.java to have a better handle of the DOM
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3569 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-05 18:29:07 +00:00
rmfuhrer d498070dcf JavaClass can now represent the root class, in case it resides in source (previously, it required every class to have a superclass).
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3568 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-05 17:22:57 +00:00
rmfuhrer ff82965836 Extracted a common subexpression to a local in defineFunction().
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3567 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-05 15:52:32 +00:00
rmfuhrer d38bfeb577 Added toString() impl.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3565 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-05 15:38:27 +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 c3769d5717 performance and other fixes driven by models of Web pages for JavaScript
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3562 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-04 14:11:31 +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 74609400e7 jni fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3550 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 02:04:14 +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
egeay 193fc85cdd - Updated test cases to 1.7 syntax
- Added one-level directory structure to separate the constructs tested.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3545 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-29 18:17:20 +00:00
egeay f5613864de git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3544 f5eafffb-2e1d-0410-98e4-8ec43c5233c4 2009-04-29 18:13:14 +00:00