Vector35 / Vector35/binaryninja-api

Support structures and named types in method type strings

Open
#5,585 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

Objective-C method type strings can contain named types using the quote syntax, as well as structure types using curly brace syntax; see attached image. These are currently skipped over entirely in the type parser, but shouldn't be.

image

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 in Core/TypeParser.cpp, especially the parser code at lines 59-88, and review the linked image for examples of Objective-C method type strings. Trace how the parser currently skips quoted named types and curly-braced structures, then add handling so both forms are represented instead of ignored; done means those types are parsed correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, objective-c
Domain
reverse-engineering
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.