CPC G06F 21/52 (2013.01) [G06F 18/2431 (2023.01); G06F 21/125 (2013.01); G06F 21/54 (2013.01); G06F 21/566 (2013.01); G06F 21/577 (2013.01)] | 30 Claims |
1. A method comprising compiling a file, wherein compiling the file comprises:
identifying a function in the file;
evaluating a stack overflow risk associated with the function based on a binary static analysis that includes a stack cookie detector, the stack cookie detector receiving as input a location of the function and returning an indication of whether the function incorporates stack cookie protection; and
updating the function to incorporate the stack cookie protection based on the stack overflow risk, resulting in an updated function.
|