Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checksec FORTIFY detection (proccheck) #243

Closed
wants to merge 8 commits into from
Closed

checksec FORTIFY detection (proccheck) #243

wants to merge 8 commits into from

Conversation

teoberi
Copy link
Contributor

@teoberi teoberi commented May 7, 2024

Added detailed results for Fortify: 'N/A', 'Partial' in src/functions/proccheck.sh
Add cases for 'N/A' and 'Partial' in tests/hardening-checks.sh ('# process checks' section)
Update build_binaries.sh ('# Fortify source' section)
Change test files for Fortify
Fix for #241

Added detailed results for Fortify: 'N/A', 'Partial'
Add cases for 'N/A' and 'Partial'
Netwide Assembler (NASM) installation check
Generating test files for Fortify (nolibc*, fszero*)
Check shell style (shfmt) failed!
@teoberi
Copy link
Contributor Author

teoberi commented May 7, 2024

Check shell style (shfmt)................................................Failed

Does the error message refer to the checksec script?
After running make build if I test with the command:
shfmt -d checksec
there are quite a few formatting issues.
How can I fix this?

@slimm609
Copy link
Owner

if you install pre-commit locally (https://pre-commit.com/), then you can run pre-commit run --all-files and it will format them properly. You can also run the hack/enable-git-hooks.sh, which will make them run automatically on each commit

@teoberi
Copy link
Contributor Author

teoberi commented May 13, 2024

Failed!

@teoberi teoberi closed this May 13, 2024
@teoberi teoberi deleted the Fortify-proccheck branch May 13, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants