Invention Grant
US08645704B2 Protecting caller function from undesired access by callee function 有权
保护来电功能免受被叫功能的不期望的访问

Protecting caller function from undesired access by callee function
Abstract:
Disclosed is a method for restricting access of a first code of a plurality of codes of a first function from a second function. The method comprises calling the second function by the first function, addresses of the plurality of codes are stored in a stack page and colored in a first color (102). The method comprises performing access control check in a transition page for verifying whether the first function has permission to call the second function (104). Further the method comprises protecting the first code from the second function by coloring the addresses in a second color (106). Furthermore, the method comprises executing the second function by pushing addresses of the second function on the stack page, the addresses of the second function colored in a third color (108) and unprotecting the first code by coloring the addresses of the first code in the first color (110).
Information query
Patent Agency Ranking
0/0