Should we use ASan ? #11
sid-agrawal
started this conversation in
Knowledge Base
Replies: 3 comments 1 reply
-
I think we should use this, and will look into figuring out how to enable it for our sel4-gpi module only. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This looks worth reading too |
Beta Was this translation helpful? Give feedback.
1 reply
-
For now, we shelved the idea as:
Reading this seems more relevant to our usecase. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given the recent bugs we have encountered related to buffer not being initialized and pointer errors, I was wondering if we will benefit from using something like https://github.com/google/sanitizers/wiki/AddressSanitizer in our code.
For now, even if we do not use it, let's use this thread to keep track of issues we find that could have been caught automatically using ASan.
We also need to check if our compiler has the option to enable ASan.
gcc
is supposed to have it.@astevins @p-linh
Beta Was this translation helpful? Give feedback.
All reactions