期刊文献+

C to Java自动转换系统中C指针的实现

Realization of C Pointer in C to Java Automatic Transformation System
下载PDF
导出
摘要 C指针的处理是C to Java代码自动转换系统中一个重要而困难的问题。已有的方法大多不能处理含有技巧的指针代码,转换生成的代码难以理解,往往无法正确执行。基于此,提出一种可用Java实现C指针所有功能的方案,该方案在类型转换后不改变原程序结构,并保持尽可能高的运行效率。示例分析表明,运用该方法可使各种类型的C指针运用都能自动转换为执行正确、结构清晰、修改方便、运行快捷的Java代码。 How to deal with C pointers is an important and difficult issue in C to Java automatic program transformation System.The existing methods are powerless for ingenious C codes.It is difficult to understand codes generated by some transformation system.These codes are not always correct.This paper presents a set of methods.They implements all the functions of C pointer by Java.This transformation keeps original program structure,and runs as fast as possible.Using it can automatically convert various C pointer applications into correct,clear,changeable and efficient Java code.
作者 严忠林
出处 《计算机工程》 CAS CSCD 北大核心 2011年第16期62-64,共3页 Computer Engineering
基金 上海市教委基金资助项目(05DZ14)
关键词 程序语言转换 C指针 Java引用 数据布局模型 类型转换 program language transformation C pointer Java reference data layout model type conversion
  • 相关文献

参考文献1

二级参考文献5

  • 1Atkinson D C. Accurate Call Graph Extraction of Programs with Function Pointers Using Type Signatures[C]//Proc. of the llth Asia-Pacific Software Engineering Conference. Washington D. C., USA: [s. n.], 2004: 326-335.
  • 2Chakaravarthy V. New Results on the Computability and Complexity of Points-to Analysis[C]//Proc. of the 30th ACM SIGPLANSIGACT Symposium on Principles of Programming Languages. Orleans, LA, USA: [s. n.], 2003: 115-125.
  • 3Hind M. Pointer Analysis: Haven't We Solved This Problem Yet[C]//Proc. of Workshop on Program Analysis for Software Tools and Engineering. NY, USA: [s. n.], 2001: 54-61.
  • 4Hind M, Pioli A. Which Pointer Analysis Should I Use[J]. ACM SIGSOFT Software Engineering Notes, 2000, 25(5): 113-123.
  • 5Steensgaard B. Points-to Analysis in Almost Linear Time[C]//Proc. of the 23rd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages. Florida, USA: [s. n.], 1996: 32-41.

共引文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部