-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #248 from slimm609/update_fortify_partial
fix: fix partial check for fortify
- Loading branch information
Showing
12 changed files
with
62 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,9 @@ | ||
FROM ubuntu:22.04 | ||
|
||
# Install dependencies | ||
RUN apt-get update && apt-get -y -q upgrade && DEBIAN_FRONTEND=noninteractive apt-get -y -q install \ | ||
bc bison flex build-essential git file \ | ||
libncurses-dev libssl-dev u-boot-tools wget \ | ||
xz-utils vim libxml2-utils python3 python3-pip jq \ | ||
gcc clang gcc-multilib nasm binutils && apt-get clean \ | ||
pip3 install --upgrade pip && pip3 install setuptools && \ | ||
pip3 install demjson3 && mkdir -p /zig && \ | ||
wget https://ziglang.org/builds/zig-linux-$(uname -m)-0.12.0-dev.3667+77abd3a96.tar.xz && \ | ||
tar xf zig-linux-$(uname -m)-0.12.0-dev.3667+77abd3a96.tar.xz -C /zig --strip-components=1 && \ | ||
rm -rf zig-linux-$(uname -m)-0.12.0-dev.3667+77abd3a96.tar.xz | ||
# install the build script and run it. | ||
# this is to give more flexiblity to the build process | ||
COPY tests/docker-build.sh /tmp | ||
RUN /tmp/docker-build.sh | ||
|
||
COPY . /root | ||
WORKDIR /root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/env bash | ||
# build the container with a shell script so that it is bash | ||
# Dockerfile syntax is sh not bash so installing gcc-multilib in an | ||
# if condition becomes more difficult. | ||
|
||
set -eou pipefail | ||
|
||
apt-get update | ||
apt-get -y -q upgrade | ||
|
||
DEBIAN_FRONTEND=noninteractive apt-get -y -q install \ | ||
bc bison flex build-essential git file \ | ||
libncurses-dev libssl-dev u-boot-tools wget \ | ||
xz-utils vim libxml2-utils python3 python3-pip jq \ | ||
gcc clang nasm binutils | ||
|
||
if [[ "$(uname -m)" == "x86_64" ]]; then | ||
apt-get -y -q install gcc-multilib | ||
fi | ||
|
||
apt-get clean | ||
|
||
pip3 install --upgrade pip | ||
pip3 install setuptools demjson3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters