bugGNU cflow - Bugs: bug #52909, Not all functions are listed in...

 
 

bug #52909: Not all functions are listed in the call graph

Submitter:  None
Submitted:  Tue 16 Jan 2018 09:17:49 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  gray
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 08 Feb 2019 01:42:58 PM UTC, comment #1: 

Fixed in 3fea1f0f. Thank you.

Sergey Poznyakoff <gray>
Group administrator
Tue 16 Jan 2018 09:17:49 AM UTC, original submission:  

cflow does not report all functions in the call graph (tested
with versions 1.3, 1.4, latest as of Jan 2018).

To reproduce:
$ cat foo.c
void A(int a) {
    a();
}
void B(void) {
    a();
}
$ ./cflow foo.c
B() <void B (void) at foo.c:4>:
    a()
$


Expected output:
An entry for A() at foo.c:1 as well.

My system is a CentOS Linux 3.10.0-514.21.1.el7.x86_64 with
$ gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)

I also tried compiling cflow with `make CFLAGS=-O0` but the bug persists.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gray (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-08 gray StatusNone Fixed
        Assigned toNone gray
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code