You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment iceoryx_posh & iceoryx_core components are sanitized using AddressSanitizer(including built in LeakSanitizer).
Extend this to all iceoryx components (including tests)
Detailed information
Using sanitizers in all the components could be useful in keeping potential bugs away.
This issue could be followed by #423 , when existing issues are addressed.
How to do it ?
Compiler flags required for sanitization are already defined ICEORYX_SANITIZER_FLAGS.
Compile and link the required component with this flag.
e.g.
With #452 the sanitizer flags are passed to all libraries and all examples and tests.
But what i encountered was that the leaksanitizer does not work on the Github CI properly. This should be checked.
I added to the workflow file ../tools/run_all_tests.sh with the argument asan-only to use the asan flags only as workaround. But this should be checked what the problem there is. You can just remove the argument and then the leaksan is used too.
@dkroenke I have enabled leaksanitizer in github CI in PR #461
This is working fine.
There is one known issue that leansanitizer wont run in mac (it runs in linux runner, so its basically covered)
@prasannabhat On master the Sanitizer flags are passed to all iceoryx components (test, examples, production code) and running on the CI.
Therefore I close this ticket here.
Brief feature description
At the moment
iceoryx_posh
&iceoryx_core
components are sanitized using AddressSanitizer(including built in LeakSanitizer).Extend this to all iceoryx components (including tests)
Detailed information
Using sanitizers in all the components could be useful in keeping potential bugs away.
This issue could be followed by #423 , when existing issues are addressed.
How to do it ?
Compiler flags required for sanitization are already defined
ICEORYX_SANITIZER_FLAGS
.Compile and link the required component with this flag.
e.g.
The text was updated successfully, but these errors were encountered: