首页>
外国专利>
- METHOD OF GENERATING A COMPUTER PROGRAM FOR EFFICIENTLY DEFENDING AGAINST A RETURN-ORIENTED PROGRAMING
- METHOD OF GENERATING A COMPUTER PROGRAM FOR EFFICIENTLY DEFENDING AGAINST A RETURN-ORIENTED PROGRAMING
展开▼
机译:-生成计算机程序以有效防御以返回为导向的程序的方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
This specification discloses a computer program creation method capable of efficiently detecting an ROP attack. A method for generating a computer program according to the present invention is a method for generating a computer program for performing a compiling operation for converting a high-level language into a machine language using a processor, the processor comprising: (a) ; (b) inputting a command to set a variable on a main function caller of the generated program and to initialize the set variable to ''0''; (c) searching for a call command in the program requested to be generated and inputting a command for incrementing the variable by ''1'' to a function including the searched call command; (d) searching for a return instruction in the program requested to be generated, and inputting a command to decrease the variable by ''1'' to a function and a gadget including the searched return instruction; And (e) inputting a command to determine whether the value of the variable in the program requested to be generated is less than or equal to ''0''.
展开▼