Static code analysis is a powerful approach to detect quality deficiencies such as performance bottlenecks, safety violations or security vulnerabilities already during a software system's implementation. Yet, as current software systems continue to grow, current static-analysis systems more frequently face the problem of insufficient scalability. We argue that this is mainly due to the fact that current static analyses are implemented fully manually, often in general-purpose programming languages such as Java or C, or in declarative languages such as Datalog. This design choice predefines the way in which the static analysis evaluates, and limits the optimizations and extensions static-analysis designers can apply.
To boost scalability to a new level, we propose to fuse static-analysis with just-in-time-optimization technology, introducing for the first time static analyses that are managed and inherently self-adaptive. Those analyses automatically adapt themselves to yield a performance/precision tradeoff that is optimal with respect to the analyzed software system and to the analysis itself.
Self-adaptivity is enabled by the novel idea of designing a dedicated intermediate representation, not for the analyzed program but for the analysis itself. This representation allows for an automatic optimization and adaptation of the analysis code, both ahead-of-time (through static analysis of the static analysis) as well as just-in-time during the analysis' execution, similar to just-in-time compilers.
PARF: An Adaptive Abstraction-Strategy Tuner for Static Analysis
College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Fermat Labs, Huawei Inc.(华为技术有限公司芬威实验室);Guangzhou Institute of Technology, Xidian University(西安电子科技大学广州研究院)
Report on A Formally-Founded Model-Based Approach to Engineer Self-Adaptive Systems
自适应系统管理自己,以处理只能在操作过程中解决的不确定性。实现自适应的一种常见方法是在系统中添加一个反馈回路,该反馈回路监视系统并使其适应以实现一组适应目标。ActivFORMS(Active FORmal Models for Self-adaptation)为工程自适应系统提供了一种端到端的方法。ActivFORMS依赖于反馈回路,该反馈回路由正式验证的模型组成,这些模型在运行时直接部署和执行,以实现自适应。在运行时,该方法依赖于统计验证技术,允许有效的分析可能的适应选项。此外,ActivFORMS支持适应目标的动态更改和验证模型的更新,以满足新的目标。ActivFORMSi提供了一个工具支持的ActivFORMS实例。该方法已使用物联网应用程序进行验证,用于建筑安全监控。本报告为论文“ActivFORMS:一种正式建立的基于模型的自适应系统工程方法”[Weyns and Iftikhar 2019]提供了补充材料。
Software Engineering for Self-Adaptive Robotics: A Research Agenda
Simula Research Laboratory(Simula研究实验室);University of York(约克大学);Aarhus University(奥胡斯大学);Aristotle University of Thessaloniki(塞萨洛尼基亚里士多德大学);Southwest University(西南大学);Norwegian University of Science and Technology(挪威科学与技术大学)
Awareness requirement and performance management for adaptive systems: a survey
University of Kurdistan Hewler(库尔德斯坦赫勒大学);Charles Sturt University(查尔斯特大学);Western Sydney University(西悉尼大学);Kent Institute Australia(澳大利亚肯特学院);University College of Goizha(戈伊扎大学学院);Ramco Institute of Technology(拉姆科理工学院);Guru Nanak Dev University(古鲁那纳克德夫大学);King Fahd University of Petroleum & Minerals(法赫德国王石油与矿产大学);Charmo University(查尔莫大学);Sulaimani Polytechnic University(苏莱曼尼理工大学)