-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[FreeRDP] Pass CMake flag BUILD_TESTING and use a target for building fuzzers #10448
Conversation
|
No idea if it is going to help, but have you tried with lto disabled? |
@MarcoFalke seems it helps! thanks! |
It is required because some modules enables testing only with this flag.
MSan triggers on OpenSSL function: ``` Uninitialized bytes in __interceptor_fopen64 at offset 0 inside [0x7020000178c0, 25) ==182==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0xe59129 in BIO_new_file (/tmp/not-out/tmpl27pqwad/TestFuzzCommonAssistanceParseFileBuffer+0xe59129) #1 0xfbd25d in def_load conf_def.o #2 0xe69a9c in CONF_modules_load_file (/tmp/not-out/tmpl27pqwad/TestFuzzCommonAssistanceParseFileBuffer+0xe69a9c) #3 0xf50bdf in openssl_config_int (/tmp/not-out/tmpl27pqwad/TestFuzzCommonAssistanceParseFileBuffer+0xf50bdf) #4 0xeb00f3 in ossl_init_config_ossl_ init.o ``` According to an issue [1] it is a false positive, MemorySanitizer requires fully instrumented builds to be able to use the it. Disable MemorySanitizer for now. 1. openssl/openssl#11013
@jonathanmetzman could you review, please? |
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.
LGTM
Do you have to disable MSAN? |
Right. Due to false positive in OpenSSL. |
@jonathanmetzman is there a policy to squash commits on merge? All my commit messages with exlanations/descriptions were lost :( |
Sorry about that. I don't think we do, and to be honest, I don't think we pay a whole lot of attention to what goes in the messages. |
Depends on PR FreeRDP/FreeRDP#9019