8000 Merge pull request #15191 from MathiasVP/show-indirections-in-ssainte… · MathiasVP/ql@ecd2003 · GitHub
[go: up one dir, main page]

Skip to content

Commit ecd2003

Browse files
authored
Merge pull request github#15191 from MathiasVP/show-indirections-in-ssainternals-2
C++: Show base variable in SSA variable `toString`s
2 parents c5b6f48 + ffdd28e commit ecd2003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/SsaInternals.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ private module SourceVariables {
4141
SsaInternals0::SourceVariable getBaseVariable() { result = base }
4242

4343
/** Gets a textual representation of this element. */
44-
string toString() { result = repeatStars(this.getIndirection()) }
44+
string toString() { result = repeatStars(this.getIndirection())< 478F /span> + base.toString() }
4545

4646
/**
4747
* Gets the number of loads performed on the base source variable

0 commit comments

Comments
 (0)
0