Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can’t run the Docker container #15

Open
maxiwee69 opened this issue Oct 28, 2023 · 0 comments
Open

Can’t run the Docker container #15

maxiwee69 opened this issue Oct 28, 2023 · 0 comments

Comments

@maxiwee69
Copy link

maxiwee69 commented Oct 28, 2023

When I try to run the container(using the command seen below) I get the following error


maxi@localhost:~/SockFuzzer$ sudo docker run -e FUZZING_LANGUAGE="C" builder

---------------------------------------------------------------
Compiling libFuzzer to /usr/lib/libFuzzingEngine.a...  done.
---------------------------------------------------------------
CC=clang
CXX=clang++
CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link
CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++
RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers
---------------------------------------------------------------
++ dirname /src/build.sh
+ LIBFUZZER_SRC_DIR=/src
+ CXX=clang++
+ for f in $LIBFUZZER_SRC_DIR/*.cpp
+ wait
+ clang++ -g -O2 -fno-omit-frame-pointer -std=c++11 '/src/*.cpp' -c
clang-15: error: no such file or directory: '/src/*.cpp'
clang-15: error: no input files
+ rm -f libFuzzer.a
+ ar ru libFuzzer.a 'Fuzzer*.o'
ar: `u' modifier ignored since `D' is the default (see `U')
ar: creating libFuzzer.a
ar: Fuzzer*.o: No such file or directory
maxi@localhost:~/SockFuzzer$

when I try to run it without this -e flag in the docker command I get

maxi@localhost:~/SockFuzzer$ sudo docker run builder
---------------------------------------------------------------
/usr/local/bin/compile: line 27: FUZZING_LANGUAGE: unbound variable
maxi@localhost:~/SockFuzzer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant