首页> 外文OA文献 >Automated Testing of Graphics Shader Compilers
【2h】

Automated Testing of Graphics Shader Compilers

机译:图形着色器编译器的自动测试

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

We present an automated technique for finding defects in compilers for graphics shading languages. key challenge in compiler testing is the lack of an oracle that classifies an output as correct or incorrect; this is particularly pertinent in graphics shader compilers where the output is a rendered image that is typically under-specified. Our method builds on recent successful techniques for compiler validation based on metamorphic testing, and leverages existing high-value graphics shaders to create sets of transformed shaders that should be semantically equivalent. Rendering mismatches are then indicative of shader compilation bugs. Deviant shaders are automatically minimized to identify, in each case, a minimal change to an original high-value shader that induces a shader compiler bug. We have implemented the approach as a tool, GLFuzz, targeting the OpenGL shading language, GLSL. Our experiments over a set of 17 GPU and driver configurations, spanning the main 7 GPU designers, have led to us finding and reporting more than 60 distinct bugs, covering all tested configurations. As well as defective rendering, these issues identify security-critical vulnerabilities that affect WebGL, including a significant remote information leak security bug where a malicious web page can capture the contents of other browser tabs, and a bug whereby visiting a malicious web page can lead to a ``blue screen of death'' under Windows 10. Our findings show that shader compiler defects are prevalent, and that metamorphic testing provides an effective means for detecting them automatically.
机译:我们提出了一种自动技术,用于在图形着色语言的编译器中查找缺陷。编译器测试中的关键挑战是缺少一个将输出分类为正确还是不正确的预言;这在图形着色器编译器中尤为重要,在图形着色器编译器中,输出是通常指定不足的渲染图像。我们的方法基于基于变态测试的编译器验证的最新成功技术,并利用现有的高价值图形着色器来创建在语义上应该等效的转换着色器集。渲染不匹配则表示着色器编译错误。在每种情况下,都会自动最小化差异化着色器,以识别对原始高值着色器的最小更改,从而引起着色器编译器错误。我们已将这种方法作为工具GLFuzz实施,以OpenGL阴影语言GLSL为目标。我们对17种GPU和驱动程序配置进行了实验,涵盖了主要的7位GPU设计人员,从而使我们发现并报告了60多个不同的错误,涵盖了所有经过测试的配置。除了缺陷的渲染外,这些问题还确定了影响WebGL的对安全至关重要的漏洞,其中包括一个重大的远程信息泄漏安全错误,一个恶意网页可以捕获其他浏览器选项卡的内容,以及一个导致访问恶意网页可能导致错误的漏洞。到Windows 10下的``死亡蓝屏''。我们的发现表明着色器编译器缺陷很普遍,而变质测试提供了一种自动检测它们的有效方法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号