A Study on Code Transplantation Technique based on Program Slicing

Lupeng Liu, Xiaoguang Mao · 2018

Code transplantation, which is using a function of code from one software directly into another, and make the function work in it.Several tools have been built to transplant code, but there is still no research solved the problem of transplanting open source software.Open source software has the characteristics of coming from unclear source, irregular, and function definition unclear, which is not conducive to transplant.In our research process, we find program slicing can deal with these characteristics, help programmer to get the code related to the function they want to transplant.In this paper, we introduce a method to transplant code from open source software, the results revealed that our method can significantly reduce programmer's work and can be used to real world open source software.

Read the paper · More papers on PaperTik