DocumentCode
2578277
Title
Reverse Engineering Variability in Source Code Using Clone Detection: A Case Study for Linux Variants of Consumer Electronic Devices
Author
Hemel, Armijn ; Koschke, Rainer
Author_Institution
Tjaldur Software Governance Solutions, Netherlands
fYear
2012
fDate
15-18 Oct. 2012
Firstpage
357
Lastpage
366
Abstract
The Consumer Electronics Working Group (CEWG) in the Linux Foundation has identified several problems in the re-use process of embedded Linux software for consumer electronic devices. Among these is the increasing fragmentation of Linux derivatives. Vendors of electronic devices copy the Linux sources and make their modifications to adapt it to their own devices, but fail to back port their modifications to the mainstream Linux sources. Likewise, later improvements of the Linux sources are not integrated into the vendors´ variants. CEWG launched the Long Term Support Initiative (LTSI) for an industry-managed tree of the Linux sources, maintained by CEWG, that is based on the long-term stable kernel tree annually updated with the latest mainstream kernel version to address their needs. In order to justify this initiative, CEWG asked us to investigate whether and if so how much non-upstream code can be found in industry products and to which extent to and for what part of the kernel. We used large-scale clone detection techniques to compare various Linux versions to their vendor-specific variants. We found many changes that were not back ported. Some of these changes were even found in Linux subsystems where neither we nor people from the Linux Foundation would expect them. We also found instances of defects fixed in the mainstream kernel that were not integrated into the vendors´ code. Overall, our investigation provides enough evidence to support the need for an LTSI and better collaboration among Linux developers both of the mainstream and the vendor variants.
Keywords
Linux; consumer electronics; operating system kernels; reverse engineering; software maintenance; CEWG; LTSI; Linux derivatives; Linux foundation; Linux software; Linux sources; clone detection; consumer electronic devices; consumer electronics working group; kernel tree; linux variants; long term support initiative; reverse engineering variability; source code; Androids; Cloning; Humanoid robots; Kernel; Linux; Telephone sets; open-source development; software clone detection; software product lines;
fLanguage
English
Publisher
ieee
Conference_Titel
Reverse Engineering (WCRE), 2012 19th Working Conference on
Conference_Location
Kingston, ON
ISSN
1095-1350
Print_ISBN
978-1-4673-4536-1
Type
conf
DOI
10.1109/WCRE.2012.45
Filename
6385131
Link To Document