diff options
author | Christopher Ferris <cferris@google.com> | 2017-03-03 17:43:14 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2017-03-07 13:04:32 -0800 |
commit | 9323b7219cb8415e93c0a1c4ed47a7c2bff6def7 (patch) | |
tree | 33cb603cd2534e7636d2b1fd72974e9b9f431643 /libunwindstack/tests/MemoryFileTest.cpp | |
parent | 4463c820a6dd721a977e6bacf8420f8a6434e210 (diff) |
Implement a simple demangler.
The purpose of this demangler is to avoid crashes for any string.
- It does one pass and should avoid going past the end of the string.
- The code avoids recursion to minimize the amount of stack required.
- It cannot demangle all mangled names, but it should be able to work
on nearly all names in normal stack traces.
- If the mangled name is too large, it will stop demangling and return
as if the name is not a demangled name.
Test: Passes new unit tests.
Change-Id: I596f74a533c0e093d1517c6bd11cced07009d321
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions