Skip to content
weanty0Public

About

A libc replacement in llvm ir.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

53 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libelx

A libc replacement in llvm ir.

Note: This lib is still early in development, so it may be buggy and it is incomplete. Feel free to open issues as soon as you spot a bug, and as soon as I see the issue I will look into it. This lib is implemented with x86_64 asm.

Building

Compiling nob

This project uses nob as it's build system. Meaning you must have a c compiler installed.

cc -o nob nob.c
./nob
Arguments
./nob       #behaves as ./nob all
./nob all   #builds obj files inside of build/, and also the libelx.a
./nob clean #cleans up build and libelx

Using libelx in C

You only have to import the .h file

#include "libelx.h"

Compilation

gcc -ffreestanding -nostdlib -static -no-pie -fno-stack-protector -e _start main.c libelx.a -o main

Function call table

Read the docs/func.md.

About

A libc replacement in llvm ir.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages