microsoft / microsoft/mimalloc
Why is `mimalloc-redirect` closed-source?
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 13.4k
- Forks
- 1.2k
- Avg merge
- 4d 45m
- Merged PRs (30d)
- 13
Description
While searching the definition of `MIMALLOC_DISABLE_REDIRECT`, I realized this part of the project isn't open-sourced and resides just in the form of a binary in `bin/` dir, why is that?
I reverse engineered the file and found out PDB path at `C:\Users\daan\dev\mimalloc-redirect\out\msvc-x64\Release\mimalloc-redirect.pdb` which points at @daanx being its author. Could you please possibly open source its code? The reason is that I want to analyze how it performs the hooks and which functions it exactly hooks (even though I can mostly see it form decompilation). And again the reason for that is that some binaries out there are compiled with static CRT, I want to find out if it's viable to reverse engineer them to find the same functions and hook them up manually to mimalloc...
Having that part closed-source also prevents users from doing any kind of customization there...
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the binary in bin/ and the MIMALLOC_DISABLE_REDIRECT definition to understand the component this request concerns. The issue asks for the mimalloc-redirect source so its hooks and customization can be reviewed; no implementation files or tests are identified, so completion criteria require maintainer clarification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100