Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 729 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 729 Bytes

Android_SVC_Edu


Chinses README

注释写的相对来说比较详细 可以参考注释进行理解
这就是一个我学习svc调用的Demo 非常简单 易于理解


This is a Demo for me to study Android SVC

What's SVC

When CPU find SVC instruction. It corms a interrupt.
Then will execute kernel logic first.
When we realize a function which SVC ,it is difficulte to use inline hook to hack our function.
In a word, SVC is more secure than syscall which comes from libc

SYSCALL

  • SYSCALL is a define form proot

WARN: The SYSCALL from proot is different from syscall from libc
proot's SYSCALL use svc to get interrupt