Light talk @ coscup 2011 : Incremental Global Prelink for Android

Download Light talk @ coscup 2011 : Incremental Global Prelink for Android

Post on 06-May-2015

1.220 views

Category:

Technology

1 download

Embed Size (px)

TRANSCRIPT

<ul><li>1.Incremental Global Prelinkfor Android Kito Chengkito@0xlab.org</li></ul> <p>2. Who am I ? Kito 3. Who am I ? @ @0xlab 4. Incremental Global Prelinkfor Android??????? 5. Incremental Global Prelinkfor Android??????? ? 6. Incremental Global Prelinkfor Android link 7. Loaderlibc/libm/libdvm...DynamicLinker (Relocation) printf, sin, cos, ...Linker ! link 8. Loader Dynamic Linker (Relocation) ! 9. link !Incremental Global Prelinkfor Android 10. link !Incremental Global Prelinkfor Android pre : ... 11. link !Incremental Global Prelinkfor Android pre : ...Prelink : link! 12. Prelink Loader= Link Dynamic Linker (Relocation) ! 13. Prelink Loader= Link Dynamic Linker (Relocation)Link = ! ! 14. So what?Prelink = Link = ! 15. So what?Prelink = Link = ! Android 16. So what?Prelink = Link = ! Android Prelink 17. So what?Prelink = Link = ! Android Prelink Prelink Android !! 18. ... Android Prelink 19. ... Android Prelink XD 20. ... Android Prelink XD 21. Android local prelink !Incremental Global Prelinkfor Android 22. Android local prelink !Incremental Global Prelinkfor Android 23. Android local prelink !Incremental Global Prelinkfor AndroidLocal ( ) vs Global ( ) 24. Android local prelink !Incremental Global Prelinkfor AndroidLocal ( ) vs Global ( ) ( ) 25. Local ( ) vs Global ( )void foo (){printf(fooooo); Relocationlibc.so printfbar(); printf bar}libfoo.so Local Prelink: foo Relocation barprintf Global Prelink: Relocation! 26. Local ( ) vs Global ( ) vs 27. ?27 28. ? Nexus S 28 29. ? Nexus S ?????29 30. ? Nexus S ????? Android ( 30 31. !Incremental Global Prelinkfor Android 32. !Incremental Global Prelinkfor Android / XD 33. Incremental Global Prelinkfor Android XD 34. ! Open Source ! open XD </p>