OS Manuals

/usr/bin/hardening-check

Debian devscripts hardening-check

From hardening-check 2.26.15-r0 (os), captured 2026-11-09 by running hardening-check --help (exit 0). permalink

Usage:
    hardening-check [options] [ELF ...]

    Examine a given set of ELF binaries and check for several security
    hardening features, failing if they are not all found.

Options:
    --nopie, -p
            Do not require that the checked binaries be built as PIE.

    --nostackprotector, -s
            Do not require that the checked binaries be built with the stack
            protector.

    --nofortify, -f
            Do not require that the checked binaries be built with Fortify
            Source.

    --norelro, -r
            Do not require that the checked binaries be built with RELRO.

    --nobindnow, -b
            Do not require that the checked binaries be built with BIND_NOW.

    --nocfprotection, -x
            Do not require that the checked binaries be built with control
            flow protection.

    --nobranchprotection, -B
            Do not require that the checked binaries be built with branch
            protection.

    --quiet, -q
            Only report failures.

    --verbose, -v
            Report verbosely on failures.

    --report-functions, -R
            After the report, display all external functions needed by the
            ELF.

    --find-libc-functions, -F
            Instead of the regular report, locate the libc for the first ELF
            on the command line and report all the known "fortified"
            functions exported by libc.

    --color, -c
            Enable colorized status output.

    --lintian, -l
            Switch reporting to lintian-check-parsable output.

    --debug Report some debugging during processing.

    --help, -h, -?
            Print a brief help message and exit.

    --man, -H
            Print the manual page and exit.
Options (15)
OptionDescriptionSource
--nopie, -pDo not require that the checked binaries be built as PIE.help
--nostackprotector, -sDo not require that the checked binaries be built with the stack protector.help
--nofortify, -fDo not require that the checked binaries be built with Fortify Source.help
--norelro, -rDo not require that the checked binaries be built with RELRO.help
--nobindnow, -bDo not require that the checked binaries be built with BIND_NOW.help
--nocfprotection, -xDo not require that the checked binaries be built with control flow protection.help
--nobranchprotection, -BDo not require that the checked binaries be built with branch protection.help
--quiet, -qOnly report failures.help
--verbose, -vReport verbosely on failures.help
--report-functions, -RAfter the report, display all external functions needed by the ELF.help
--find-libc-functions, -FInstead of the regular report, locate the libc for the first ELF on the command line and report all the known "fortified" functions exported by libc.help
--color, -cEnable colorized status output.help
--lintian, -lSwitch reporting to lintian-check-parsable output.help
--help, -h, -?Print a brief help message and exit.help
--man, -HPrint the manual page and exit.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.