Commit Graph

36 Commits

Author SHA1 Message Date
sjfink 9e79661c60 just refactoring ... introduce 2 new packages in wala.util.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2447 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-01-24 22:05:51 +00:00
sjfink 8197ab47d6 fix some generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2192 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-14 22:09:29 +00:00
dolby-oss 6e3039613b pathc for file offsets in Positions from Evan Battaglia; make native translator to CAst more robust to errors
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2189 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-14 21:11:19 +00:00
dolby-oss 8e46277e51 move echo instruction to CAst core; generalized invokes to deal with multiple return values; generalize function support to handle non-first-class functions, modeled as statics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2131 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-10 04:26:21 +00:00
sjfink 52f13b2fc0 more generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2094 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-04 21:40:34 +00:00
sjfink 3e33169ecc add some generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2093 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-12-04 20:44:04 +00:00
sjfink 0e36a5a553 organize imports
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2046 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 20:57:45 +00:00
sjfink a8b61ccb17 misc. cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2044 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 20:51:04 +00:00
dolby-oss 9d980f3901 refactoring to bring reusable CAst translation code out of the PHP and JavaScript translators, and into the generic Cast projects. Also, adapted native code to compile on Mac OS X Tiger
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2017 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-11-16 01:51:42 +00:00
sjfink c9ed34510d adapt to wala.core IteratorPlusOne change and clean up some generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1707 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-31 23:51:10 +00:00
sjfink 1282f62f8e hide Pair constructor; misc. generics-related cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1701 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-31 23:19:52 +00:00
sjfink 8f103735d0 just format
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1569 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-06 18:31:22 +00:00
dolby-oss d5e8077395 merge code from loop unroller into standard CAstRewriter
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1560 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-01 15:37:46 +00:00
dolby-oss b45f0aa8b9 merge code from loop unroller into standard CAstRewriter
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1558 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-08-01 15:36:40 +00:00
dolby-oss 0d32f296f4 bug fix to refactoring to array assignment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1507 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-18 18:13:44 +00:00
rmfuhrer edad2d5b68 Factored handling of array ref nodes from visitAssignNodes() so that code can be shared with array handlers for derived languages.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1506 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-18 15:55:54 +00:00
dolby-oss 4b0508356a fixes for default values of null; more customization hooks for SSA conversion
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1483 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-16 15:09:59 +00:00
rmfuhrer 84c69b3e57 Added new symbol class InternalCAstSymbol to make intent more
clear than using CAstSymbolImpl with extra boolean arg.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1471 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 22:46:15 +00:00
dolby-oss ce4cdd7f88 generalize hackish notion of 'internal' names
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1448 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-12 18:14:26 +00:00
sjfink c91caedab6 use Hash factories everywhere
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1435 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:07:32 +00:00
dolby-oss c039c173e0 add accessor to test whether a given node is already mapped by a control flow recorder
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1411 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 12:05:36 +00:00
sjfink 39da63410a massive overhaul of Warnings management
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1390 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-06 22:09:29 +00:00
sjfink e34aa83beb delete CallGraph.getInterpreter() and CFGProvider
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1345 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-05 03:04:50 +00:00
dolby-oss 5144df56be more assertion checking of control flow map during IR generation; bug fix to CAst rewriting to handle control flow edges out of the code being rewritten; bug fix to AstTranslator for control flow in finally blocks so that it throws either the prior exception or any new one
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1312 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-25 20:08:56 +00:00
dolby-oss 3218734169 moved CAstRewriterFactory to CAst core project
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1292 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-16 16:04:30 +00:00
rmfuhrer b0dae9066a Added toString() impl.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1175 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-05-25 16:39:08 +00:00
sjfink f01c8208f6 introduce some generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@995 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-24 14:10:57 +00:00
dolby-oss 0023341733 new instruction to represent checking whether a local or a field is defined
new abstract base for CAst rewriters, used by the CAstCloner



git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@985 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-19 13:48:01 +00:00
dolby-oss c51ad28e66 new CAstSymbol type for information about a symbol being declared. new support for default init values for unitialized variables
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@920 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-04-04 13:02:17 +00:00
rmfuhrer 1ad96deff3 Added JavaDoc comment to BLOCK_EXPR.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@757 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:33:35 +00:00
sjfink 05e1f973a6 squash remaining Eclipse warnings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@700 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-09 15:33:45 +00:00
sjfink 76a0b991e7 clean up some generics stuff
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@694 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-09 10:05:07 +00:00
sjfink a92bff31bb some generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@692 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-08 20:45:07 +00:00
sjfink f4fef68587 miscellaneous minor cleanups. eclipse build stuff. import statements.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@680 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-08 19:08:31 +00:00
dolby-oss 334e6fc3c7 fixes to conversion of native code to wala'ized names
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@639 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-02 21:22:02 +00:00
dolby-oss 3d9390a397 Initial contribution of core script analysis code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@616 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-02 17:17:13 +00:00