microsoft / microsoft/mimalloc

feature request: support tool to instrument existing windows 10 .exe's to use mimalloc

Open
#82 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
13.4k
Forks
1.2k
Avg merge
4d 45m
Merged PRs (30d)
13

Description

For certain desireable .exe's we don't have the sources.
That means we can't use the windows import libraries to link mimalloc.lib into the target .exe on windows 10.

feature request:
https://github.com/stevemk14ebr/PolyHook
https://easyhook.github.io/
are tools that patch at runtime to hook up the existing dll calls within a running binary, but that's not something I would prefer to do.
In linux land we have patchelf/prelink which can change the search path and the dll's the linux binary is attempting to use AFTER BUILD TIME. It's an patch/instrumentation tool. I was looking for a similar tool for windows 10 binaries. Is there such a beast? If not could the Microsoft team develop/provide one? Thank you for listening.

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

The issue names no repository files, tests, or entry points. Start by reviewing the requested post-build Windows instrumentation use case and the referenced PolyHook, EasyHook, patchelf, and prelink tools; done would require a defined, supported approach or tool for changing DLL dependencies in existing Windows 10 executables.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.