-
-
Notifications
You must be signed in to change notification settings - Fork 969
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace BigBuf with a small & efficient allocator #898
Labels
Comments
Sounds awesome! |
I started adding umm code here : https://github.com/RfidResearchGroup/proxmark3/tree/umm_wip |
oops, @slurdge had already his own test branch, see also https://github.com/slurdge/proxmark3/tree/umm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It shouldn't be hard to replace BigBuf with an embeded allocator:
https://github.com/dimonomid/umm_malloc
The only missing bit is requesting the biggest chunk of free memory, which is easy to implement (for traces etc.)
We can then gradually remove static memory taken & put it back to this allocator, taking care of not creating memory leaks.
End result: more memory & easier tracking (basically removing each little function taking a bunch of .data for itself...)
The text was updated successfully, but these errors were encountered: