bmalloc: buddy heap memory allocator
- build test cases
$ make
gcc -o test1 test1.c bmalloc.c
gcc -o test2 test2.c bmalloc.c
gcc -o test3 test3.c bmalloc.c
- run desired test case
$ ./test1
$ ./test2
$ ./test3
- move to the testcases directory
$ cd testcases/
- build test cases
$ make
gcc -o test_freeall test_freeall.c ../bmalloc.c -I../
gcc -o test_struct test_struct.c ../bmalloc.c -I../ -fpack-struct
- run desired test case
$ ./test_freeall
$ ./test_struct