checksec.sh icon indicating copy to clipboard operation
checksec.sh copied to clipboard

checksec fails on statically linked binaries

Open fefe17 opened this issue 4 years ago • 1 comments

For example, RELRO and RUNPATH do not apply to static binaries, and stack canaries and fortify checks don't work because there are no external symbols you could detect.

I think it would make sense to change the display as to not cause confusion and false positives.

fefe17 avatar Jun 05 '20 10:06 fefe17

#194 includes a partial fix for static binaries. it should report N/A for Runpath and rpath. Still a few things remaining to fix but some of it is in there

slimm609 avatar Jun 09 '22 12:06 slimm609