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

Exclude Fortify Source Check #1152

Merged
merged 2 commits into from
Nov 10, 2023
Merged

Exclude Fortify Source Check #1152

merged 2 commits into from
Nov 10, 2023

Conversation

lennarthenke
Copy link
Contributor

@lennarthenke lennarthenke commented Oct 25, 2023

The checksec tool's Fortify Source check should be excluded when performing offline checks, as it doesn't function as expected in this context. The Fortify Source check operates by using the running system's libraries to check for the supported Fortify-able library functions. In the case of firmware, this approach is not applicable as the binary and the running system's libraries are not the same. Therefore, the Fortify Source check is removed for offline checks. (source)

There is a possibility that in the future, this check may be reinstated if a viable workaround is identified. This could involve leveraging the firmware's own libc through mechanisms like chroot, for instance.

Copy link
Collaborator

@jstucke jstucke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good except for one small detail: could you bump the version number to 0.2.0?

@maringuu
Copy link
Collaborator

maringuu commented Nov 7, 2023

Could you add the description of the PR in the commit message?

…orming offline checks, as it doesn't function as expected in this context. The Fortify Source check operates by using the running system's libraries to check for the supported Fortify-able library functions. In the case of firmware, this approach is not applicable as the binary and the running system's libraries are not the same. Therefore, the Fortify Source check is removed for offline checks.

There is a possibility that in the future, this check may be reinstated if a viable workaround is identified. This could involve leveraging the firmware's own libc through mechanisms like chroot, for instance.
@jstucke jstucke merged commit 9ebbfcd into fkie-cad:master Nov 10, 2023
9 checks passed
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.

3 participants