aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-trace2syz/parser
diff options
context:
space:
mode:
Diffstat (limited to 'tools/syz-trace2syz/parser')
-rw-r--r--tools/syz-trace2syz/parser/lex.go1
-rw-r--r--tools/syz-trace2syz/parser/straceLex.rl1
2 files changed, 0 insertions, 2 deletions
diff --git a/tools/syz-trace2syz/parser/lex.go b/tools/syz-trace2syz/parser/lex.go
index c5a83df64..12df80674 100644
--- a/tools/syz-trace2syz/parser/lex.go
+++ b/tools/syz-trace2syz/parser/lex.go
@@ -5804,6 +5804,5 @@ func ParseString(s string) string {
log.Logf(2, "failed to decode string: %s, with error: %s", s, err.Error())
decoded = []byte(strippedStr)
}
- decoded = append(decoded, '\x00')
return string(decoded)
}
diff --git a/tools/syz-trace2syz/parser/straceLex.rl b/tools/syz-trace2syz/parser/straceLex.rl
index 9d5d4eaf5..d52446301 100644
--- a/tools/syz-trace2syz/parser/straceLex.rl
+++ b/tools/syz-trace2syz/parser/straceLex.rl
@@ -127,6 +127,5 @@ func ParseString(s string) string{
log.Logf(2, "failed to decode string: %s, with error: %s", s, err.Error())
decoded = []byte(strippedStr)
}
- decoded = append(decoded, '\x00')
return string(decoded)
}