Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.7k
Added test for reservedNames bug in classes#1279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Added test for reservedNames bug in classes#1279
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…tions defined within classes
khai2006108 commentedSep 24, 2024
--Hạn Sử Dụng --Mật Khẩu function A() while true do |
Uh oh!
There was an error while loading.Please reload this page.
Use case
I want to obfuscate a class, but I need one function name not to be obfuscated.
I specify the name of the function in 'reservedNames'
Expected
No matter how many times I perform the obfuscation, I am expecting the function name never to be obfuscated
Results
Running the test several times, I can see that the results are never consistent, and most of the time the behaviour is not the expected
Unfortunately I am not good with TypeScript so I was not able to provide a fix, but I was able to add a test case as a PoC of the bug.
Hope this was helpful