{Epitech} | Second year | x86-64 Assembly
The objective of this project is to create a dynamic ELF library to replace (to a certain extent) the standard C library you use every day on your system.
Thanks to the malloc project and the bootstrap, you are now able to replace some functions with your own implementations through a dynamic library (which is called weak binding).
Here are the functions to be implemented in your MiniLibC:
- strlen
- strchr
- memset
- memcpy
- strcmp
- memmove
- strncmp
- strcasecmp
- rindex
- strstr
- strpbrk
- strcspn
Refer to the respective man pages of the aforementioned functions for behavior specifications. You must stick to them.
See the subject for further details !
========================
Grade : A | Mark : 20
Category | Percentage | Tests | Crash ? |
---|---|---|---|
Preliminaries | 100% | 2/2 | x |
Base functions / strlen | 100% | 3/3 | x |
Base functions / strchr | 100% | 7/7 | x |
Base functions / memset | 100% | 1/1 | x |
Base functions / memcpy | 100% | 2/2 | x |
Base functions / strcmp | 100% | 9/9 | x |
Base functions / memmove | 100% | 4/4 | x |
Comparison functions / strncmp | 100% | 10/10 | x |
Comparison functions / strcasecmp | 100% | 16/16 | x |
Comparison functions / rindex | 100% | 11/11 | x |
Search functions / strstr | 100% | 10/10 | x |
Search functions / strpbrk | 100% | 8/8 | x |
Search functions / strcspn | 100% | 8/8 | x |
End score | 100% | 91/91 | NO |
Beware of -42 Epitech students !!!