fix typo in README.md

This commit is contained in:
2025-03-21 16:32:27 +01:00
parent cbeaac86ac
commit b54ee86c78

View File

@ -8,7 +8,7 @@ to compile the project, go at the root of the repository and do the command `mak
## usage ## usage
you can have two usage of the lib. you can either override the normal malloc function in a already compiled program or you can compile your program with the lib , giving you acess to other functions like `show_alloc_mem` or `show_alloc_mem_ex`. in the examples `<folder>` represent the folder containing the compilation results you can have two usage of the lib. you can either override the normal malloc function in a already compiled program or you can compile your program with the lib , giving you acess to other functions like `show_alloc_mem` or `show_alloc_mem_ex`. in the examples `<folder>` represent the folder containing the compilation results
to override the functions in an already compile program you need to do this command : to override the functions in an already compiled program you need to do this command. every command executed after this will use my malloc function:
``` ```
export LD_LIBRARY_PATH=. LD_PRELOAD=libft_malloc.so export LD_LIBRARY_PATH=. LD_PRELOAD=libft_malloc.so
``` ```