-
Notifications
You must be signed in to change notification settings - Fork 49
add mixed binary hardening rule #82
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
base: master
Are you sure you want to change the base?
Conversation
src/fr/02_devenv.md
Outdated
mémoire. En effet, il a été montré que du code Rust peut être utilisé pour | ||
contourner des durcissements d'un code C vulnérable. | ||
|
||
> ** Règles {{#check DENV-MIXED | Activer les durcissements pour tous les langages d'un logiciel mixte}}** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-s
@polazarus : could you rebase your commit on top of PR #83 ? |
src/fr/02_devenv.md
Outdated
particuliers. Nous en discutons dans les chapitres suivants en fonction de leurs | ||
portées et de leurs objectifs. | ||
|
||
## Durcissement et binaires mixtes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@polazarus : Maybe this should be added to the FFI part ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know. It should be enabled in product that do not directly use FFI... My understanding is that if a programmer does not use FFI, it should not have to look at the FFI section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In which cases can mixed binaries be used without FFI?
3d4d580
to
3a3d703
Compare
https://doc.rust-lang.org/beta/rustc/exploit-mitigations.html#stack-clashing-protection |
Here are some questions of mine regarding the subject of mixed binaries with hardening for the guide:
For these reasons, I think that the rules concerning the hardening of mixed binaries should be included in the FFI sections, possibly in the form of additional points insisting on the existing rules (such as the FFI-MARKEDFUNPTR rule, for example). |
f580011
to
7912626
Compare
35d5184
to
0645c1d
Compare
640fc82
to
2e65294
Compare
639e5ed
to
5fb1a93
Compare
5fb1a93
to
be4314a
Compare
open question: should the guide includes current hardening options?
closes #72