add basic dependency analyze but still have many problems.


Signed-off-by: dannygod <dannygodii@gmail.com>