timetravelthree/IDARustDemangler

Add new invalids caracters to blacklist

0xMirasio opened this issue · 1 comments

On ida 7.7 ,

those caracters are not valid : [-] [`] ['] [=] []

My proposition is to just remove them from the fonction

*] IDA Rust Demangler started!
[autohidden] BA60: can't rename byte as '_ZN38core::ops::function::FnOnce::call_onceII11vtable-shimEEE1665bb8d599a4af8e3' because it contains a bad character '-'.
 -> OK
BA60: can't rename byte as '_ZN38core::ops::function::FnOnce::call_onceII11vtable-shimEEE1665bb8d599a4af8e3' because it contains a bad character '-'.
[autohidden] BB50: can't rename byte as '_ZN38core::ops::function::FnOnce::call_onceII11vtable-shimEEE16a2343e688544af1d' because it contains a bad character '-'.
 -> OK
BB50: can't rename byte as '_ZN38core::ops::function::FnOnce::call_onceII11vtable-shimEEE16a2343e688544af1d' because it contains a bad character '-'.
[autohidden] BBD0: can't rename byte as '_ZN38core::ops::function::FnOnce::call_onceII11vtable-shimEEE16a9e08eb54d7b0f3c' because it contains a bad character '-'.
 -> OK
BBD0: can't rename byte as '_ZN38core::ops::function::FnOnce::call_onceII11vtable-shimEEE16a9e08eb54d7b0f3c' because it contains a bad character '-'.
[autohidden] BC40: can't rename byte as '_ZN38core::ops::function::FnOnce::call_onceII11vtable-shimEEE16ba203034a8592d3c' because it contains a bad character '-'.
 -> OK
BC40: can't rename byte as '_ZN38core::ops::function::FnOnce::call_onceII11vtable-shimEEE16ba203034a8592d3c' because it contains a bad character '-'.
[autohidden] BC60: can't rename byte as '_ZN38core::ops::function::FnOnce::call_onceII11vtable-shimEEE16e0819bbd0b949e0f' because it contains a bad character '-'.
 -> OK
BC60: can't rename byte as '_ZN38core::ops::function::FnOnce::call_onceII11vtable-shimEEE16e0819bbd0b949e0f' because it contains a bad character '-'.
[autohidden] BC70: can't rename byte as '_ZN38core::ops::function::FnOnce::call_onceII11vtable-shimEEE16f9b02097c147d26b' because it contains a bad character '-'.
 -> OK
BC70: can't rename byte as '_ZN38core::ops::function::FnOnce::call_onceII11vtable-shimEEE16f9b02097c147d26b' because it contains a bad character '-'.
[autohidden] C430: can't rename byte as '_ZN148thread_'main'_panicked_at_'invalid_legacy_symbol_element_$u3d$$u20$$LP$$RP$$u2b$core..marker..Send$u2b$core..marker..Sync$GT$$GT$'_src\main.rs:66:21E16a2c84da0d57f6fb0' because it contains a bad character '''.
 -> OK
C430: can't rename byte as '_ZN148thread_'main'_panicked_at_'invalid_legacy_symbol_element_$u3d$$u20$$LP$$RP$$u2b$core..marker..Send$u2b$core..marker..Sync$GT$$GT$'_src\main.rs:66:21E16a2c84da0d57f6fb0' because it contains a bad character '''.
[autohidden] C490: can't rename byte as '_ZN77note:_run_with_`RUST_BACKTRACE=1`_environment_variable_to_display_a_backtraceE16ef6eb06151ab1ab6' because it contains a bad character '`'.
 -> OK
C490: can't rename byte as '_ZN77note:_run_with_`RUST_BACKTRACE=1`_environment_variable_to_display_a_backtraceE16ef6eb06151ab1ab6' because it contains a bad character '`'.
[*] Demangled 8 symbols
[*] IDA Rust Demangler has finished!

pull request: 5678877