Alok Menghrajani

Currently: security consulting and lecturer.

Previously: security engineering at Square Block. Co-author of Hack (the programming language) and put the 's' in https at Facebook Meta. Maker of various CTF puzzles.


This blog does not use any tracking cookies and does not serve any ads. Enjoy your anonymity; I have no idea who you are, where you came from, and where you are headed to. Keep the dream of an Internet from times past alive.


Home | Contact me | Github | RSS feed | Consulting services | Tools & games

As part of 15213 (introduction to computer systems), I implemented malloc (a memory allocator).

We were free to design the routines as we wish. I used an implicit free list and a combination of first fit and best fit to place the blocks.

source code + readme + malloclab.pdf