Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
neoski authored Apr 9, 2018
1 parent 5354819 commit abe4eab
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# libc-assembly
16 libc (C standard library) functions recoded in assembly (bzero, memcpy, memmove, memset,
rindex, strcasecmp, strchr, strcmp, strcpy, strcspn, strlen, strncmp, strnlen,
strpbrk, strrchr, strstr);

**Requirements :**

gcc
nasm

**Usage :**

1. git clone https://github.com/neoski/libc-assembly.git

2. cd libc-assembly && make

3. You can use the `libasm.so`

A script is provided (`test.sh`) which compile C files testing the functions
in a hidden directory (`.test_files`) and make a `diff` of the standard output
and the one generated when the lib is loaded.

To run it : `./test.sh`

*Note : The current Makefile is correctly setted for MAC OS X.
For Linux, change `CFLAGS = -f macho64` to `CFLAGS = -f elf64`.

**Authors :** Sebastien S. and Benoit Sida

**Github repository :** https://github.com/neoski/libc-assembly

**Made in april 2016.**

0 comments on commit abe4eab

Please sign in to comment.