Question: ( 1 ) The malloc function in libc uses two function calls: munmap and brk . [ Select ] [ True , False
The malloc function in libc uses two function calls: munmap and brk
Select True "False"
If chunk size permitting, malloc function will allocate memory chunk first from TCache, then small bins, then large bins, then fast bins.
Select True "False"
The malloc function uses system calls to request filemapping memory.
Select False "True"
The malloc function uses system calls to request memory backed by some files.
Select True "False"
The deferred frees will be resolved in later free function calls.
Select False "True"
The doublelinked fast bin free chunks can leak libc base address.
Select False "True"
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
