首页> 外国专利> GENERATING TYPE-SAFE WRAPPERS FOR DYNAMIC DETOURING

GENERATING TYPE-SAFE WRAPPERS FOR DYNAMIC DETOURING

机译:生成用于动态消解的类型安全性打包程序

摘要

An isolation system is described for converting original product code into corresponding modified code. The isolation system operates by identifying a subset of original methods to be converted. For each such original method, the isolation system generates a modified part having at least one property with a type-safe delegate type which matches a signature of the original method. Test code, which tests the product code, can then associate a delegate instance to the thus-defined property of the original method. This prompts an execution system to dynamically execute detour code associated with the delegate instance, rather than an instrumentation of the original method, thus avoiding dependency on potentially non-deterministic functionality which would be otherwise invoked by an instrumentation of the original method.
机译:描述了一种隔离系统,用于将原始产品代码转换为相应的修改后的代码。隔离系统通过识别要转换的原始方法的子集来运行。对于每个这样的原始方法,隔离系统都会生成具有至少一个属性的修改部分,该属性的类型安全委托类型与原始方法的签名相匹配。然后,测试产品代码的测试代码可以将委托实例与原始方法的由此定义的属性相关联。这促使执行系统动态地执行与委托实例相关联的de回代码,而不是原始方法的检测,从而避免依赖于可能由原始方法的检测调用的潜在不确定性功能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号