Vector35 / Vector35/binaryninja-api
DWARF data variable type overruns into other data variables
Open
@emesare is already working on this.
Since Mar 25, 2025.
DebugInfo: DWARF
Impact: Medium
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 298
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 19
Description
File ID: eager cloud writes brightly
This hilariously large structure in the data section was created by dwarf and it overlaps with all of the RTTI information, the console shows that the RTTI symbol exists but as you can see, not displayed, in place is some gigantic structure created by dwarf.
>>> current_data_var
<var 0x56d974: struct { unsigned int table; unsigned int mnem_flag; unsigned int notes; unsigned int dest_flag; unsigned int src_flag; unsigned int aux_flag; unsigned int cpu; char mnemonic[0x10]; char mnemonic_att[0x10]; int dest; int src; int aux; unsigned int flags_effected; unsigned int implicit_ops; }[0x82]>
>>> current_data_var.type
<type: immutable:ArrayTypeClass 'struct { unsigned int table; unsigned int mnem_flag; unsigned int notes; unsigned int dest_flag; unsigned int src_flag; unsigned int aux_flag; unsigned int cpu; char mnemonic[0x10]; char mnemonic_att[0x10]; int dest; int src; int aux; unsigned int flags_effected; unsigned int implicit_ops; }[0x82]'>
>>> current_data_var.type.width
10400
>>> current_symbol
<DataSymbol: "_typeinfo_for_St12out_of_range" @ 0x56cdc0>
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.