Re: [PATCH 02/17] kallsyms: increase maximum kernel symbol length to 512

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 14, 2021 at 8:20 PM Nick Desaulniers
<ndesaulniers@xxxxxxxxxx> wrote:
>
> For C++ demangling, we have c++filt.
>
> A quick search turned up: https://github.com/luser/rustfilt
>
> but if the v0 mangling scheme is upcoming, I doubt a repo that hasn't
> been updated supports an upcoming scheme.  Is there a more official
> equivalent?

Demangling v0 is already supported by the latest releases of binutils
(2.36) / gdb (10.2), e.g.:

    echo _RNvXNtCshGpAVYOtgW1_7example9my_moduleINtB2_13MyGenericTypeNtB2_6MyTypeENtB2_7MyTrait9my_method
| c++filt -i
    <example::my_module::MyGenericType<example::my_module::MyType> as
example::my_module::MyTrait>::my_method

See the current status at https://github.com/rust-lang/rust/issues/60705.

(which reminds me I have to update the "Hacking" section in the Quick
Start guide, because now the releases I backported the support into
are not needed anymore)

Cheers,
Miguel



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux