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

Fixed vtable duplication for binary annotator #7809

Merged
merged 1 commit into from
Feb 2, 2023

Conversation

dbaileychess
Copy link
Collaborator

I found out that vtables could be shared across unique Table types, not just within the same table type.

This required changing the code in the binary annotator to account for this fact, since I use the vtable's fields to annotate the binary.

Updated the text output to not include + in the offset calculated location, as this produce the same symbol used to refer to the lines. This made finding the offset in a very large file really hard, since find-in-file searching couldn't tell the two part.

@github-actions github-actions bot added c++ codegen Involving generating code from schema labels Feb 2, 2023
@dbaileychess dbaileychess force-pushed the master branch 2 times, most recently from fed8be6 to bfac0b2 Compare February 2, 2023 09:58
@dbaileychess dbaileychess enabled auto-merge (squash) February 2, 2023 18:36
@dbaileychess dbaileychess disabled auto-merge February 2, 2023 18:39
@dbaileychess dbaileychess merged commit 0fb5519 into google:master Feb 2, 2023
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ codegen Involving generating code from schema
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant