Giter Site home page Giter Site logo

pid1 / test-sec-flags Goto Github PK

View Code? Open in Web Editor NEW
47.0 47.0 6.0 52 KB

Automated testing of various security-oriented compilation flags for Arch Linux packages.

License: BSD 3-Clause "New" or "Revised" License

Shell 76.17% Python 17.97% Makefile 5.86%

test-sec-flags's Introduction

Hello!

test-sec-flags's People

Contributors

anthraxx avatar pid1 avatar qguv avatar santiagotorres avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

test-sec-flags's Issues

Only first five tests compile

I ran the following:
git clone https://github.com/pid1/test-sec-flags.git --recursive
cd test-sec-flags
make setup
./test-xz
(which seemed to run fine, but I interrupted it so I could just run everything with:)
make

The last command compiled and ran the first 5 tests of unixbench, but then terminated with:

make[2]:``Leaving directory '/home/mostlyh/test-sec-flags/unixbench/UnixBench' make[1]: Leaving directory '/home/mostlyh/test-sec-flags/unixbench/UnixBench' Compilation finished, running test 6 make: *** [Makefile:10: test-unixbench] Error 1

running on Arch, updated a few days ago, i7-4930K

Automated Reporting

We should make it as easy as possible for people to contribute their results. Perhaps we could have the script concat the result files and automatically paste them to a pb instance?

test_ffmpeg seems to stuck on compile (?)

The test_ffmpeg seems to stuck on compilation. CPU shows 100% and processes (8) are RUNNING.

License: GPL version 3 or later  
Creating config.mak, config.h, and doc/config.texi...  
config.h is unchanged  
config.asm is unchanged  
libavutil/avconfig.h is unchanged  
CC  libavdevice/alsa.o  
CC  libavdevice/alldevices.o  
CC  libavdevice/alsa_dec.o  
CC  libavdevice/alsa_enc.o  
CC  libavdevice/avdevice.o  
CC  libavdevice/dv1394.o  
CC  libavdevice/fbdev_common.o  
CC  libavdevice/fbdev_dec.o

See top screenshot:
top

measure the overhead of UBSan bounds checking

It would be neat to measure the overhead of -fsanitize=bounds,object-size -fsanitize-undefined-trap-on-error. It's going to be way too expensive to enable on Arch, but it's useful information nonetheless. There are some other hardening-friendly UBSan subsets that might also be worth measuring.

Flag Combinations to Test

We should decide which flag combinations we want to include in our testing. Ideas already raised have included -fPIE by itself, -fstack-protector-strong by itself, and these in combination. Please add these to FLAGS.rst, and use this issue for discussion.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.