https://github.com/theobori/libasm
🪄 x86 assembly library
https://github.com/theobori/libasm
assembly c libc library
Last synced: 2 months ago
JSON representation
🪄 x86 assembly library
- Host: GitHub
- URL: https://github.com/theobori/libasm
- Owner: theobori
- Created: 2022-03-21T17:44:28.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-13T14:01:36.000Z (almost 4 years ago)
- Last Synced: 2025-02-28T10:37:54.182Z (over 1 year ago)
- Topics: assembly, c, libc, library
- Language: C
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 👨💻 libasm
## Setup
1. Install the dependencies
- Run the bash script `install.sh` (Can request sudo)
2. Compile using `make` to get a shared object containing every functions
## Unitary tests
Run `make tests_run`
## Implemented functions
```c
void memset(void *, int, size_t);
int ffs(int);
int strcmp(const char *, const char *);
char *index(char *, int);
void *memcpy(void *, void *, size_t);
void *memfrob(void *s, size_t n);
void *memmove(void *, const void *, size_t);
char *rindex(char *, int);
int strcasecmp(const char *s1, const char *s2);
char *strchr(char *, int);
size_t strcspn(const char *, const char *);
char *strfry(char *);
size_t strlen(char*);
int strncmp(const char *, const char *, size_t);
const char *strpbrk(const char *, const char *);
char *strrchr(char *, int);
char *strstr(const char *, const char *);
```