diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..1c31383 --- /dev/null +++ b/.clang-format @@ -0,0 +1,3 @@ +BasedOnStyle: LLVM +IndentWidth: 4 +ColumnLimit: 200 \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index a429b45..9e59590 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,4 +3,6 @@ project(project C) set(CMAKE_C_STANDARD 17) -add_executable(project main.c) +set(CMAKE_C_FLAGS "-Wall -Werror -g") + +add_executable(vuln vuln.c) diff --git a/main.c b/vuln.c similarity index 100% rename from main.c rename to vuln.c