Computer Science, asked by atktsub, 1 month ago

how to write user-defined malloc function?


Answers

Answered by ᏚɑvɑgeᏀurL
6

•★Answer★•

Function interposition is the concept of replacing calls to functions in dynamic libraries with calls to user-defined wrappers.

How to do function interposition?

The task is to write our own malloc() and make sure our own malloc() is called inplace of library malloc(). Below is a driver program to test different types of interpositions of malloc().

Answered by helo490
0

Function interposition is the concept of replacing calls to functions in dynamic libraries with calls to user-defined wrappers.

How to do function interposition?

The task is to write our own malloc() and make sure our own malloc() is called inplace of library malloc(). Below is a driver program to test different types of interpositions of malloc().

Similar questions