跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:1906.03488 (cs)
[提交于 2019年6月11日]

标题:Recovering Variable Names for Minified Code with Usage Contexts

作者:Hieu Tran, Ngoc Tran, Son Nguyen, Hoan Nguyen, Tien Nguyen
查看论文《Recovering Variable Names for Minified Code with Usage Contexts》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:In modern Web technology, JavaScript (JS) code plays an important role. To avoid the exposure of original source code, the variable names in JS code deployed in the wild are often replaced by short, meaningless names, thus making the code extremely difficult to manually understand and analysis. This paper presents JSNeat, an information retrieval (IR)-based approach to recover the variable names in minified JS code. JSNeat follows a data-driven approach to recover names by searching for them in a large corpus of open-source JS code. We use three types of contexts to match a variable in given minified code against the corpus including the context of properties and roles of the variable, the context of that variable and relations with other variables under recovery, and the context of the task of the function to which the variable contributes. We performed several empirical experiments to evaluate JSNeat on the dataset of more than 322K JS files with 1M functions, and 3.5M variables with 176K unique variable names. We found that JSNeat achieves a high accuracy of 69.1%, which is the relative improvements of 66.1% and 43% over two state-of-the-art approaches JSNice and JSNaughty, respectively. The time to recover for a file or for a variable with JSNeat is twice as fast as with JSNice and 4x as fast as with JNaughty, respectively.
评论: 11 pages, 6 figures, ICSE 2019
主题: 软件工程 (cs.SE); 信息检索 (cs.IR)
引用方式: arXiv:1906.03488 [cs.SE]
  (或者 arXiv:1906.03488v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.1906.03488
相关 DOI: https://doi.org/10.1109/ICSE.2019.00119

提交历史

来自:Trung Hieu Tran
[v1] 2019年6月11日 星期二 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2019-06
切换浏览方式为:
cs
cs.IR

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站