Going deeper into the rabbit hole
Note
This is the first project of the second year at Epitech.
Build the libasm.so
shared library.
nix build
You'll need the following dependencies:
ld
gnumake
nasm
make
If using Nix, you can run the unit tests with the following command.
nix run .#unit_tests
Else:
Dependencies:
gcc
criterion
make unit_tests
./unit_tests
LD_PRELOAD=./libasm.so firefox
These function respect the x86_64 calling convention, and followed the man pages from kernel.org/doc/man-pages.
- strlen
- strchr
- strrchr
- memset
- memcpy
- strcmp
- memmove
- strncmp
- strcasecmp
- strstr
- strpbrk
- strcspn