MCPcopy Create free account
hub / github.com/Exely/CSAPP-Labs / add_range

Function add_range

labs/malloclab/mdriver.c:381–429  ·  view source on GitHub ↗

* add_range - As directed by request opnum in trace tracenum, * we've just called the student's mm_malloc to allocate a block of * size bytes at addr lo. After checking the block for correctness, * we create a range struct for this block and add it to the range list. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

eval_mm_validFunction · 0.85

Calls 4

malloc_errorFunction · 0.85
mem_heap_loFunction · 0.85
mem_heap_hiFunction · 0.85
unix_errorFunction · 0.70

Tested by

no test coverage detected