Patent ID: 9477461
Filing Date: 2016-10-25
CPC Classification: G06F

Claim Text:
1. A method for generation of a live update of an application or an OS kernel, the method comprising: compiling original source code into a first intermediate representation (IR) code; compiling modified source code into a second IR code; analyzing and comparing the first IR code and the second IR code to identify variables and functions that were changed, added or deleted; generating a part of a final IR code with all original variables and original functions from the original IR code; generating an additional part of the final IR code with new code for modified portions of the changed functions, added functions and variables, and compiling the modified portions into separate code/data sections, wherein modified functions are considered to be changed in function in full rather than detecting narrow code portions and whole modified function code is generated in the additional part of the final IR code; compiling a new object code and a final executable binary based on the final IR code, wherein the final executable object code includes the original code and data from an original application binary, and including a live update code and data from the additional part of the final IR code, and wherein the live update code and data are correctly referring to the original code and data where needed via standard object code relocation information with references to original code or variables in the same the or by names or by fixed absolute addresses, and the relocation information is generated to reference code and data in other system components, and is used during the live update of the system.