首页> 外国专利> SEMANTICALLY SENSITIVE CODE REGION FINGERPRINT CALCULATION FOR PROGRAMMING LANGUAGES

SEMANTICALLY SENSITIVE CODE REGION FINGERPRINT CALCULATION FOR PROGRAMMING LANGUAGES

机译:编程语言的半敏感代码区域指纹计算

摘要

Herein disclosed is an optimization for a compiler, the optimization configured to assign numeric values, or semantic fingerprints, to portions of code, and to combine these fingerprints to arrive at fingerprints for larger and larger portions of code. The fingerprints can be provided to various consumers such as code redundancy optimization modules and copyright violation and malware/virus identification modules. The fingerprints can also be used to cluster similar code, and then code within each cluster can be merged. Merger can include creating a single merged portion of code including the same portions of code from the original portions of code plus control flow and new arguments to account for differences between the original portions of code. The original portions of code can be replaced with wrappers that use new arguments to call to the merged portion of code.
机译:本文公开了一种针对编译器的优化,该优化被配置为向代码的各个部分分配数值或语义指纹,并组合这些指纹以获得越来越大的代码部分的指纹。可以将指纹提供给各种用户,例如代码冗余优化模块,版权侵犯和恶意软件/病毒识别模块。指纹还可以用于对相似的代码进行聚类,然后可以合并每个聚类中的代码。合并可以包括创建代码的单个合并部分,该合并部分包括与代码原始部分相同的代码部分以及控制流和新参数,以解决代码原始部分之间的差异。代码的原始部分可以用包装程序代替,该包装程序使用新的参数来调用代码的合并部分。

著录项

  • 公开/公告号US2017235556A1

    专利类型

  • 公开/公告日2017-08-17

    原文格式PDF

  • 申请/专利权人 QUALCOMM INNOVATION CENTER INC.;

    申请/专利号US201615243516

  • 发明设计人 TOBIAS EDLER VON KOCH;

    申请日2016-08-22

  • 分类号G06F9/45;

  • 国家 US

  • 入库时间 2022-08-21 13:51:41

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号