Skip to content
Snippets Groups Projects
Commit f8f63d21 authored by Jacek Galowicz's avatar Jacek Galowicz
Browse files

Merge branch 'master' into 'master'

different folders for src test and binary files

See merge request jg943598/rpn_calculator!10
parents 98328cbb ce176184
No related branches found
No related tags found
No related merge requests found
out/
test/out/
fuzz_main
main
result
......@@ -3,12 +3,17 @@ CXXFLAGS=-std=c++17
default: main
fuzz_main: main.cpp
afl-g++ $(CXXFLAGS) -o fuzz_main main.cpp
main: src/main.cpp
mkdir -p bin
$(CXX) $(CXXFLAGS) -o bin/main src/main.cpp
fuzz_main: src/main.cpp
mkdir -p bin
afl-g++ $(CXXFLAGS) -o bin/fuzz_main src/main.cpp
fuzz: fuzz_main
rm -rf out
afl-fuzz -i in -o out -- ./fuzz_main
rm -rf test/out
afl-fuzz -i test/in -o test/out -- ./bin/fuzz_main
clean:
rm -rf main fuzz_main out
rm -rf bin test/out
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment