Add .clang-format and rename to vuln.c

This commit is contained in:
Johannes Maier
2024-01-05 17:39:30 +01:00
parent 1ef96d8206
commit 8176a353c1
3 changed files with 6 additions and 1 deletions

3
.clang-format Normal file
View File

@@ -0,0 +1,3 @@
BasedOnStyle: LLVM
IndentWidth: 4
ColumnLimit: 200

View File

@@ -3,4 +3,6 @@ project(project C)
set(CMAKE_C_STANDARD 17) set(CMAKE_C_STANDARD 17)
add_executable(project main.c) set(CMAKE_C_FLAGS "-Wall -Werror -g")
add_executable(vuln vuln.c)

View File