Skip to content

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sciortinomrc
Copy link

@sciortinomrc sciortinomrc commented Aug 26, 2024

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

@sciortinomrc sciortinomrc changed the title Added test to for resolvedNames bug in classes Added test to for reservedNames bug in classes Aug 27, 2024
@sciortinomrc sciortinomrc changed the title Added test to for reservedNames bug in classes Added test for reservedNames bug in classes Sep 3, 2024
@khai2006108
Copy link

--Hạn Sử Dụng
if os.date("%Y%m%d") >= "20240925" then
gg.alert(" Script Hết Hạn","Ok")return end

--Mật Khẩu
Password = 'khaipham2006'
Pass = gg.prompt({"Nhập Pass Để Vào Script"},{},{"text"})
if not Pass then os.exit() end
if Pass[1] == Password then
gg.toast('Mật khẩu đúng')
else
gg.alert('nhập lại mật khẩu') os.exit()
end

function HOME()
  LOBE = gg.multiChoice({
  	
  	"speed x60",
 
      end
      if LOBE[68] == true then
      A()
      end
      if LOBE[69] == true then
      Exit()
    end
  end 
  LOBE = -1
end

function A()
gg.setRanges(gg.REGION_CODE_APP)
gg.searchNumber("1.10000002384;-0.94999998808;10000;40000", gg.TYPE_FLOAT)
gg.refineNumber("1.10000002384", gg.TYPE_FLOAT)
gg.getResults(100)
gg.editAll("50", gg.TYPE_FLOAT)
gg.clearResults()
gg.toast("ᴀᴄᴛɪᴠᴀᴛᴇᴅ")
end

while true do
if gg.isVisible(true) then
LOBE = 1
gg.setVisible(false)
end
gg.clearResults()
if LOBE == 1 then
HOME()
end
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy