microsoft / mimalloc

mimalloc is a compact general purpose allocator with excellent performance.
MIT License
9.74k stars 793 forks source link

Why is `mimalloc-redirect` closed-source? #836

Open p0358 opened 6 months ago

p0358 commented 6 months ago

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...

8ightfold commented 5 months ago

Seconded, I'm tired of microsoft's closed source nonsense