the param --obfuscate-variables - obfuscates class static attributes as well, whichi is wrong, because the other code is not obfuscated accordingly and thus it doesnt work after obfuscation.
For example:
The input
class TClass(object):
QNIoP = "test1" # this line must stay as it was in original, unless you can reference it accordingly
def __init__(QNIok):
QNIok.class_attr = "test2"
pd = TClass()
print(pd.static_attr)
print(TClass.static_attr)
print(pd.class_attr)
the param --obfuscate-variables - obfuscates class static attributes as well, whichi is wrong, because the other code is not obfuscated accordingly and thus it doesnt work after obfuscation. For example: The input
The result - which wont compile