You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to prevent obfuscating only selected string literals using a prefix when obfuscate_string_literal option is selected?
The text was updated successfully, but these errors were encountered:
thilinah
changed the title
Is there a way to prevent obfuscating only selected string literals using a prefix
[Question] Is there a way to prevent obfuscating only selected string literals using a prefix
Oct 20, 2023
There was a situation where I wanted to generally obfuscate string literals in code, except some strings, which can be identified by a prefix.
When obfuscate_string_literal is enabled, all the string literals will be obfuscated. I wanted to see if there is a way to skip some selected strings. This is because when only partially obfuscating a project, non-obfuscated code will need to refer to these selected strings.
Anyhow, I've realized this is not supported and already implemented for myself. But if anyone else thinks this is useful, please let me know and I'll open a PR.
I think that this obfuscator doesnt support that at the time. I am currently making a huge refactoring with planned PR where ignoring can be (optionally) based on regex string, so that could perhaps solve your problem. I will let you know once the PR is ready
Is there a way to prevent obfuscating only selected string literals using a prefix when
obfuscate_string_literal
option is selected?The text was updated successfully, but these errors were encountered: