commit | 594fc0d116f0436540a153b632a0b13c1ed32ad9 | [log] [tgz] |
---|---|---|
author | Nico Weber <nicolasweber@gmx.de> | Sat Apr 20 23:59:06 2019 +0000 |
committer | Nico Weber <nicolasweber@gmx.de> | Sat Apr 20 23:59:06 2019 +0000 |
tree | 79e9ea89cd26e5edce795786f34eabb9537f13c8 | |
parent | 772d6f05f13c86b33f17a9db2f9307b29db06810 [diff] |
llvm-undname: Improve string literal demangling with embedded \0 chars - Don't assert when a string looks like a u32 string to the heuristic but doesn't have a length that's 0 mod 4. Instead, classify those as u16 with embedded \0 chars. Found by oss-fuzz. - Print embedded nul bytes as \0 instead of \x00. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358835 91177308-0d34-0410-b5e6-96231b3b80d8