Add rust demangling support

Review Request #2012 — Created June 20, 2019 and submitted

jbk
illumos-gate
11267
2011
general

This adds the ability to demangle rust symbols up to version 1.35 (the most recent release) to our native demangling library (used by mdb(1), dis(1), among others). Starting with the upcoming 1.36 rust release, the mangling system changes, but does so in a manner that doesn't affect demangling of things using the current mangling scheme.

Included test cases were run, which worked successfully.

jbk
mno-hime
  1. Got positive results testing this with mdb, dis, and elfdump agains Rust 1.32.0 binaries and cores (where applicable). Revied the code.

    1. Also checked output against rustfilt.

  2. 
      
tsoome
  1. Ship It!
  2. 
      
jbk
Review request changed

Status: Closed (submitted)

Loading...