cpp_demangle icon indicating copy to clipboard operation
cpp_demangle copied to clipboard

A crate for demangling C++ symbols

Results 35 cpp_demangle issues
Sort by recently updated
recently updated
newest added

Hello! I noticed a case where the demangling fails, but where (llvm/apple) c++filt seems to work, with this beauty: `__ZZZN3jkj9dragonbox10to_decimalIfNS0_20default_float_traitsIfEEJNS0_6detail11policy_impl4sign6ignoreENS5_13trailing_zero6removeEEEEDaNS0_23signed_significand_bitsIT_T0_EEjDpT1_ENKUlSC_E_clINS5_26decimal_to_binary_rounding15nearest_to_evenEEESA_SC_ENKUlDpT_E_clIJEEESA_SM_` A self contained test could be ```rust fn main() ->...

helps with #208, but probably does not fully fix it. This is very much WIP, as I try to wrap my head around how this parser actually works :-) The...

It would be very useful if we could use cpp_demangle in signal handlers, where allocation is not allowed, for handling things like segfaults and aborts in C++ code. This is...

- [x] #206 - [x] #207 (recursion depth) - [ ] #209 (templated lambdas) - [ ] #210 (trailing hashes) - [x] #212 (block invoke) I noticed that increasing the...

When I run the following program, to_string seems to panic, while the unwrap succeeds. I'm not sure if this is intentional or not. ```Rust use cpp_demangle::Symbol; fn main() { let...

This is supported in llvm, since a long time it seems: https://github.com/llvm/llvm-project/blob/026bb84bcd42b875d77b769eb5ee4c19fc2a9719/llvm/include/llvm/Demangle/ItaniumDemangle.h#L5275-L5286 ``` > llvm-cxxfilt "__Z6strchrUa9enable_ifIXLb1EEEPKci" strchr(char const*, int) [enable_if:true] > llvm-cxxfilt "__Z6memchrUa9enable_ifIXLb1EEXLb1EEEPKvU17pass_object_size1ij" memchr(void const*, int pass_object_size1, unsigned int) [enable_if:true,...

such as "_ZNSt3__110__function6__funcIZ38+[WCTStatistics SetGlobalErrorReport:]E3$0NS_9allocatorIS2_EEFvRKN4WCDB5ErrorEEEclES8",any solution?

As discussed in [this twitter thread](https://twitter.com/khuey_/status/1315289431239127042), I ran the fuzzer on my AMD-based Linux machine for a day. It found a Final results below ```bash ┌─ process timing ────────────────────────────────────┬─ overall...

I got this from https://github.com/ianlancetaylor/demangle/issues/3 ``` pokyo. ./target/debug/cppfilt _Z1jI1AEDTcldtfp_cvPT_EES1_ jDTcldtfp_cvPT_EES1_ ``` But the right answer is: ``` pokyo. c++filt _Z1jI1AEDTcldtfp_cvPT_EES1_ decltype (({parm#1}.(operator A*))()) j(A) ``` or something like that --...

bug

When trying to demangle the symbol `__ZN7ErrorOrIN5lexer5TokenENS0_8LexErrorEEC2IS2_EET_PNSt9enable_ifIXsr3std10is_base_ofIS2_NSt5decayIS5_E4typeEEE5valueEvE4typeE` I get `error: demangling some part of the AST attempted to demangle itself again`. This is a symbol generated by clang++ (c++14), and...

bug