首页> 外国专利> System and method for the transit time - optimization of function calls to private variable in a safe interpreter

System and method for the transit time - optimization of function calls to private variable in a safe interpreter

机译:传输时间的系统和方法-在安全解释器中优化对私有变量的函数调用

摘要

A secure program interpreter performs a special check the first time it executes a method call to determine if the sole purpose of the called method is to access the value of private variable, modify the value of a private variable, or return a constant value. When this is the case, the interpreter's internal representation of the method being executed is modified so as to directly access the private variable of the called method, or to directly access the stored constant of the called method. The modified method representation uses special "privileged" load and store instructions, not available in normal source code programs, that access private variables and constants outside the method being executed without causing a security violation to be flagged. When the modified portion of the method is executed, the private variable or constant is accessed directly by the executed method using a privileged load or store instruction, the use of which avoids the flagging of a security violation by the program interpreter. When execution of the program is completed, the modified internal representation of the method is flushed, such that when the program is executed again said interpreter generates a new working representation of the aforementioned method. IMAGE
机译:安全程序解释器在第一次执行方法调用时会进行特殊检查,以确定被调用方法的唯一目的是访问私有变量的值,修改私有变量的值还是返回常数。在这种情况下,将修改正在执行的方法的解释器的内部表示,以便直接访问被调用方法的私有变量,或直接访问被调用方法的存储常量。修改后的方法表示使用特殊的“特权”加载和存储指令,这些指令在正常的源代码程序中不可用,该指令在执行的方法之外访问私有变量和常量,而不会引起对安全冲突的标记。当执行方法的修改部分时,私有变量或常量将由执行的方法使用特权加载或存储指令直接访问,使用该指令可避免程序解释器对安全冲突的标记。当程序的执行完成时,刷新该方法的修改后的内部表示,以使得当再次执行该程序时,所述解释器生成上述方法的新的工作表示。 <图像>

著录项

  • 公开/公告号DE69621751T2

    专利类型

  • 公开/公告日2003-01-30

    原文格式PDF

  • 申请/专利权人 SUN MICROSYSTEMS INC US;

    申请/专利号DE1996621751T

  • 发明设计人 YELLIN FRANK US;

    申请日1996-12-03

  • 分类号G06F9/45;

  • 国家 DE

  • 入库时间 2022-08-21 23:39:35

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号