Apply Type Libraries to Exports when no DebugInfo is available

Open
#5,478 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp

Research direction

Start by locating the BinaryView logic that analyzes exported functions and the existing TypeLibrary and DebugInfo handling. Confirm how exports such as kernelbase.dll:GetModuleHandle are processed without DebugInfo; done means the BinaryView consults the TypeLibrary and applies its type information to those exports.

Written by the indexing model from the issue text.

Description

Component: Type Libraries Effort: Trivial Impact: Medium

What is the feature you'd like to have?
Example: We have rich type information for exports from kernelbase.dll:GetModuleHandle in our TypeLibraries; however, when you open the kernelbase.dll binary without DebugInfo we do not consult the TypeLibrary and apply types to the exported functions but we should.

This should be done by the BinaryView itself.

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

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.

More from Vector35/binaryninja-api

All issues in Vector35/binaryninja-api

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.