Semantically sensitive code region fingerprint calculation for programming languages
AssigneeQualcomm Innovation Center, Inc.
InventorTobias Edler Von Koch
Life of this patent
Estimating the term…
Loading patent…
AssigneeQualcomm Innovation Center, Inc.
InventorTobias Edler Von Koch
Estimating the term…
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.
A non-transitory, tangible computer readable storage medium, encoded with processor readable instructions to perform a method for reducing duplicated code during compiling of source code, the method comprising:
A system comprising:
A method comprising:
Dependencies are inferred from the claim text.