Skip to content

How to make a call graph for a function in C/C++? #8376

@nrb547

Description

@nrb547

I'm looking forward to writing a query which will deliver a call graph for a given function.
Preferably a call graph (a picture or similar graphic representation), but if that is
not possible, at least a chain of possible calls.

I already checked the CodeQL documentation and it seems like there is more information
for Java, and I'm not capable of getting a call graph with this C++ module:
https://codeql.github.com/codeql-standard-libraries/cpp/semmle/code/cpp/pointsto/CallGraph.qll/module.CallGraph.html

I would appreciate any guidance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions