https://github.com/pyzh/barelibc
https://github.com/pyzh/barelibc
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/pyzh/barelibc
- Owner: pyzh
- License: other
- Created: 2019-01-07T12:14:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2016-01-20T11:30:17.000Z (over 10 years ago)
- Last Synced: 2025-01-22T01:41:24.581Z (over 1 year ago)
- Language: C
- Size: 282 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
========
barelibc
========
Mostly a stripped down version of musl libc 1.1.11 for x86-64 linux
only, will enter seccomp strict mode as soon as program started.
compile C program
gcc -static -Bpath/to/barelibc/lib -o evil evil.c
compile C++ program
gcc -static -fno-rtti -fno-exceptions -Bpath/to/barelibc/lib -include path/to/barelibc/prologue.hpp -o evil evil.cpp