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?
longs-master.zip (1.89 MB)