Replies: 5 comments 4 replies
-
Could you pick some code to one simple script to show it? Also include what rulers are used. |
Beta Was this translation helpful? Give feedback.
-
I have reproduced it and check it. |
Beta Was this translation helpful? Give feedback.
-
After checking, rft-auto-include will not rename local variables, but the local variables will be renamed in next obfuscation process. |
Beta Was this translation helpful? Give feedback.
-
Which Python version is used? Before Python 3.10 local variables should be renamed, but in Python 3.11 it seems they're not renamed. I'm checking this and try to fix it. |
Beta Was this translation helpful? Give feedback.
-
What I used is Pyarmor 8.5.12 s = 0
def foo():
a = 1
abcedfg_12345 = 3
print(locals())
foo() And test it by pyarmor cfg rft_auto_exclude = 0
pyarmor gen --enable-rft foo.py
python dist/foo.py I can see the local variable name are changed by print statement |
Beta Was this translation helpful? Give feedback.
-
I am obfuscating a package and want the best possible obfuscation.
Using the default
rft-auto-exclude
andtrace_rft
enabled, I can see that all local variables are obfuscated as they should be, but not attribute chains, as per the documentation.Therefore I am now using
rft-auto-include
and have added manual rulers looking somewhat likesome_var.* ?.?
and now the attributed chains get transformed intosome_var.pyarmor__20
.However, now no local variables are getting obfuscated.
Is this feature unavailable with
rft-auto-include
or is this a bug?Beta Was this translation helpful? Give feedback.
All reactions