Skip to content

Commit b9f51dc

Browse files
author
kcc
committed
[libFuzzer] ensure that DFT and autofocus works for C++ (mangled) functions
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/fuzzer@363905 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 527aeeb commit b9f51dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dataflow/DataFlow.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ static int PrintFunctions() {
9898
FILE *Pipe = popen("sed 's/(+/ /g; s/).*//g' "
9999
"| llvm-symbolizer "
100100
"| grep 'dfs\\$' "
101-
"| sed 's/dfs\\$//g'", "w");
101+
"| sed 's/dfs\\$//g' "
102+
"| c++filt",
103+
"w");
102104
for (size_t I = 0; I < NumGuards; I++) {
103105
uintptr_t PC = PCsBeg[I * 2];
104106
if (!BlockIsEntry(I)) continue;

0 commit comments

Comments
 (0)