Vector35 / Vector35/binaryninja-api

Need a way to differentiate between base and derived class members in decompiler output

Open
#4,972 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

What is the feature you'd like to have?
In the example below, the Dog class inherits from both Animal and Pet, both of which have a private name_ and age_ member. However, this information is not clearly seen in the decompiler output. It feels like I've duplicated a member in my class. Therefore, we need a way to differentiate between base and derived members, which I believe can be solved using a method similar to the suggestion in https://github.com/Vector35/binaryninja-api/issues/4966#issuecomment-1911896785.

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 with the Dog/Animal/Pet example in the issue and read the linked Binary Ninja API issue comment. Done means decompiler output clearly distinguishes members inherited from each base class from members declared by Dog.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
reverse-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.