Patent ID: 7716495
Filing Date: 2010-05-11
Classification: G06F

Abstract:
1. A computer-readable storage medium having stored thereon computer-executable instructions for performing a method of processing runtime functions, the method comprising: compiling source code files to produce a plurality of object files, each of which is marked with an identifier for indicating that executable code generated from each of the plurality of object files supports runtime protection; concluding that a first object file has no valid target addresses pertaining to runtime functionality, upon detecting: a) the presence of the identifier in the first object file, and b) the absence of a runtime section of code in the first object file; concluding that a second object file has a list of valid target addresses pertaining to runtime functionality, upon detecting: a) that the identifier in the second object file is present and has been asserted, and b) that a runtime section of code is present in the second object file; storing in a table of the second object file, the list of valid target addresses as a reference list of valid target addresses for implementing a runtime function associated with the runtime section of code contained in the second object file; receiving a call to the runtime function, upon execution of the executable code of the second object file; determining associated data from the call to the runtime function; determining a target address from the associated data; comparing the target address with the reference list of valid target addresses stored in the table; if the target address is found on the reference list of valid target addresses then executing the runtime function; and if the target address is not found on the reference list of valid target addresses then terminating execution of the runtime function.