github / github/codeql

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

Offen
#8,376 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.