发明名称 ANTI-VIRAL COMPILER
摘要 In one general embodiment, a computer program product for compiling code includes a computer readable storage medium having computer readable code stored/encoded thereon. The computer readable code is readable/executable by a processor to: receive computer readable code to compile, the code including one or more functions, each function including one or more call functions; and build a stack frame for one of the call functions in the code. The stack frame includes: a return address sequence, logic configured to define local variables, logic configured to define a first guard variable and a second guard variable, logic configured to compare the first guard variable to the second guard variable, logic configured to execute the return address sequence when the first and second guard variables match, and logic configured to abort prior to executing the return address sequence when the first and second guard variables do not match.
申请公布号 US2015020201(A1) 申请公布日期 2015.01.15
申请号 US201313937389 申请日期 2013.07.09
申请人 International Business Machines Corporation 发明人 Kishi Gregory T.
分类号 G06F21/56 主分类号 G06F21/56
代理机构 代理人
主权项 1. A computer program product for compiling code, the computer program product comprising a computer readable storage medium having computer readable code stored/encoded thereon, the computer readable code being readable/executable by a processor to: receive, using the processor, computer readable code to compile, the code comprising one or more functions, each function comprising one or more call functions; and build, using the processor, a stack frame for one of the call functions in the code, the stack frame comprising: a return address sequence;logic configured to define local variables;logic configured to define a first guard variable and a second guard variable;logic configured to compare the first guard variable to the second guard variable;logic configured to execute the return address sequence when the first guard variable and the second guard variable match; andlogic configured to abort prior to executing the return address sequence when the first guard variable and the second guard variable do not match.
地址 Armonk NY US