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
I am new to pyarmor, but just bought the pro license. I read all the doc on the website, but I am lost with the RFT mode :
How to configure RFT mode to only rename function/variable in a part of the program (I used proguard in java which to the trick) ?
Example :
└── src
└── myproject
├── api
│ └── init.py
│ └── users_functions.py => contains functions available to the user, obfuscated but function's name must not changed, just update call to functions in internal_function.py
├── core
│ └── init.py
│ └── internal_functions.py => obfuscated and rtf mode
└── init.py
The goal is to generate a wheel, then this wheel will be used in another project. Only functions in api must be accessible clearly.
users_functions.py contains all the functions that the users can call. So all function's names in it must not changed with RTF mode.
It is just a wrapper to internal_functions.py
internal_functions.py must be obfuscated and RFT mode must be applied.
users_functions.py must be exclude from RFT mode, but must be modified, depending on how the functions in internal_functions.py was renamed.
How to configure this kind of exclusion in RFT mode, to only rename part of the program (I used proguard in java which to the trick) ? I want to exclude myproject.api.* from RFT mode.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I am new to pyarmor, but just bought the pro license. I read all the doc on the website, but I am lost with the RFT mode :
How to configure RFT mode to only rename function/variable in a part of the program (I used proguard in java which to the trick) ?
Example :
└── src
└── myproject
├── api
│ └── init.py
│ └── users_functions.py => contains functions available to the user, obfuscated but function's name must not changed, just update call to functions in internal_function.py
├── core
│ └── init.py
│ └── internal_functions.py => obfuscated and rtf mode
└── init.py
The goal is to generate a wheel, then this wheel will be used in another project. Only functions in api must be accessible clearly.
users_functions.py contains all the functions that the users can call. So all function's names in it must not changed with RTF mode.
It is just a wrapper to internal_functions.py
internal_functions.py must be obfuscated and RFT mode must be applied.
users_functions.py must be exclude from RFT mode, but must be modified, depending on how the functions in internal_functions.py was renamed.
How to configure this kind of exclusion in RFT mode, to only rename part of the program (I used proguard in java which to the trick) ? I want to exclude myproject.api.* from RFT mode.
All reactions