Vector35 / Vector35/binaryninja-api

Create TypeLibrary with ordinals for mfc* libraries

Open
#5,216 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: Type Libraries Effort: Low Impact: Medium
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?
Rename imported ordinal function to its original name which can be get from pdb.

Is your feature request related to a problem?
Use case: I am dealing with a crackme that uses MFC, and the import functions are all like Ordinal_mfc90u_286. I loaded the MFC DLL in binja and applied the PDB. Is there a simple way to rename all ordinal functions in crackme based on the information of the MFC dll that has loaded the PDB?

Are any alternative solutions acceptable?
No

Additional Information:
image
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 by investigating how Binary Ninja represents imported ordinal functions and how a TypeLibrary could associate MFC ordinals with symbols recovered from a PDB-loaded MFC DLL. Confirm the expected behavior using the crackme and MFC examples in the issue; done means ordinal imports are renamed to their original functions through the proposed TypeLibrary.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.