Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update stack limit in ASan builds #778

Merged
merged 1 commit into from
Dec 30, 2024
Merged

Conversation

bnoordhuis
Copy link
Contributor

Otherwise recursive calls keep going until they trip ASan checks.

Remove the __ASAN__ and __UBSAN__ defines; no longer necessary.

Remove globalThis.__running_with_sanitizer__ from qjs; likewise.

Fixes: #671
Fixes: #775
Fixes: #776

Otherwise recursive calls keep going until they trip ASan checks.

Remove the `__ASAN__` and `__UBSAN__` defines; no longer necessary.

Remove `globalThis.__running_with_sanitizer__` from qjs; likewise.

Fixes: quickjs-ng#671
Fixes: quickjs-ng#775
Fixes: quickjs-ng#776
Copy link
Contributor

@saghul saghul left a comment

Choose a reason for hiding this comment

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

I suppose the new 1MB stack size limit is enough for all of this to run without issue? Nice!

@saghul
Copy link
Contributor

saghul commented Dec 30, 2024

Ah wait you removed the update of the stack size not the initial value. 👍

@bnoordhuis bnoordhuis merged commit 99c02eb into quickjs-ng:master Dec 30, 2024
59 checks passed
@bnoordhuis bnoordhuis deleted the fix671 branch December 30, 2024 10:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
2 participants