Commit graph

51 commits

Author SHA1 Message Date
Raphael
b5172551b8 refactor(strdup): only one exit can change to .exit
.restore_exit => .exit
2026-01-17 18:23:33 +01:00
Raphael
93a750ca6a
test(strdup): adding test on strdup function 2026-01-13 14:03:15 +01:00
Raphael
d287180a85
build(make): adding the strdup to the makefile 2026-01-13 14:02:48 +01:00
Raphael
ac1ce88633
feat(strdup): adding the function in asm 2026-01-13 14:00:21 +01:00
Raphael
cb24a4301e
docs(strcpy): fix the documentation for check NULL for rsi 2025-12-29 17:03:30 +01:00
Raphael
e84d0ea774
feat(read): adding the return value on -1 if the buf is NULL 2025-12-29 16:58:18 +01:00
Raphael
13be686bcd
refactor(write): adding a whitespace between segment and extern 2025-12-28 19:49:42 +01:00
Raphael
0bfedb14e0
refactor(read): adding a whitespace between segment and extern 2025-12-28 19:49:35 +01:00
Raphael
b2c1ad07c9
test(read): increase the buffer size 2025-12-13 13:42:55 +01:00
Raphael
c7f7e10e74
feat(strcpy): adding my own strcpy version 2025-12-13 13:36:08 +01:00
Raphael
4a20982777
build(make): adding the debug flag -g 2025-12-13 13:35:45 +01:00
Raphael
091dd32dc0
test: adding the strcpy tests 2025-12-13 13:35:18 +01:00
Raphael
b4196550be
refactor(test): modifying test to be easier to read 2025-12-13 13:35:04 +01:00
Raphael
6faf9d51a4
build(make): adding the strcpy assembly src to the makefile 2025-12-13 13:34:09 +01:00
Raphael
7721a4d0c1
test: adding more string test 2025-12-13 13:33:21 +01:00
Raphael
bcf210958a
style(includes): moving the typedef in header 2025-12-13 13:32:55 +01:00
Raphael
4e21f64583
feat(includes): using the internal test header 2025-12-13 13:31:46 +01:00
Raphael
729f11d8d6
test: created a header only for test propose 2025-12-13 13:31:19 +01:00
Raphael
94f583ebe7
style(make): not compiling but assembling is more correct
- Yes, missing an actually emoji (go add it to unicode)
2025-12-12 00:11:55 +01:00
Raphael
4bb1258298
feat(write): adding '.exit' function
- Coherence with read (other syscall mandatory)
2025-12-12 00:11:01 +01:00
Raphael
cbf69b7fe5
docs(read): adding the documentation to the return 2025-12-12 00:10:14 +01:00
Raphael
e499bda7a1
build: adding the CFLAGS to compile on my server
- The -Wno-unused-result is not mandatory at 42 and is too long to catch
each time
2025-12-11 23:29:34 +01:00
Raphael
a03b1bec56
test(read): adding the read function to test 2025-12-11 23:28:19 +01:00
Raphael
d93443fb91
fix(read): fixing the infinite loop on the read function
- The original will infinite loop
2025-12-11 23:27:56 +01:00
Raphael
d55c035b97
feat(read): adding the read function in asm 2025-12-11 23:11:56 +01:00
Raphael
e40d4748cd
feat(write): adding the write function in asm 2025-12-11 23:11:49 +01:00
Raphael
d982ec067e
feat(includes): adding the prototype of read / write 2025-12-11 23:11:33 +01:00
Raphael
90b1ca1289
test(write): adding write test 2025-12-11 23:11:13 +01:00
Raphael
923dc8a6ca
build: adding the new functions (read / write) to the makefile 2025-12-11 23:10:53 +01:00
Raphael
e2672eeecd
build: adding the no-pie flag for errno_location 2025-12-11 23:10:22 +01:00
Raphael
9641024e7e
build(flake): renaming the session variable
- Was basing my flake on my transcendance's
2025-12-11 23:09:33 +01:00
Raphael
88af64a057
feat(strcmp): adding the function strcmp function
This function is already commented
2025-12-09 12:43:29 +01:00
Raphael
f667e27396
build(test): now the test is using LDFlags 2025-12-09 12:35:07 +01:00
Raphael
42ec5e62e9
docs(strlen): adding the strlen documentation
- This comment is here to explain each etape. The main goal of this is
for all people never made assembly can understand
2025-12-09 12:34:32 +01:00
Raphael
d52f9299cd
fix(makefile): using hte test_compile rules in the test one 2025-12-08 15:13:37 +01:00
Raphael
ac339ec277
feat(strlen): improve memory management
- Now using the xor to initialise the return value (faster / memory
better)
2025-12-08 15:13:11 +01:00
Raphael
99bf4bb2d5
feat(includes): adding the libasm header 2025-12-08 15:11:57 +01:00
Raphael
3be9dce9d6
test: adding the selection test w/ main's arg 2025-12-08 15:11:33 +01:00
Raphael
a605101d97
build(make): adding the makefile of the project 2025-12-06 19:58:47 +01:00
Raphael
6ed34984e0
feat(test/strlen): adding strlen tests 2025-12-06 19:56:46 +01:00
Raphael
e5e343ff58
feat(src/strlen): adding the ft_strlen function
- The strlen function now working
2025-12-06 19:55:18 +01:00
Raphael
c62f86e057
build(asm-lsp): adding configuration of asm-lsp 2025-12-06 19:54:45 +01:00
Raphael
6559f4b9b0
build(nix/flake): adding the asm_lsp_config config var 2025-12-06 19:54:21 +01:00
Raphael
d7b40045d1
core(git/ignore): adding object / depedency to ignore 2025-12-06 19:53:23 +01:00
Raphael
82875a9cde
build(make): init the make
This make is thinking to work w/ assembly
2025-11-30 20:16:56 +01:00
Raphael
c1a0c275ed
core(git/ignore): adding the compilated file on ignore 2025-11-30 20:16:28 +01:00
Raphael
0ccd23f5f6
build(flake/nix): adding the default compilation env var 2025-11-30 20:15:53 +01:00
Raphael
71d2e211ce
core(git/ignore): adding the compilated file on ignore 2025-11-30 20:15:26 +01:00
Raphael
e96363e623
build(nix/flake): adding the tmux-setup script
Script to setup tmux automaticly
2025-11-29 14:58:01 +01:00
Raphael
7ad6ac2854
core(git/ignore): adding nix stuff to be ignore 2025-11-29 14:56:37 +01:00