Vector35 / Vector35/binaryninja-api

Missing COMDAT section selection type

Open
#7,092 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Effort: Trivial File Format: COFF Impact: Low
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

Version and Platform (required):

  • Binary Ninja Version: 5.1.7557-dev Personal, 4f670ba7
  • OS: windows
  • OS Version: 10
  • CPU Architecture: x86_64

Bug Description:

COMDAT auxiliary section structure COFF_AuxSectionDefinition has an untyped selection field. This prevents me from listing in an .obj file which sections are IMAGE_COMDAT_SELECT_NODUPLICATES.

Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

  1. Open an .obj file.
  2. Click on "Types"
  3. Scroll down to COFF_AuxSectionDefinition
  4. Select any of the instances' selection field.

Expected Behavior:

The selection field should be enum typed.

Screenshots/Video Recording:

Image

should look like

Image

Binary:

gststreamgrouper.gststreamgrouper.a061885ada39277f-cgu.0.rcgu.zip

Additional Information:
Please add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the COFF_AuxSectionDefinition type and its selection field in the Binary Ninja API definitions. Confirm the field's current display in the Types view using an .obj file, then verify that it is presented as an enum with the relevant COMDAT selection value.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
reverse-engineering
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.