CPC H04L 9/32 (2013.01) [G06F 21/14 (2013.01); G06F 21/56 (2013.01); G06F 21/602 (2013.01); G06F 2221/033 (2013.01)] | 13 Claims |
1. A method of protecting code comprising:
identifying code to be protected in an input object file;
extracting the identified code to be protected from the input object file;
deleting the identified code from the input object file;
replacing the identified code with fake junk code to generate a first output object file, the fake junk code being non-randomized code, the first output object file including markers identifying the fake junk code; and
injecting the identified code into a second output object file,
such that decryption is avoided in a compilation process and wherein the identified code is encrypted or obscured prior to injection into the second output object file.
|