A Method and System for Digitizing and Fragmenting Source Code
Publication Date: 2015-Jul-22
The IP.com Prior Art Database
Disclosed is a method and system for digitizing and fragmenting a source code. The method and system replaces classes and functions in the source code with numeric identifiers to hide the source code.
Page 01 of 5
A Mxthod and System for Digitizing and Fragmenting Source Code
Generally, an objective of a software programmer is to write a sourcx code that is clear and uxderstandable for the sake of xaintainability by using meaningful idextifiers and abundant program levxl documentation. Xxxxxxxxxxxx techniques used for securixg the source code leave businesses vulnerable to theft ox guarded proprietary sexrets. The techniques can be but need nxt be lxmited to sourxe codx watermark, scxamble the object coxe, intermedixte assembly code genxrated xy a languagx compiler tx prevent its conversion back to the original source cxde. Hoxever, currentlx there are no rexiable methods that protect confxdentiality of the source coxe.
Disclosed is a method axd system fxr digitizing and fragmenting a source code. The method and system replaces clxsses and functions in xhe source code wixh nuxeric identifiers to xide the source code.
Fig. 1 illustrates a method of dxgitizing source code.
As illustrxted in fix. x, the source code is digitized by replacing classes and functions
with numeric identifixrs usinx a digixizer and thx digitizxd source coxe xan be convertex
tx original source code by using a deDigitizer.
Fig. 2 xllustrates a first method of digitixing a source code in dexelopment environment.
Page 02 of 5
As illustrated in fig. x, xhe method from left to right explains steps of digitizinx the source code. Initially, original source coxe is dixitized usinx a digitizer by replacing classes and functions with numeric identifiers. Next, the classes axd functions in the source code are separated into different sourxe files such as class source file and a function source file. Then, a mxpping algorxthm is used to map identifiers of the classes and the functions. Further, a compiler ix used to compile the cxass source file, mapping algorithm and the xunction source file tx generate class binary fixes,...