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

Rtrace shadow memory and instrumentation #1476

Merged
merged 6 commits into from
Oct 6, 2020
Merged

Rtrace shadow memory and instrumentation #1476

merged 6 commits into from
Oct 6, 2020

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Sep 28, 2020

Adds a shadow memory, keeping track of alloc, resize, move and free ranges, and the option to instrument loads and stores to detect OOB accesses.

Doesn't find any problems in our tests, which is good, but hits OOB accesses in the bootstrapped compiler during PureRC's collection phase, indicating that something is off there. Will be helpful to debug, though. Also note that memory instrumentation is extremely slow currently due to having to look at stack traces to tell legit TLSF bookkeeping apart from actual OOB block accesses, but it's a start.

  • I've read the contributing guidelines

@dcodeIO dcodeIO merged commit 5b2d529 into master Oct 6, 2020
@github-actions
Copy link

github-actions bot commented Oct 7, 2020

🎉 This PR is included in version 0.15.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@dcodeIO dcodeIO deleted the rtrace-shadow branch June 1, 2021 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants