Proceedings of the 8th ACM SIGPLAN International Workshop on State Of the Art in Program Analysis最新文献

筛选
英文 中文
Adventures in commercial-grade static analysis (keynote) 商业级静态分析的冒险(主题演讲)
Simon Goldsmith
{"title":"Adventures in commercial-grade static analysis (keynote)","authors":"Simon Goldsmith","doi":"10.1145/3315568.3338015","DOIUrl":"https://doi.org/10.1145/3315568.3338015","url":null,"abstract":"Building a commercial grade static analysis presents a lot of interesting problems. Everything not forbidden is compulsory: language specifications are wonderful documents, but in reality anything the user's compiler and runtime accepts is fair game. Analysis abstractions that scale \"except in pathological cases\" don't scale: analyzing tens of thousands of code bases that routinely exceed millions of lines of code means that those pathological cases inevitably arise. Build a good analysis that runs overnight, and users will ask you to run it in their IDE for near-immediate feedback. A bug finding tool needs a low false positive rate, but a tool aimed at finding security vulnerabilities needs a low false negative rate. Only analyzing \"source\" code and only starting from main() is insufficient for understanding modern web and mobile applications: frameworks imply a different programming model with a lot of auto-magical program behavior, often including idiosyncratic configuration regimes and various template languages. We'll talk about these problems and how we tackle them.","PeriodicalId":435411,"journal":{"name":"Proceedings of the 8th ACM SIGPLAN International Workshop on State Of the Art in Program Analysis","volume":"112 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116164135","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Know your analysis: how instrumentation aids understanding static analysis 了解您的分析:工具如何帮助理解静态分析
Philipp Dominik Schubert, Richard Leer, Ben Hermann, E. Bodden
{"title":"Know your analysis: how instrumentation aids understanding static analysis","authors":"Philipp Dominik Schubert, Richard Leer, Ben Hermann, E. Bodden","doi":"10.1145/3315568.3329965","DOIUrl":"https://doi.org/10.1145/3315568.3329965","url":null,"abstract":"The development of a high-quality data-flow analysis---one that is precise and scalable---is a challenging task. A concrete client analysis not only requires data-flow but, in addition, type-hierarchy, points-to, and call-graph information, all of which need to be obtained by wisely chosen and correctly parameterized algorithms. Therefore, many static analysis frameworks have been developed that provide analysis writers with generic data-flow solvers as well as those additional pieces of information. Such frameworks ease the development of an analysis by requiring only a description of the data-flow problem to be solved and a set of framework parameters. Yet, analysis writers often struggle when an analysis does not behave as expected on real-world code. It is usually not apparent what causes a failure due to the complex interplay of the several algorithms and the client analysis code within such frameworks. In this work, we present some of the insights we gained by instrumenting the LLVM-based static analysis framework PhASAR for C/C++ code and show the broad area of applications at which flexible instrumentation supports analysis and framework developers. We present five cases in which instrumentation gave us valuable insights to debug and improve both, the concrete analyses and the underlying PhASAR framework.","PeriodicalId":435411,"journal":{"name":"Proceedings of the 8th ACM SIGPLAN International Workshop on State Of the Art in Program Analysis","volume":"32 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115470116","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 4
SootDiff: bytecode comparison across different Java compilers sotdiff:跨不同Java编译器的字节码比较
A. Dann, Ben Hermann, E. Bodden
{"title":"SootDiff: bytecode comparison across different Java compilers","authors":"A. Dann, Ben Hermann, E. Bodden","doi":"10.1145/3315568.3329966","DOIUrl":"https://doi.org/10.1145/3315568.3329966","url":null,"abstract":"Different Java compilers and compiler versions, e.g., javac or ecj, produce different bytecode from the same source code. This makes it hard to trace if the bytecode of an open-source library really matches the provided source code. Moreover, it prevents one from detecting which open-source libraries have been re-compiled and rebundled into a single jar, which is a common way to distribute an application. Such rebundling is problematic because it prevents one to check if the jar file contains open-source libraries with known vulnerabilities. To cope with these problems, we propose the tool SootDiff that uses Soot's intermediate representation Jimple, in combination with code clone detection techniques, to reduce dissimilarities introduced by different compilers, and to identify clones. Our results show that SootDiff successfully identifies clones in 102 of 144 cases, whereas bytecode comparison succeeds in 58 cases only.","PeriodicalId":435411,"journal":{"name":"Proceedings of the 8th ACM SIGPLAN International Workshop on State Of the Art in Program Analysis","volume":"3 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122368832","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 9
Program analysis for process migration 过程迁移的程序分析
Buse Yilmaz, Ilyas Turimbetov, D. Unat
{"title":"Program analysis for process migration","authors":"Buse Yilmaz, Ilyas Turimbetov, D. Unat","doi":"10.1145/3315568.3329969","DOIUrl":"https://doi.org/10.1145/3315568.3329969","url":null,"abstract":"Today's computer systems have become increasingly heterogeneous. Data centers integrate accelerators, CPUs with heterogeneous cores and with various ISAs which exhibit different performance and power characteristics. Mobile phones, following a similar trend, switch between fast and energy-efficient cores. Process migration is an important technique to leverage such specialization and heterogeneity. In this work, we target process migration enabled OS-capable heterogeneous platforms and address how to obtain better performance by program analysis: we address the challenge of defining migration points at which the program state is the same across machines and whether these will match phase changes, changes in the program behavior. Our tool-chain employs both static and dynamic analysis to compensate for disadvantages of both techniques to reduce the analyses overhead. Six out of ten benchmarks from different benchmark suites benefit from migration and the migration cost is compensated by the performance gained from migrating.","PeriodicalId":435411,"journal":{"name":"Proceedings of the 8th ACM SIGPLAN International Workshop on State Of the Art in Program Analysis","volume":"9 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122253625","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Fixpoint reuse for incremental JavaScript analysis 用于增量JavaScript分析的固定点重用
L. Nichols, Mehmet Emre, B. Hardekopf
{"title":"Fixpoint reuse for incremental JavaScript analysis","authors":"L. Nichols, Mehmet Emre, B. Hardekopf","doi":"10.1145/3315568.3329964","DOIUrl":"https://doi.org/10.1145/3315568.3329964","url":null,"abstract":"Frequently updated programs cause the cost of static analysis to be multiplied by the number of program versions. When the baseline cost is high (for example, analyzing JavaScript), this multiplicative factor can be prohibitive. As an example, JavaScript-based browser addons are continually updated and there are known instances where malicious code has been injected into such updates; thus the addons must be repeatedly vetted each time an update happens. Incremental analysis reduces this cumulative cost by reusing analysis results of previous versions to reduce the cost of analyzing an updated version. However, existing incremental analyses are not applicable to dynamic programming languages such as JavaScript because they make assumptions that don't hold in this setting. In this paper, we propose the first incremental static analysis for JavaScript. We do not require perfect precision, but we show empirically that there is negligible precision loss in practice. Our technique includes a method for matching code between JavaScript program versions, a non-trivial problem which existing techniques do not solve. For our benchmarks, drawn from real browser addons and node.js programs, our incremental analysis performance is on average within a factor of two of an optimal incremental analysis.","PeriodicalId":435411,"journal":{"name":"Proceedings of the 8th ACM SIGPLAN International Workshop on State Of the Art in Program Analysis","volume":"396 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132745958","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 4
Modernizing parsing tools: parsing and analysis with object-oriented programming 解析工具现代化:使用面向对象编程进行解析和分析
Steven A. O'Hara, Rocky Slavin
{"title":"Modernizing parsing tools: parsing and analysis with object-oriented programming","authors":"Steven A. O'Hara, Rocky Slavin","doi":"10.1145/3315568.3329967","DOIUrl":"https://doi.org/10.1145/3315568.3329967","url":null,"abstract":"Software Engineering tools today are hampered by weaknesses in parsing and analysis tools. For example, there are no standard repositories of grammars for the most popular programming languages. If an organization has software written in Python, Java, Bash, SQL, HTML, CSS, JavaScript and so on, there is no readily available mechanism to parse and analyze all of the software in a unified manner. This paper describes a collection of tools for parsing and analyzing many different languages, including legacy languages like COBOL and Fortran. The primary goal is scalability; dealing with a single programming language and a limited number of programs is far simpler than dealing with millions of lines of code written in many different languages.","PeriodicalId":435411,"journal":{"name":"Proceedings of the 8th ACM SIGPLAN International Workshop on State Of the Art in Program Analysis","volume":"122 3 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116227985","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Commit-time incremental analysis 提交时增量分析
P. Krishnan, Rebecca O'Donoghue, N. Allen, Yi Lu
{"title":"Commit-time incremental analysis","authors":"P. Krishnan, Rebecca O'Donoghue, N. Allen, Yi Lu","doi":"10.1145/3315568.3329968","DOIUrl":"https://doi.org/10.1145/3315568.3329968","url":null,"abstract":"Most changes to large systems that have been deployed are quite small compared to the size of the entire system. While standard summary-based analyses reduce the code that is reanalysed, they, nevertheless, analyse code that is not changed. For example, a backward summary-based analysis, will examine all the callers of the changed code even if the callers themselves have not changed. In this paper we present a novel approach of having summaries of the callers (called forward summaries) that enables one to analyse only the changed code. An evaluation of this approach on two representative examples, demonstrates that the overheads associated with the generation of the forward summaries is recovered by performing just one or two incremental analyses. Thus this technique can be used at commit-time where only the changed code is available.","PeriodicalId":435411,"journal":{"name":"Proceedings of the 8th ACM SIGPLAN International Workshop on State Of the Art in Program Analysis","volume":"113 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131337955","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
MetaDL: analysing Datalog in Datalog MetaDL:在Datalog中分析Datalog
Alexandru Dura, Hampus Balldin, Christoph Reichenbach
{"title":"MetaDL: analysing Datalog in Datalog","authors":"Alexandru Dura, Hampus Balldin, Christoph Reichenbach","doi":"10.1145/3315568.3329970","DOIUrl":"https://doi.org/10.1145/3315568.3329970","url":null,"abstract":"Datalog has emerged as a powerful tool for expressing static program analyses. Program analysis researchers have built nontrivial code bases in Datalog, but tool support for working with Datalog itself has been lacking. In this paper, we introduce MetaDL, a language extension to Datalog that enables source-level Datalog program analysis within Datalog. We describe several program analyses implemented in MetaDL and report on initial experiences. Our findings show that the language is effective for real-life Datalog analysis and can simplify working with Datalog source code.","PeriodicalId":435411,"journal":{"name":"Proceedings of the 8th ACM SIGPLAN International Workshop on State Of the Art in Program Analysis","volume":"28 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128611964","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
Proceedings of the 8th ACM SIGPLAN International Workshop on State Of the Art in Program Analysis 第八届ACM SIGPLAN国际研讨会程序分析的最新进展
{"title":"Proceedings of the 8th ACM SIGPLAN International Workshop on State Of the Art in Program Analysis","authors":"","doi":"10.1145/3315568","DOIUrl":"https://doi.org/10.1145/3315568","url":null,"abstract":"","PeriodicalId":435411,"journal":{"name":"Proceedings of the 8th ACM SIGPLAN International Workshop on State Of the Art in Program Analysis","volume":"8 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123917450","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
相关产品
×
本文献相关产品
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书