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

Apply memory limits during fuzzing #1340

Closed

Conversation

raphdev
Copy link
Contributor

@raphdev raphdev commented Apr 30, 2024

This PR enables the newly added mxXSMemoryLimit that tracks mxNoChunks allocator and aborts the machine when the provided limit is exceeded. It allows us to gracefully handle fuzzer test cases to avoid reporting JS code that allocates beyond the fuzzer limits as bugs.

In fuzzing builds, we also use a function that purges all memory that we call on abort paths. This makes previous work to tune ASAN's leak sanitizer unnecessary (#1067). We removed it as it had no effect.

@raphdev
Copy link
Contributor Author

raphdev commented May 1, 2024

Closing as it was committed in 7efb104 and e97b452.

@raphdev raphdev closed this May 1, 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.

None yet

1 participant