Commit Graph

43 Commits

Author SHA1 Message Date
Samuel Aubertin
7134b712ed Add common errors 2022-04-12 12:59:16 +02:00
Samuel Aubertin
e6810db8b3 Remove uuid symlink on openbsd 2022-04-12 11:55:13 +02:00
Samuel Aubertin
073f49dc71 Fix docker runtime compilers versions metadata 2022-04-12 11:53:17 +02:00
Samuel Aubertin
202bc29099 Add docker man 2022-04-12 11:43:25 +02:00
Samuel Aubertin
781faf53e5 Add support for Docker. New targets: docker,dockerbuild,dockerrun,dockerpoc and dockerclean.
Add the poc target as well.
2022-04-12 11:21:57 +02:00
sk4nz
141173d252 Update readme to include obsd 2022-04-07 12:05:25 +02:00
sk4nz
2c32b9636b Run each program 3 times 2022-04-07 11:47:17 +02:00
sk4nz
7740718f91 Refactor PROGS dependencies names and enable a target-specific CFLAG (no function inlining) for programs compiled with GCC. 2022-04-07 11:45:36 +02:00
sk4nz
5e59829c5d -fno-inline-small-functions is not known by gcc 8.5 2022-04-07 10:41:05 +02:00
sk4nz
fa0cb03ac7 Add -fno-inline-small-functions to -fno-inline-functions 2022-04-05 12:58:32 +02:00
sk4nz
30d9e78f1f bruteforce O2 2022-04-05 12:58:15 +02:00
sk4nz
79caa8c28d Disable function inlining 2022-04-05 12:45:31 +02:00
Samuel Aubertin
8dbe117cb0 Typos, change variable name for readability 2022-04-05 12:44:24 +02:00
Samuel Aubertin
5804d30227 Bruteforce optimization options 2022-04-05 12:43:54 +02:00
sk4nz
54b2be5527 Align gadget and safe functions parameters 2022-03-29 15:33:31 +02:00
sk4nz
1556553f06 Restore optimisation for victim_function() and fix the actual bug: put 'addr' in rax before calling gadget othewise there is a NULL dereference happening at architectural level when optimized 2022-03-29 15:10:04 +02:00
Samuel Aubertin
daad45152a Fix latency for pre-SSE processors 2022-03-25 13:39:11 +01:00
sk4nz
0f0dd946cd Disable optimisation depending on compiler type for victim_function in spectre_v2 2022-03-24 14:52:53 +01:00
Samuel Aubertin
ecd5fbc0bf Wrong branch 2022-03-01 13:17:38 +01:00
Samuel Aubertin
051587ec39 Dont clean uuid_obsd on other distros 2022-03-01 13:16:22 +01:00
sk4nz
c21d271af5 OpenBSD compatibility, except that GCC is not emiting valid SSE asm, so disable it on OpenBSD 2022-03-01 13:11:25 +01:00
Samuel Aubertin
2b2ca1baf5 OpenBSD has no uuid, bring it with us 2022-02-24 12:00:22 +01:00
sk4nz
b16dcbdc02 More readme 2022-02-02 15:21:25 +01:00
sk4nz
f652a21e43 More readme 2022-02-02 15:20:17 +01:00
Samuel Aubertin
bd07863edf Remove taskset, monocore machines are failing with it 2022-01-29 14:00:20 +01:00
Samuel Aubertin
9dc0135e68 Replace echo with printf, do not use heredoc with sftp since some shell don't understand it 2022-01-29 13:28:10 +01:00
Samuel Aubertin
334324466b Style, more doc in README 2022-01-28 16:42:43 +01:00
Samuel Aubertin
47946f6aed Final touch: style and tabulations. 2022-01-28 16:33:17 +01:00
Samuel Aubertin
64f0c6b318 In case of segfault, log a failure instead of nothing. 2022-01-28 09:53:12 +01:00
Samuel Aubertin
b2421448a9 enable debugging symbols 2022-01-27 15:57:28 +01:00
Samuel Aubertin
f7532e8f7b Do not rely on lscpu for vulns info 2022-01-27 15:48:18 +01:00
Samuel Aubertin
0a6f989a60 Typo in Makefile 2022-01-27 15:37:10 +01:00
Samuel Aubertin
281af2ad01 Add the missing Makefile ! 2022-01-27 15:36:02 +01:00
Samuel Aubertin
3df95552eb Add Spectre v2
Add JSON output flag : -j

v2 segfaults sometimes with O2...
2022-01-27 15:04:48 +01:00
Samuel Aubertin
7fccb87190 Cleanup output and add padding 2022-01-24 14:13:14 +01:00
Samuel Aubertin
131e376de4 Add threshold info to output, remove windows headers and add license 2022-01-24 14:01:58 +01:00
Samuel Aubertin
29a258a52c Fix key mode, remove retpoline info, add license 2022-01-24 13:58:18 +01:00
Samuel Aubertin
cb70fa32a8 Add BSD license 2022-01-24 13:57:24 +01:00
Samuel Aubertin
eea6603fa1 Add LLD to the dependencies 2022-01-23 20:00:32 +01:00
Samuel Aubertin
a522fd233a Fix uuid expansion 2022-01-23 19:49:53 +01:00
Samuel Aubertin
4a0dacbfa3 Refactor spectre.c and add multiple targets to the Makefile:
- GCC support
- RETPOLINE for both GCC and clang
- LLD dynamic linker to support RETPOLINE mitigations on dynamic
  executables
- Results aggregation using SFTP
2022-01-23 19:37:24 +01:00
Samuel Aubertin
698d4f7921 more readme 2022-01-22 15:09:33 +01:00
Samuel Aubertin
6c445d1339 first 2022-01-22 15:04:17 +01:00