clang-randstruct / llvm-project

Randomize the order of fields in a structure layout as a compile-time hardening feature
3 stars 1 forks source link

Index of programs being used for testing #14

Closed nforbus closed 5 years ago

nforbus commented 5 years ago

When testing randstruct with a specific program, please comment here with the details of the program, how you tested it, what program it was (repo included), and what the results were.

tim-pugh commented 5 years ago

Building Inkscape on Windows with Clang Instructions provided here: http://wiki.inkscape.org/wiki/index.php/Compiling_Inkscape_on_Windows_with_MSYS2

I'll need to edit the "ninja" file which I'm working towards.

INSTRUCTIONS ------------------------------------ Navigate to: http://www.msys2.org/ -> choose 64 bit installer (the installer on the right)

Accept defaults during installation

Post install: Windows Start Menu -> MSYS2 MSYS

This opens up a shell. Run " pacman -Syu " (you may have to close the window clicking the X and not the exit command as it states, and then re-run " pacman -Syu " a second time to finish")

Exit this shell window then: Window Start Menu -> MSYS2 MingGW 64-bit

Run " git clone --recurse-submodules https://gitlab.com/inkscape/inkscape.git master "

cd into " master\buildtools " and execute " msys2installdeps.sh "

Wait for the script to finish (you'll need the internet)

cd ..

mkdir build

cd build

cmake -G Ninja ..

to be continued.. ------------------------------------ FINISHED

I need to verify I'm using our version of clang (which it's not ATM). I will need to rebuild our version of clang which will take quite some time (3-6 hours)

I believe the instructions here may help with the cmake -G Ninja .. step to swap to clang: https://metricpanda.com/rival-fortress-update-27-compiling-with-clang-on-windows