CoatiSoftware / Sourcetrail

Sourcetrail - free and open-source interactive source explorer
https://www.sourcetrail.com/
GNU General Public License v3.0
14.73k stars 1.37k forks source link

Change names of nodes #534

Open egraether opened 6 years ago

egraether commented 6 years ago

When working with obfuscated code

kevinvalk commented 6 years ago

What I often see is that some obfuscation process just replaces all names with random names. This means that this obfuscation is done only once and will remain like this until a new version with obfuscation is build.

In my mind, the only thing that would be required for this is a simple dictionary that can map a symbol to a another custom entered symbol. After indexing a project, (a plugin for example) could replace all original symbols with the corresponding custom entered symbol.

Removing the custom symbols is then also easy and you can do the same replacement but now the other way around. All symbols that have no custom replacement can be left as is.

I hope this makes a little bit more sense.

egraether commented 6 years ago

+1 via twitter: https://twitter.com/tmr232/status/1017347781520961536