-
- Downloads
Add -ftrapv to gcc-hardening ... mostly!
We know there are overflows in curve25519-donna-c32, so we'll have to have that one be fwrapv. Only apply the asan, ubsan, and trapv options to the code that does not need to run in constant time. Those options introduce branches to the code they instrument. (These introduced branches should never actually be taken, so it might _still_ be constant time after all, but branch predictors are complicated enough that I'm not really confident here. Let's aim for safety.) Closes 17983.
Showing
- .gitignore 3 additions, 0 deletions.gitignore
- Makefile.am 2 additions, 2 deletionsMakefile.am
- acinclude.m4 15 additions, 5 deletionsacinclude.m4
- changes/bug17983 11 additions, 0 deletionschanges/bug17983
- configure.ac 20 additions, 3 deletionsconfigure.ac
- src/common/include.am 14 additions, 3 deletionssrc/common/include.am
- src/ext/include.am 6 additions, 3 deletionssrc/ext/include.am
- src/or/include.am 2 additions, 1 deletionsrc/or/include.am
- src/test/include.am 6 additions, 0 deletionssrc/test/include.am
- src/tools/include.am 9 additions, 2 deletionssrc/tools/include.am
Loading
Please register or sign in to comment