SHF: Small: A Practical Program Transformation Infrastructure for C in the Presence of Multiple Configurations
SHF: Small: A Practical Program Transformation Infrastructure for C in the Presence of Multiple Configurations
批准号:
1217271
负责人:
Munawar Hafiz
金额:
$39.56万
依托单位:
依托单位国家:
美国
项目类别:
Standard Grant
财政年份:
2012
资助国家:
美国
项目状态:
已结题
起止时间:
2012-09-01 至 2015-08-31
中文摘要
在过去的十年中,软件工程领域已经看到了自动化重构工具的快速和广泛采用:在程序员的指导下分析源代码的工具,并对该程序进行系统更改,以改善其内部结构而不影响其行为。在C编程语言中,这是使用中最流行的语言之一,只有有限的重构组合可用,具有有限的可扩展性和对现实世界程序的有限适用性。这项研究将解决的技术问题,使其难以建立自动重构工具(和其他程序转换工具)的C:“配置”C程序使用预处理器宏的能力,需要执行复杂的分析,在存在许多这样的配置,并需要分析和转换C当它与其他编程语言混合。解决这些问题,并产生一个工具,结合这些解决方案,将提供急需的工具改进C programmer.The研究将最终在原型重构和C程序转换工具,解决上述问题。处理多个预处理器配置将涉及解析算法和程序表示的探索:解析算法扩展了LALR(1)算法以处理预处理器指令,而程序表示在单个抽象语法树(AST)中容纳多个配置。语义信息(来自各种静态分析)将叠加在AST上;然而,这将需要扩展静态分析以处理多个预处理器配置所带来的复杂性。该工具还将允许转换混合语言C程序-特别是与Fortran或Yacc(通常与C结合的两种语言)混合的C程序。处理多种语言可以被视为多配置问题的扩展,其中一种语言的声明和不同语言的定义至少在概念上被视为不同的配置。该工具将在开源许可证下提供。
英文摘要
Over the last decade, the field of Software Engineering has seen a rapid and widespread adoption of automated refactoring tools: tools that analyze the source code under the direction of the programmer, and make systematic changes to that program that improve its internal structure without affecting its behavior. In the C programming language, which is one of the most popular languages in use, there is only a limited portfolio of refactorings available, with limited scalability and limited applicability to real-world programs. This research will address the technical problems that make it difficult to build automated refactoring tools (and other program transformation tools) for C: the ability to "configure" C programs using preprocessor macros, the need to perform sophisticated analyses in the presence of many such configurations, and the need to analyze and transform C when it is mixed with other programming languages. Solving these problems, and producing a tool that incorporates these solutions, will provide much needed tool improvements for C programmers.The research will culminate in a prototype refactoring and program transformation tool for C that addresses the aforementioned problems. Handling multiple preprocessor configurations will involve the exploration of both a parsing algorithm and a program representation: the parsing algorithm extends the LALR(1) algorithm to handle preprocessor directives, while the program representation accommodates multiple configurations in a single abstract syntax tree (AST). Semantic information (from various static analyses) will be superimposed on the AST; however, this will require extending the static analyses to handle the complications presented by multiple preprocessor configurations. The tool will also allow for transforming mixed-language C programs--in particular, C programs mixed with Fortran or Yacc (two languages that are commonly combined with C). Handling multiple languages may be treated as an extension of the multiple configurations problem, where declarations in one language and definitions in a different language are treated, at least conceptually, as different configurations. The tool will be available under an open source license.
期刊论文(0)
专著(0)
科研奖励(0)
会议论文
SBIR Phase I: OpenRefactory/C: An Infrastructure to Provide Automated Power Tools for C Programmers
-
批准号:1622201
-
项目类别:Standard Grant
-
资助金额:$22.5万
-
财政年份:2016
-
负责人:Munawar Hafiz
-
依托单位:
国内基金
海外基金
登录
查看更多内容
昼夜节律性small RNA在血斑形成时间推断中的法医学应用研究
-
批准号:
-
项目类别:省市级项目
-
资助金额:--
-
批准年份:2024
-
负责人:
-
依托单位:
tRNA-derived small RNA上调YBX1/CCL5通路参与硼替佐米诱导慢性疼痛的机制研究
-
批准号:
-
项目类别:省市级项目
-
资助金额:10.0万元
-
批准年份:2022
-
负责人:张祥忠
-
依托单位:
Small RNA调控I-F型CRISPR-Cas适应性免疫性的应答及分子机制
-
批准号:32000033
-
项目类别:青年科学基金项目
-
资助金额:24.0万元
-
批准年份:2020
-
负责人:林平
-
依托单位:
Small RNAs调控解淀粉芽胞杆菌FZB42生防功能的机制研究
-
批准号:31972324
-
项目类别:面上项目
-
资助金额:58.0万元
-
批准年份:2019
-
负责人:高学文
-
依托单位:
变异链球菌small RNAs连接LuxS密度感应与生物膜形成的机制研究
-
批准号:81900988
-
项目类别:青年科学基金项目
-
资助金额:21.0万元
-
批准年份:2019
-
负责人:毛梦莹
-
依托单位:
肠道细菌关键small RNAs在克罗恩病发生发展中的功能和作用机制
-
批准号:31870821
-
项目类别:面上项目
-
资助金额:56.0万元
-
批准年份:2018
-
负责人:陈江宁
-
依托单位:
基于small RNA 测序技术解析鸽分泌鸽乳的分子机制
-
批准号:31802058
-
项目类别:青年科学基金项目
-
资助金额:26.0万元
-
批准年份:2018
-
负责人:麻慧
-
依托单位:
Small RNA介导的DNA甲基化调控的水稻草矮病毒致病机制
-
批准号:31772128
-
项目类别:面上项目
-
资助金额:60.0万元
-
批准年份:2017
-
负责人:吴建国
-
依托单位:
基于small RNA-seq的针灸治疗桥本甲状腺炎的免疫调控机制研究
-
批准号:81704176
-
项目类别:青年科学基金项目
-
资助金额:20.0万元
-
批准年份:2017
-
负责人:赵继梦
-
依托单位:
水稻OsSGS3与OsHEN1调控small RNAs合成及其对抗病性的调节
-
批准号:91640114
-
项目类别:重大研究计划
-
资助金额:85.0万元
-
批准年份:2016
-
负责人:何祖华
-
依托单位: