libmemory icon indicating copy to clipboard operation
libmemory copied to clipboard

Embedded systems memory management library. Implementations for malloc(), free(), and other useful memory management functions

Results 8 libmemory issues
Sort by recently updated
recently updated
newest added

Suggested in #82: > The tests could be further enhanced by varying the sizes and also checking for non-overlapping blocks but I don't intend to do that. I agree.

From #82: > One way around the whole static problem would be to let the user provide the memory for the metadata themselves. That would also make it easier to...

With aligned_alloc() in the C11 standard, free() is called to free memory, rather than an equivalent `aligned_free()`. We should update our library with some logic that can be used to...

enhancement
good first issue

https://www.evernote.com/shard/s1/nl/19041/0b45da64-36ac-4bf3-b53b-52ac7fb545e9/

malloc - add tests that none of the returned blocks overlap. Non-overlap would mean that each returned address + size does not fall within the bounds of another returned address...

help wanted
Test

## Description The main allocator is modified to split blocks to align them, returning surplus to the free list. I am sharing this because I think this approach is a...

The library already supports multiple independent blocks of memory. In some systems it might be required to allocate certain buffers in specific locations. In my current use case I have...