Fix libafl_qemu fuzzers not building in Docker (#1966)
* fixed rustup component added before switching to nightly. added missing libafl_qemu source files. * removed touch.
This commit is contained in:
parent
f448b6fb24
commit
4d3c6a3b9a
@ -16,8 +16,8 @@ RUN sh -c 'echo set encoding=utf-8 > /root/.vimrc' \
|
|||||||
mkdir ~/.cargo && \
|
mkdir ~/.cargo && \
|
||||||
echo "[build]\nrustc-wrapper = \"${RUSTC_WRAPPER}\"" >> ~/.cargo/config
|
echo "[build]\nrustc-wrapper = \"${RUSTC_WRAPPER}\"" >> ~/.cargo/config
|
||||||
|
|
||||||
RUN rustup component add rustfmt clippy
|
|
||||||
RUN rustup default nightly
|
RUN rustup default nightly
|
||||||
|
RUN rustup component add rustfmt clippy
|
||||||
|
|
||||||
# Install clang 18, common build tools
|
# Install clang 18, common build tools
|
||||||
ENV LLVM_VERSION=18
|
ENV LLVM_VERSION=18
|
||||||
@ -121,6 +121,8 @@ RUN touch libafl_qemu/libafl_qemu_build/src/lib.rs
|
|||||||
COPY libafl_qemu/libafl_qemu_build/src libafl_qemu/libafl_qemu_build/src
|
COPY libafl_qemu/libafl_qemu_build/src libafl_qemu/libafl_qemu_build/src
|
||||||
RUN touch libafl_qemu/libafl_qemu_sys/src/lib.rs
|
RUN touch libafl_qemu/libafl_qemu_sys/src/lib.rs
|
||||||
COPY libafl_qemu/libafl_qemu_sys/src libafl_qemu/libafl_qemu_sys/src
|
COPY libafl_qemu/libafl_qemu_sys/src libafl_qemu/libafl_qemu_sys/src
|
||||||
|
COPY libafl_qemu/runtime libafl_qemu/runtime
|
||||||
|
COPY libafl_qemu/libqasan libafl_qemu/libqasan
|
||||||
RUN touch libafl_qemu/src/lib.rs
|
RUN touch libafl_qemu/src/lib.rs
|
||||||
COPY libafl_qemu/src libafl_qemu/src
|
COPY libafl_qemu/src libafl_qemu/src
|
||||||
RUN touch libafl_frida/src/lib.rs
|
RUN touch libafl_frida/src/lib.rs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user