Skip to content
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

3.11 version OHOS adaptation #20821

Merged
merged 6 commits into from
Dec 25, 2024

Conversation

wanghui187
Copy link
Contributor

No description provided.

if (cc.PLATFORM_OS_OHOS == currPlatform) then
local jit = require("jit")
jit.off()
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why need to disable jit? And only disable jit in this test case?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JIT shutdown is to prevent malicious software from abusing JIT memory to execute arbitrary code, bypass application market audits, and achieve the goal of changing faces

@minggo minggo merged commit 3a94899 into cocos2d:cocos2d-x-3.11-oh Dec 25, 2024
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