Name Last update
..
Dockerfile
Readme.md
SConstruct
arrays.c
c_constructs.c
check_path.c
cwe_119.c
cwe_134.c
cwe_190.c
cwe_243.c
cwe_243_clean.c
cwe_332.c
cwe_367.c
cwe_415.c
cwe_416.c
cwe_426.c
cwe_457.c
cwe_467.c
cwe_476.c
cwe_478.c
cwe_560.c
cwe_676.c
cwe_78.c
cwe_782.c
install_cross_compilers.sh
memory_access.c

Test binaries for the acceptance test suite

For the acceptance test suite of the cwe_checker, the C-files inside this directory have to be compiled for a variety of CPU architectures and C-compilers. The provided dockerfile should be used for the build process.

Prerequisites

  • Have Docker installed on your system

Build commands

Inside this directory run the following commands:

docker build -t cross_compiling .
docker run --rm -v $(pwd)/build:/home/cwe/artificial_samples/build cross_compiling sudo python3 -m SCons