2 ms·
Fedora now annotates all binaries to check they were built with the right hardening options, eg: $ annocheck -v /bin/ls annocheck: Version 9.68. Hardened
by rwmj 5y ago
Fedora now annotates all binaries to check they were built with the right hardening options, eg:
$ annocheck -v /bin/ls
annocheck: Version 9.68.
Hardened: /bin/ls: PASS: pie test
Hardened: /bin/ls: PASS: cf-protection test
Hardened: /bin/ls: PASS: property-note test
Hardened: /bin/ls: PASS: writeable-got test
Hardened: /bin/ls: PASS: dynamic-segment test
Hardened: /bin/ls: PASS: bind-now test
Hardened: /bin/ls: info: set binary producer to Gas version 2.
Hardened: /bin/ls: info: notes produced by assembler plugin version 1
Hardened: /bin/ls: info: set binary producer to Gimple version 9.
Hardened: /bin/ls: info: notes produced by lto plugin version 9.68
Hardened: /bin/ls: PASS: stack-prot test
Hardened: /bin/ls: PASS: pic test
Hardened: /bin/ls: skip: fortify test because LTO compilation discards preprocessor options
Hardened: /bin/ls: PASS: glibcxx-assertions test
Hardened: /bin/ls: PASS: optimization test
Hardened: /bin/ls: skip: warnings test because LTO compilation discards preprocessor options
Hardened: /bin/ls: PASS: lto test
Hardened: /bin/ls: PASS: stack-clash test
Hardened: /bin/ls: PASS: entry test
Hardened: /bin/ls: PASS: gnu-stack test because stack segment exists with the correct permissions
Hardened: /bin/ls: PASS: gnu-relro test
Hardened: /bin/ls: PASS: notes test because no gaps found
Hardened: /bin/ls: skip: branch-protection test because not an AArch64 binary
Hardened: /bin/ls: skip: dynamic-tags test because AArch64 specific
Hardened: /bin/ls: skip: go-revision test because no GO compiled code found
Hardened: /bin/ls: skip: only-go test because no GO compiled code found
Hardened: /bin/ls: PASS: production test
Hardened: /bin/ls: PASS: run-path test
Hardened: /bin/ls: PASS: rwx-seg test
Hardened: /bin/ls: PASS: short-enum test
Hardened: /bin/ls: skip: stack-realign test because not an x86 executable
Hardened: /bin/ls: PASS: textrel test
Hardened: /bin/ls: PASS: threads test