building of call tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, all!

I'd like to make call-tree builder using libsparse.
I need to build symbol-hierarchy and feed dot with it.
I use test-dissect.c as an example.

I understand how to extract the symbols and find if it is definition
or reference,
but I fail with scoping. I need to detect which function that
particular reference belongs to,
and how to detect if that reference is really a function.
sym->type isn't what I need, sym->ctype.base_type is used to print base type,
but I'd like to print type as is, and detect if that is a function a proper way.
Or is there any better way to get this information?

Thanks a lot,
S.
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux