https://github.com/tsoding/memalloc
Artifacts of that Memory Management Tsoding Session
https://github.com/tsoding/memalloc
Last synced: 6 months ago
JSON representation
Artifacts of that Memory Management Tsoding Session
- Host: GitHub
- URL: https://github.com/tsoding/memalloc
- Owner: tsoding
- License: mit
- Created: 2021-06-11T14:53:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-06T05:40:01.000Z (over 1 year ago)
- Last Synced: 2025-04-29T12:55:53.766Z (8 months ago)
- Language: C
- Size: 995 KB
- Stars: 161
- Watchers: 3
- Forks: 11
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Artifacts of those Memory Management Tsoding Sessions
[](https://www.youtube.com/watch?v=sZ8GJ1TiMdk) [](https://www.youtube.com/watch?v=2JgEKEd3tw8)
## Quick Start
```console
$ make
$ ./heap
```
## Limitations
- The pointers to the heap can only be located in the heap and the stack.
- No packed structs. All of the pointers should be aligned.
- No tricks that obscure the pointers (like XOR Linked Lists).
- Probably works only on x86_64
- Probably works only when compiled with GCC