[cfe-dev] CallGraph Error?
shr dev via cfe-dev
cfe-dev at lists.llvm.org
Sun Jun 26 05:36:47 PDT 2016
Hi everyone,
I was playing with the dump callgraph functionality as follows:
*clang -cc1 -analyze -analyzer-checker=debug.DumpCallGraph
longs-master/cdecode.c*
with some C github trending repositories. And when parsing the files *cdecode.c
*and *cencode.c *of a project that i can not find now, (so I attach the
files in the mail), I came to the next result:
*Example for cdecode.c:**Function: < root > calls:* base64_init_decodestate
base64_decode_value base64_decode_block
*Function: base64_decode_block calls*: base64_decode_value
base64_decode_value base64_decode_value base64_decode_value
base64_decode_value base64_decode_value base64_decode_value
base64_decode_value
*Function: base64_decode_value calls*:
*Function: base64_init_decodestate calls*:
Where I think that in *Function: base64_decode_block calls *have to be
4xbase64_decode_value (four times) and not 8xbase64_decode_value. I saw the
same behaviour in the file cencode.c
I am missing something?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160626/5596d5ea/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: longs-master.zip
Type: application/zip
Size: 1979292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160626/5596d5ea/attachment.zip>
More information about the cfe-dev
mailing list