extract cfi graph