https://github.com/izenynn/libasm
The aim of this project is to get familiar with assembly language by reconding a few libc functions.
https://github.com/izenynn/libasm
42 42born2code asm asmx86 libasm macho macho64 macos macosx nasm osx
Last synced: about 1 month ago
JSON representation
The aim of this project is to get familiar with assembly language by reconding a few libc functions.
- Host: GitHub
- URL: https://github.com/izenynn/libasm
- Owner: izenynn
- Created: 2023-05-08T07:50:18.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-13T13:18:37.000Z (about 3 years ago)
- Last Synced: 2026-01-03T10:30:47.969Z (5 months ago)
- Topics: 42, 42born2code, asm, asmx86, libasm, macho, macho64, macos, macosx, nasm, osx
- Language: C
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# libasm
## Info
The aim of this project is to get familiar with assembly language by reconding a few libc functions for MACOS x86_64 assembly.
- Status: finished
- Result: 100%
- Observations: for macho64 nasm
*developed by: [izenynn](https://github.com/izenynn)*
## List of functions
| | |
| ----------- | ------------ |
| `ft_strlen` | man 3 strlen |
| `ft_strcpy` | man 3 strcpy |
| `ft_strcmp` | man 3 strcmp |
| `ft_write` | man 2 write |
| `ft_read` | man 2 read |
| `ft_strdup` | man 3 strdup |
## Usage
Compile the package:
```bash
make
```
To test the results, issue:
```bash
make check
```
To use it just copy and compile with the `libasm.a`, e.g.:
```
gcc main.c -lasm -L.
```
##
[](https://forthebadge.com)
[](https://forthebadge.com)