首页> 外国专利> Symbolic execution and automatic test case generation for JavaScript programs

Symbolic execution and automatic test case generation for JavaScript programs

机译:JavaScript程序的符号执行和自动测试用例生成

摘要

A method includes, by one or more computing devices, determining JavaScript statements to be evaluated, parsing the JavaScript statements, translating the JavaScript statements into Java bytecodes and JavaScript-specific instructions, executing the Java bytecodes in a Java execution engine, calling a JavaScript run-time engine from the Java execution engine, handling one or more semantic operations associated with the JavaScript-specific instructions through use of the JavaScript run-time engine, and providing return values to the Java execution engine. The statements are configured for execution on a computing device. The set of Java bytecodes and JavaScript-specific instructions is configured to conduct symbolic execution of one or more portions of the JavaScript statements. The symbolic execution is configured to evaluate the JavaScript statements.
机译:一种方法包括,由一个或多个计算设备确定要评估的JavaScript语句,解析JavaScript语句,将JavaScript语句转换为Java字节码和特定于JavaScript的指令,在Java执行引擎中执行Java字节码,调用JavaScript运行Java执行引擎中的实时引擎,通过使用JavaScript运行时引擎处理与特定于JavaScript的指令相关联的一个或多个语义操作,并将返回值提供给Java执行引擎。该语句被配置为在计算设备上执行。一组Java字节码和特定于JavaScript的指令被配置为对JavaScript语句的一个或多个部分进行符号执行。符号执行被配置为评估JavaScript语句。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号