留学生辅导 # Project 3: Memory Allocator

# Project 3: Memory Allocator

To compile and use the allocator:

Copyright By PowCoder代写 加微信 powcoder

LD_PRELOAD=$(pwd)/allocator.so ls /

(in this example, the command `ls /` is run with the custom memory allocator instead of the default).

## Testing

To execute the test cases, use `make test`. To pull in updated test cases, run `make testupdate`. You can also run a specific test case instead of all of them:

# Run all test cases:

# Run a specific test case:
make test run=4

# Run a few specific test cases (4, 8, and 12 in this case):
make test run=’4 8 12′

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com