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

Virtual function tables stop processing if there is a label in the middle #7045

Open
hiimjustin000 opened this issue Oct 12, 2024 · 1 comment
Assignees
Labels
Feature: Language/C++ Status: Triage Information is being gathered

Comments

@hiimjustin000
Copy link

Describe the bug
When it comes to processing virtual function tables (vftables, or vtables), at least on Windows binaries, Ghidra stops as soon as there is a label in the middle.

To Reproduce
Steps to reproduce the behavior:

  1. Analyze a binary with a virtual function table
  2. Scroll down to the table
  3. See error

Expected behavior
The whole table would be processed.

Screenshots
image

Environment (please complete the following information):

  • OS: Windows 11 23H2 (10.0.22631.4317)
  • Java Version: 21.0.4
  • Ghidra Version: 11.2
  • Ghidra Origin: GitHub

Additional context
This gets way too annoying, as I cannot extend the table for the missing functions without it giving a "Data type too large" error.

@marcushall42
Copy link
Contributor

As an aside, if you grow the datatype and get the "Data type too large" showing up, The least typing to correct that that I have found (so far) is to edit the datatype and make it an array of 1 element, then edit it again and remove the array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Language/C++ Status: Triage Information is being gathered
Projects
None yet
Development

No branches or pull requests

4 participants