Creating OpenSSL binaries with Control flow guard enabled fails with multiple test failure
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- c
- Domain
- build-system, security
Research direction
Start by reproducing the reported Windows build with perl Configure VC-WIN64A enable-fips enable-capieng --prefix=D:\opensslBuild\x64\dll --openssldir=D:\opensslBuild\openssldir no-shared and the /guard:cf flags. Identify which tests fail with those flags, compare them with the successful build without the flags, and consider the issue done when the non-shared FIPS build passes its tests with control flow guard enabled.
Written by the indexing model from the issue text.
Description
I am trying to create a non-shared fips enabled build with control flow guard enabled:
command used:
perl Configure VC-WIN64A enable-fips enable-capieng --prefix=D:\opensslBuild\x64\dll --openssldir=D:\opensslBuild\openssldir no-shared CFLAGS=/guard:cf LDFLAGS=/guard:cf LIB_CFLAGS=/guard:cf
This is failing with multiple test failures.
Without using CFLAGS=/guard:cf LDFLAGS=/guard:cf LIB_CFLAGS=/guard:cf , Build is successfuly created.
- Dominant language
- C
- Stars
- 30.8k
- Forks
- 11.5k
- Avg merge
- 10m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openssl/openssl
-
branch: master help wanted triaged: bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
branch: master help wanted triaged: documentation
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
help wanted triaged: feature
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
good first issue triaged: bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
branch: 4.0 branch: master triaged: bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100