首页>
外国专利>
Limiting the effects of source code patches on corresponding native-code patches
Limiting the effects of source code patches on corresponding native-code patches
展开▼
机译:限制源代码补丁对相应的本机代码补丁的影响
展开▼
页面导航
摘要
著录项
相似文献
摘要
A code patching component may insert a binary patch into a native-code representation of a program during execution. Prior to inserting the binary patch, a patch code analysis tool may receive a source code patch for the program, and determine that applying the source code patch would change the binary for the program outside of the patched area (e.g., due to changes in the number of lines, changes in the file names or path information for source code files from which the program is built, or line directives that embed line numbers or file names in the binary for the patched program). The tool may modify the source code patch to limit its effects to the patch area by adding empty lines, merging of lines of code, or forcing a line number change. The tool may filter line directives to match previously embedded file name information.
展开▼