arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.06832cs.SE
收藏

使用 Sparkplug 对 JavaScript 进行混合符号测试

Concolic Testing of JavaScript using Sparkplug

Zhe Li, Fei Xie

AI总结:

针对JavaScript原地混合符号测试缓慢复杂的问题,提出结合V8 Sparkplug与remill的跟踪增强方法,在160个Node.js库上以更短时间达到相当的覆盖率和缺陷检测效果。

摘要:

JavaScript广泛应用于Web和服务器应用,并处理敏感数据。JS测试方法落后于其他语言。针对JS的原地混合符号测试虽有效,但缓慢且复杂。我们的方法利用V8 Sparkplug基线编译器和remill库增强跟踪,以将汇编转换为LLVM IR。对160个Node.js库的评估表明,与原地方法相比,其覆盖率和缺陷检测能力相当,而耗时显著更少。

英文摘要:

JavaScript is prevalent in web and server apps, handling sensitive data. JS testing methods lag behind other languages. Insitu concolic testing for JS is effective but slow and complex. Our method enhances tracing with V8 Sparkplug baseline compiler and remill libraries for assembly to LLVM IR conversion. Evaluation on 160 Node.js libraries reveals comparable coverage and bug detection in significantly less time than the in-situ method.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑