This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The call graph does not appear to show functions called through C function pointers. (See attached code1.c and capture.jpg) Even stranger, call graph will show functions contained in function pointers that are declared inside a function, even if those functions are never actually called. (See attached code2.c and capture2.jpg)
Created attachment 158657 [details] Sample code and screen shots to illustrate bug Screenshot showing function pointers not appearing in call graph
Created attachment 158658 [details] Screenshot showing function pointers erroneously showing up in call graph
Created attachment 158659 [details] Code used in first example, function pointers not in call graph
Created attachment 158660 [details] Code used in second example, function pointers erroneously in call graph
First code example (code1.c) requires a data flow analysis. It is a feature that does not implemented in IDE. You can file a separate enhancement for this. Second code example (code2.c) cannot distinguish call and reference. It is a limitation of current code model. It cannot be fixed without reworking code model. Probably this will be fixed when IDE migrates on new code model. So close as do not fix.