-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is an initial work on stump that I have. Currently need tests to be complete.
- Loading branch information
1 parent
ae1a226
commit 71bf50c
Showing
37 changed files
with
4,509 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# CMake minimum required version | ||
cmake_minimum_required(VERSION 3.10) | ||
|
||
# Project name and type | ||
project(stump C) | ||
|
||
# Specify the C standard | ||
set(CMAKE_C_STANDARD 99) | ||
|
||
# Include header files directory | ||
include_directories(include) | ||
|
||
# Find OpenSSL | ||
find_package(OpenSSL REQUIRED) | ||
|
||
# Include directories for OpenSSL | ||
include_directories(${OPENSSL_INCLUDE_DIR}) | ||
|
||
# Add the executable by specifying source files | ||
add_executable(stump src/main.c src/util.c src/stump.c) | ||
|
||
# Link OpenSSL libraries | ||
target_link_libraries(stump ${OPENSSL_LIBRARIES}) |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
set(CMAKE_C_COMPILER "/nix/store/1rxqqb3m7k2c36kvsm0alqljbb01x138-clang-wrapper-18.1.8/bin/clang") | ||
set(CMAKE_C_COMPILER_ARG1 "") | ||
set(CMAKE_C_COMPILER_ID "Clang") | ||
set(CMAKE_C_COMPILER_VERSION "18.1.8") | ||
set(CMAKE_C_COMPILER_VERSION_INTERNAL "") | ||
set(CMAKE_C_COMPILER_WRAPPER "") | ||
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "17") | ||
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON") | ||
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17;c_std_23") | ||
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") | ||
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") | ||
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") | ||
set(CMAKE_C17_COMPILE_FEATURES "c_std_17") | ||
set(CMAKE_C23_COMPILE_FEATURES "c_std_23") | ||
|
||
set(CMAKE_C_PLATFORM_ID "Linux") | ||
set(CMAKE_C_SIMULATE_ID "") | ||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU") | ||
set(CMAKE_C_SIMULATE_VERSION "") | ||
|
||
|
||
|
||
|
||
set(CMAKE_AR "/nix/store/8j53lfmpxm0yz2n0vvh7qw53gvkgq647-llvm-binutils-18.1.8/bin/llvm-ar") | ||
set(CMAKE_C_COMPILER_AR "/nix/store/8j53lfmpxm0yz2n0vvh7qw53gvkgq647-llvm-binutils-18.1.8/bin/llvm-ar") | ||
set(CMAKE_RANLIB "/nix/store/8j53lfmpxm0yz2n0vvh7qw53gvkgq647-llvm-binutils-18.1.8/bin/llvm-ranlib") | ||
set(CMAKE_C_COMPILER_RANLIB "/nix/store/8j53lfmpxm0yz2n0vvh7qw53gvkgq647-llvm-binutils-18.1.8/bin/llvm-ranlib") | ||
set(CMAKE_LINKER "/nix/store/zhgfb3lzhnm9xnwa8wj6kxvkwmii5c80-llvm-binutils-wrapper-18.1.8/bin/ld.lld") | ||
set(CMAKE_LINKER_LINK "") | ||
set(CMAKE_LINKER_LLD "") | ||
set(CMAKE_C_COMPILER_LINKER "/nix/store/1rxqqb3m7k2c36kvsm0alqljbb01x138-clang-wrapper-18.1.8/bin/ld") | ||
set(CMAKE_C_COMPILER_LINKER_ID "GNU") | ||
set(CMAKE_C_COMPILER_LINKER_VERSION 2.42) | ||
set(CMAKE_C_COMPILER_LINKER_FRONTEND_VARIANT GNU) | ||
set(CMAKE_MT "") | ||
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND") | ||
set(CMAKE_COMPILER_IS_GNUCC ) | ||
set(CMAKE_C_COMPILER_LOADED 1) | ||
set(CMAKE_C_COMPILER_WORKS TRUE) | ||
set(CMAKE_C_ABI_COMPILED TRUE) | ||
|
||
set(CMAKE_C_COMPILER_ENV_VAR "CC") | ||
|
||
set(CMAKE_C_COMPILER_ID_RUN 1) | ||
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) | ||
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) | ||
set(CMAKE_C_LINKER_PREFERENCE 10) | ||
set(CMAKE_C_LINKER_DEPFILE_SUPPORTED FALSE) | ||
|
||
# Save compiler ABI information. | ||
set(CMAKE_C_SIZEOF_DATA_PTR "8") | ||
set(CMAKE_C_COMPILER_ABI "ELF") | ||
set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN") | ||
set(CMAKE_C_LIBRARY_ARCHITECTURE "") | ||
|
||
if(CMAKE_C_SIZEOF_DATA_PTR) | ||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") | ||
endif() | ||
|
||
if(CMAKE_C_COMPILER_ABI) | ||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") | ||
endif() | ||
|
||
if(CMAKE_C_LIBRARY_ARCHITECTURE) | ||
set(CMAKE_LIBRARY_ARCHITECTURE "") | ||
endif() | ||
|
||
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") | ||
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) | ||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") | ||
endif() | ||
|
||
|
||
|
||
|
||
|
||
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/nix/store/kpicyzzxir2hr4j4ng94wywlsraz4k8p-gettext-0.21.1/include;/nix/store/c75iq6lb8md6bid29ziw6kmp2zhh1h2q-libtool-2.4.7/include;/nix/store/93wzfc84ajpl97sc3jcsvbdsp2khmmqz-file-5.45-dev/include;/nix/store/0vyvc31cn866g0c1kszfj3by81zgy145-util-linux-2.39.4-dev/include;/nix/store/4vkj3qipw2rkfrjj3s79w2w8jraf1lyp-compiler-rt-libc-18.1.8-dev/include;/nix/store/add5iqcvrriiyj8zxb1ckbq9g40ygwik-boost-1.81.0-dev/include;/nix/store/c8j6z63459gy7s7fjjvdj918hw0nki39-zlib-1.3.1-dev/include;/nix/store/2h32haq88ixwgxsbwdc6i9mfdi992l49-zeromq-4.3.5/include;/nix/store/vmzxminj8mwfw81whay2524c4b6w321q-miniupnpc-2.2.8/include;/nix/store/5bs41q4wlqcndix5xrash6dfq7hw0p44-libevent-2.1.12-dev/include;/nix/store/9xlfkwlg6qas2rkg8qgl6f9ja2qdzgih-sqlite-3.45.3-dev/include;/nix/store/bdljw8m0mm51m8080r17mygdqjvz1kyv-graphviz-10.0.1/include;/nix/store/y2spclzmhl6vxbqgd5yngm05sqvkx9cz-python3-3.9.19/include;/nix/store/1rxqqb3m7k2c36kvsm0alqljbb01x138-clang-wrapper-18.1.8/resource-root/include;/nix/store/09lv9r3dx6ql0lzpdv8w2b1r6b358481-glibc-2.39-52-dev/include") | ||
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s") | ||
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/nix/store/kpicyzzxir2hr4j4ng94wywlsraz4k8p-gettext-0.21.1/lib;/nix/store/a028gdw9jrsv5x1f89f7awcbkf7sy5xg-file-5.45/lib;/nix/store/a5vb0x149jyc0ilw06k41vw16307aq0l-libtool-2.4.7-lib/lib;/nix/store/c71n42xxadnvl0fh0xjjpgqjiiflnmg1-util-linux-2.39.4-lib/lib;/nix/store/r7jmjyy5wxw1p1npcpwab7496sqagrh4-boost-1.81.0/lib;/nix/store/rc18a8k50zmrif61250sfidkqvlg41ln-zlib-1.3.1/lib;/nix/store/2h32haq88ixwgxsbwdc6i9mfdi992l49-zeromq-4.3.5/lib;/nix/store/vmzxminj8mwfw81whay2524c4b6w321q-miniupnpc-2.2.8/lib;/nix/store/6gyjgi8v940i4wnc5pfn03ygz7axcm3y-libevent-2.1.12/lib;/nix/store/4915lpy4nc1n4s9myxfcar4mi9v5mn3b-libevent-2.1.12-openssl/lib;/nix/store/73s9ldg013iipng6pkq3ly4s5b1ys3g8-sqlite-3.45.3/lib;/nix/store/bdljw8m0mm51m8080r17mygdqjvz1kyv-graphviz-10.0.1/lib;/nix/store/y2spclzmhl6vxbqgd5yngm05sqvkx9cz-python3-3.9.19/lib;/nix/store/m71p7f0nymb19yn1dascklyya2i96jfw-glibc-2.39-52/lib;/nix/store/3s3rjkl3mx05wp0lmxgwkaqhbz9sy6kk-gcc-13.3.0/lib/gcc/x86_64-unknown-linux-gnu/13.3.0;/nix/store/c6r62m84hywf4i6qq1h28f13zv38yqyp-gcc-13.3.0-lib/lib;/nix/store/3s3rjkl3mx05wp0lmxgwkaqhbz9sy6kk-gcc-13.3.0/lib;/nix/store/7gzzk927as120sja4mwqcn28jv08q6s6-gcc-13.3.0-libgcc/lib;/nix/store/wsqahmc3a5a2pwmc40r6mmwq8xw59s3q-clang-18.1.8-lib/lib;/nix/store/3s3rjkl3mx05wp0lmxgwkaqhbz9sy6kk-gcc-13.3.0/lib64/gcc/x86_64-unknown-linux-gnu/13.3.0;/nix/store/3s3rjkl3mx05wp0lmxgwkaqhbz9sy6kk-gcc-13.3.0/lib64;/lib64;/lib") | ||
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
set(CMAKE_HOST_SYSTEM "Linux-6.9.7") | ||
set(CMAKE_HOST_SYSTEM_NAME "Linux") | ||
set(CMAKE_HOST_SYSTEM_VERSION "6.9.7") | ||
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") | ||
|
||
|
||
|
||
set(CMAKE_SYSTEM "Linux-6.9.7") | ||
set(CMAKE_SYSTEM_NAME "Linux") | ||
set(CMAKE_SYSTEM_VERSION "6.9.7") | ||
set(CMAKE_SYSTEM_PROCESSOR "x86_64") | ||
|
||
set(CMAKE_CROSSCOMPILING "FALSE") | ||
|
||
set(CMAKE_SYSTEM_LOADED 1) |
Oops, something went wrong.