Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
sciortinomrc wants to merge1 commit intojavascript-obfuscator:master
base:master
Choose a base branch
Loading
fromsciortinomrc:reserved-names-bug

Conversation

@sciortinomrc
Copy link

@sciortinomrcsciortinomrc commentedAug 26, 2024
edited
Loading

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

@sciortinomrcsciortinomrc changed the titleAdded test to for resolvedNames bug in classesAdded test to for reservedNames bug in classesAug 27, 2024
@sciortinomrcsciortinomrc changed the titleAdded test to for reservedNames bug in classesAdded test for reservedNames bug in classesSep 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 = -1end

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 freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@sciortinomrc@khai2006108

[8]ページ先頭

©2009-2025 Movatter.jp