SEMANTICALLY SENSITIVE CODE REGION HASH 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 con...

Full description

Saved in:
Bibliographic Details
Main Authors Edler Von Koch Tobias, Das Gupta Anshuman, Larin Sergei
Format Patent
LanguageEnglish
Published 24.08.2017
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary: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 identical portions of code from the original portions of code and 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.
Bibliography:Application Number: US201615261550