$ clang++ main.cpp -std=c++17 -Wall -Wextra -stdlib=libc++
$ valgrind ./a.out
==24271== Memcheck, a memory error detector
==24271== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==24271== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==24271== Command: ./a.out
==24271==
3: 0x4227018
4: 0x4227048
1: 0x4227018
5: 0x4227080
2: 0x4227018
==24271==
==24271== HEAP SUMMARY:
==24271== in use at exit: 0 bytes in 0 blocks
==24271== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==24271==
==24271== All heap blocks were freed -- no leaks are possible
==24271==
==24271== For counts of detected and suppressed errors, rerun with: -v
==24271== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-
Notifications
You must be signed in to change notification settings - Fork 0
An implementation of naive and bare bones malloc
License
agauniyal/naive_malloc
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
An implementation of naive and bare bones malloc
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published