SLIDE 40 Did you care for purity of your Linux BSP Computer aided BSP kernel sanity check Yaminabe2 execution and trial result conclusion Running yaminabe2 scan on Renesas R-Car BSP Some R-Car Linux BSP sanity analysis
- utcome and lesson learned
How yaminabe2 (=sourceverifier.py) terminal output looks like
mu n a k a t a @ mu n a
4 5 : ~ / y b 2 b $ p y t h
s
r c e v e r i f i e r . p y
s
r c e v e r i f y . c
f i g
/ h
/ mu n a k a t a / s
r c e / r e n e s a s
a c k p
t / S C A N N I N G 3 6 6 3 f i l e s 8 6 4 F I L E S N O T F O U N D I N D A T A B A S E C O M P U T I N G A N D C O M P A R I N G T L S H O F F I L E S N O T F O U N D I N D A T A B A S E C L O S E S T R E V I S I O N F O R d r i v e r s / b a s e / d ma
t i g u
s . c I S 7 e e 7 9 3 a 6 2 f a 8 c 5 4 4 f 8 b 8 4 4 e 6 e 8 7 b 2 d 8 e 8 8 3 6 b 2 1 9 F R O M g i t : / / g i t . k e r n e l .
g / p u b / s c m/ l i n u x / k e r n e l / g i t / t
v a l d s / l i n u x . g i t WI T H D I S T A N C E 1 7 C L O S E S T R E V I S I O N F O R d r i v e r s / g p u / d r m/ d r m_ v m. c I S f 4 3 5 4 6 d 3 8 a f 6 3 1 9 2 b 2 9 9 4 5 5 d b 9 e 9 5 d f c 6 d 5 5 F R O M g i t : / / g i t . k e r n e l .
g / p u b / s c m/ l i n u x / k e r n e l / g i t / t
v a l d s / l i n u x . g i t WI T H D I S T A N C E 5 C L O S E S T R E V I S I O N F O R a r c h / a r m/ ma c h
h mo b i l e / h e a d s mp . S I S c c 6 1 5 9 1 e 4 5 c 4 5 7 1 3 9 d d d 4 c d 7 e 5 7 f 7 5 9 2 8 a c a a f 2 F R O M g i t : / / g i t . k e r n e l .
g / p u b / s c m/ l i n u x / k e r n e l / g i t / t
v a l d s / l i n u x . g i t WI T H D I S T A N C E 2 1 C L O S E S T R E V I S I O N F O R d r i v e r s / s t a g i n g / l t t n g / w r a p p e r / w r i t e b a c k . h I S 9 e 5 c 3 5 3 5 1 b 2 6 5 b d 6 b 8 3 9 8 2 3 a c 9 e f 2 8 3 7 b 7 6 1 F R O M g i t : / / g i t . k e r n e l .
g / p u b / s c m/ l i n u x / k e r n e l / g i t / t
v a l d s / l i n u x . g i t WI T H D I S T A N C E 3 7 2 h C L O S E S T R E V I S I O N F O R d r i v e r s / g p u / d r m/ r c a r
u / r c a r _ d u _ k ms . c I S 8 b e d 5 c c 7 6 5 f f d d 6 1 b 5 9 f 8 4 5 d 3 8 b 3 7 7 f 5 a 7 f 9 2 F R O M g i t : / / g i t . k e r n e l .
g / p u b / s c m/ l i n u x / k e r n e l / g i t / t
v a l d s / l i n u x . g i t WI T H D I S T A N C E 6 3
846 / 36,603 = 2.3% --- in-house code rate
40 / 52 Hisao Munakata Digitalization of Kernel Diversion from the Upstream