Skip to content

feat(symcache): Represent void* pointers in symcache - #1101

Open
szokeasaurusrex wants to merge 1 commit into
szokeasaurusrex/void-pointers-debuginfofrom
szokeasaurusrex/void-pointers-symcache
Open

szokeasaurusrex wants to merge 1 commit into
szokeasaurusrex/void-pointers-debuginfofrom
szokeasaurusrex/void-pointers-symcache

Conversation

@szokeasaurusrex

@szokeasaurusrex szokeasaurusrex commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Now that symbolic-debuginfo supports resolving void* pointers via PointerType::pointee set to None, represent void* pointers in symbolic-symcache using a dedicated Type::VOID (u32::MAX - 1) sentinel for pointee_idx. This separates void* pointers (PointerType::pointee() == None) from pointers whose referenced type could not be resolved (PointerType::pointee() == Some(id) where SymCache::lookup_type(id) returns None).

Closes #1099
Closes SYMBOL-44

@szokeasaurusrex
szokeasaurusrex requested a review from a team as a code owner October 21, 2026 14:14
@linear-code

linear-code Bot commented Oct 21, 2026

Copy link
Copy Markdown

SYMBOL-44

@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against f6c085c

@szokeasaurusrex
szokeasaurusrex force-pushed the szokeasaurusrex/void-pointers-symcache branch 2 times, most recently from 2c52d62 to e850a2d Compare October 21, 2026 14:23
@szokeasaurusrex
szokeasaurusrex marked this pull request as draft October 22, 2026 08:47
@szokeasaurusrex

Copy link
Copy Markdown
Member Author

Converting to draft as we update #1100

@szokeasaurusrex
szokeasaurusrex force-pushed the szokeasaurusrex/void-pointers-symcache branch from e850a2d to c4f5af6 Compare October 23, 2026 09:03
@szokeasaurusrex
szokeasaurusrex marked this pull request as ready for review October 23, 2026 09:13
@szokeasaurusrex
szokeasaurusrex force-pushed the szokeasaurusrex/void-pointers-symcache branch from c4f5af6 to 3c58177 Compare October 23, 2026 12:39
Now that `symbolic-debuginfo` supports resolving `void*` pointers via `PointerType::pointee` set to `None`, represent `void*` pointers in `symbolic-symcache` using a dedicated `Type::VOID` (`u32::MAX - 1`) sentinel for `pointee_idx`. This separates `void*` pointers (`PointerType::pointee() == None`) from pointers whose referenced type could not be resolved (`PointerType::pointee() == Some(id)` where `SymCache::lookup_type(id)` returns `None`).

Closes #1099
Closes [SYMBOL-44](https://linear.app/getsentry/issue/SYMBOL-44)
@szokeasaurusrex
szokeasaurusrex force-pushed the szokeasaurusrex/void-pointers-symcache branch from 3c58177 to f6c085c Compare October 23, 2026 15:16
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.

Add support for void* pointers in symcache

2 participants