finish global dependencies analysis

Signed-off-by: xiehuc <xiehuc@gmail.com>
temp

Signed-off-by: xiehuc <xiehuc@gmail.com>