首页> 外文会议>European Joint Conferences on Theory and Practice of Software >Towards a Scalable Framework for Context-Free Language Reachability
【24h】

Towards a Scalable Framework for Context-Free Language Reachability

机译:迈向可扩展的无语言语言可达性框架

获取原文

摘要

Context-Free Language Reachability (CFL-R) is a search problem to identify paths in an input labelled graph that form sentences in a given context-free language. CFL-R provides a fundamental formulation for many applications, including shape analysis, data and control flow analysis, program slicing, specification-inferencing and points-to analysis. Unfortunately, generic algorithms for CFL-R scale poorly with large instances, leading research to focus on ad-hoc optimisations for specific applications. Hence, there is the need for scalable algorithms which solve arbitrary CFL-R instances. In this work, we present a generic algorithm for CFL-R with improved scalability, performance and/or generality over the state-of-the-art solvers. The algorithm adapts Datalog's semi-naive evaluation strategy for eliminating redundant computations. Our solver uses the quadtree data-structure, which reduces memory overheads, speeds up runtime, and eliminates the restriction to normalised input grammars. The resulting solver has up to 3.5x speed-up and 60% memory reduction over a state-of-the-art CFL-R solver based on dynamic programming.
机译:上下文语言可达性(CFL-R)是一个搜索问题,用于识别输入标记图中的路径,以给定的无背景语言形成句子。 CFL-R为许多应用提供了基本配方,包括形状分析,数据和控制流程分析,程序切片,规范推理和点分析。不幸的是,CFL-R规模的通用算法与大型情况不佳,领先的研究专注于特定应用程序的Ad-hoc优化。因此,需要可扩展的算法,该算法解决任意CFL-R实例。在这项工作中,我们为CFL-R提供了一种通用算法,具有改进的可扩展性,性能和/或普遍存在最先进的求解器。该算法适应了Datalog的半天真评估策略,以消除冗余计算。我们的求解器使用Quadtree数据结构,从而减少了内存开销,加快运行时,并消除了对归一化输入语法的限制。基于动态编程,所产生的求解器在最先进的CFL-R求解器上具有高达3.5倍的加速和60%的记忆降低。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号