[cxx-abi-dev] A mangling ambiguity

Nathan Sidwell nathan at codesourcery.com
Wed Dec 4 16:16:02 UTC 2002


Gaby
> Hmm, maybe I'm being dense but how is the latter really different from
> the former?  If the names ot two entities end up being being mangled
> the same, then there will be an ambiguity in demangling them.  No?
> 
> Conversely, if demangling a mangled named shows an ambiguity then that
> means we can't determine the original entity name.  No?

The mangling must be a perfect hash function. Ideally it should be invertable
too. This might be a case of non-invertability, which we could live with.
If it is also a case of imperfectness, then we must fix it. Hope that helps.

nathan
-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
          'But that's a lie.' - 'Yes it is. What's your point?'
nathan at codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan at acm.org





More information about the cxx-abi-dev mailing list