{"id":20574665,"url":"https://github.com/llefranc/42_libasm","last_synced_at":"2026-06-10T09:31:46.865Z","repository":{"id":151135542,"uuid":"262260113","full_name":"llefranc/42_libasm","owner":"llefranc","description":"School project:  get familiar with assembly language  (with all the bonuses).","archived":false,"fork":false,"pushed_at":"2020-11-25T15:07:27.000Z","size":1346,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T10:54:29.534Z","etag":null,"topics":["42","42born2code","42paris","42school","assembly","assembly-language","libasm","stack"],"latest_commit_sha":null,"homepage":"","language":"Assembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/llefranc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-08T07:48:01.000Z","updated_at":"2023-03-28T08:17:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"9c813de4-6dd3-41f0-98b7-08dec5fe0208","html_url":"https://github.com/llefranc/42_libasm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/llefranc/42_libasm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llefranc%2F42_libasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llefranc%2F42_libasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llefranc%2F42_libasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llefranc%2F42_libasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/llefranc","download_url":"https://codeload.github.com/llefranc/42_libasm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llefranc%2F42_libasm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34146871,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["42","42born2code","42paris","42school","assembly","assembly-language","libasm","stack"],"created_at":"2024-11-16T05:36:29.302Z","updated_at":"2026-06-10T09:31:46.787Z","avatar_url":"https://github.com/llefranc.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libasm (@42Paris)\n\nAssembly yourself!\n\n![Alt text](https://github.com/lucaslefrancq/42_libasm/blob/master/libasm_example.png)\n\n## About\n\nLibasm is a project of the mandatory part of the cursus.\nIt's only made in assembly and the main goal was to understand how registers, stack, systems calls and memory work.\n \n- For this we had to code in assembly 10 different functions :\n    - Mandatory part was : strlen, strcpy, strcmp, write and read (using syscall)\n    - Bonus part was : atoi_base, and 4 functions for chainlists\n\n- Here is the [subject][1]\n\n`This project was code for MACOS`\n\n### Building and running the project\n\n1. Download/Clone this repo\n\n        git clone https://github.com/lucaslefrancq/42_libasm.git\n\n2. `cd` into the root directory, and run `make`\n\n        cd 42_libasm\n        make\n\n3.  compile your `main.c` or the `main.c` in this repo with `libasm.a` \n    \n## Sources\n\n- [Langage assembleur (FR)][2]\n- [Assembly language][4]\n- [Nasm tutorial][8]\n- [Using stack : push and pop][3]\n- [Flags register][5]\n- [Introduction aux buffer overflows (FR)][6]\n- [Introduction à la rétroingénierie des binaires (FR)][7]\n\n[1]: https://github.com/lucaslefrancq/42_libasm/blob/master/libasm.en.subject.pdf\n[2]: https://www.lacl.fr/tan/asm\n[3]: https://stackoverflow.com/questions/13091987/x64-nasm-pushing-memory-addresses-onto-the-stack-call-function\n[4]: https://software.intel.com/content/www/us/en/develop/articles/introduction-to-x64-assembly.html\n[5]: https://www.youtube.com/watch?v=oQKa5q-jVzY\u0026ab_channel=BeNew\n[6]: https://zestedesavoir.com/articles/100/introduction-aux-buffer-overflows/\n[7]: https://zestedesavoir.com/articles/97/introduction-a-la-retroingenierie-de-binaires/#fn-6-e1__RVmdu\n[8]: https://cs.lmu.edu/~ray/notes/nasmtutorial/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllefranc%2F42_libasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllefranc%2F42_libasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllefranc%2F42_libasm/lists"}