You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Demangle string $sTB, read from binary. All other strings either demangle fine or the original string is returned. (I'm not sure if this is an valid or invalid mangled name)
Expected Result
I would have expected either:
a Result or Option type to allow capture of the error.
The original string returned if failed to demangle.
Since I cannot control the outcome when using data driven output, I can not safely use this library unless there is a workaround or an alternative configuration.
The text was updated successfully, but these errors were encountered:
Firstly, I'm not entirely sure if this is a bug or user error/setup so hopefully someone more knowledgable than myself could confirm.
I wrote a tool which parses Swift symbols from a Mach-O binary. It reads
__fieldmd
metadata and I extract the demangled object names using this crate.Environment
Steps to Reproduce
Demangle string
$sTB
, read from binary. All other strings either demangle fine or the original string is returned. (I'm not sure if this is an valid or invalid mangled name)Expected Result
I would have expected either:
try_demangle
to at least not hard stop.Actual Result
The code hard stops on this assert:
Since I cannot control the outcome when using data driven output, I can not safely use this library unless there is a workaround or an alternative configuration.
The text was updated successfully, but these errors were encountered: