Skip to content

Darwin Heap Enumerator #49

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

Open
wants to merge 1 commit into
base: feature/beta-2.0-release
Choose a base branch
from

Conversation

RobertNotRob
Copy link

Hey FZ,

I noticed your Darwin "is_heap" implementation filtered based on !is_stack && !is_code.

I've worked up a implementation which enumerates the zones using XNU's malloc introspection APIs. This will hopefully give more performant and accurate analysis.

I need to verify this does in fact give all heap regions as some valid pointers (such as where heap zones metadata) are not found, which is somewhat suspicious. However, I thought it best to open this up for you guys to review asap.

Thanks,
Robert

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.

1 participant