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
Container-overflow false positive with uninstrumented code #362
Comments
Hi, Is there a way to work around this issue? (that's not "recompile all your deps with Thanks. |
Probably not (and yes, this seems to be a serious limitation of container sanitization). |
@kcc shouldn't container annotations be disabled by default then? Because they otherwise prohibit separate sanitization which is a very popular use-case... |
Default values are hard :) If we make this feature off by default users will never know about it (people generally don't read docs). |
You can work around the issue by running with But note that AddressSanitizer finds only a subset of bugs. And to use ThreadSanitizer and MemorySanitizer most likely you need to rebuild all you deps. |
Thanks for your answers! |
So close as not-a-bug then? |
WAI. |
FYI GCC disables container instrumentation by default (user needs to define |
…tact - workround for ASAN to avoid ASAN container heap detact - more information refer google/sanitizers#362 - This is a temp patch, I will close ASAN when stable line Change-Id: Ib338dd475244b10e6834c435a6754a5dd5147bbe Reviewed-on: https://gerrit.mot.com/2030323 SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Reviewed-by: Yifu Lin <linyf@mt.com> Submit-Approved: Jira Key SLTApproved: Zhiyi Cai <caizy@motorola.com>
…tact - workround for ASAN to avoid ASAN container heap detact - more information refer google/sanitizers#362 - This is a temp patch, I will close ASAN when stable line Change-Id: Ib338dd475244b10e6834c435a6754a5dd5147bbe Reviewed-on: https://gerrit.mot.com/2030323 SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Reviewed-by: Yifu Lin <linyf@mt.com> Submit-Approved: Jira Key SLTApproved: Zhiyi Cai <caizy@motorola.com> (cherry picked from commit 87b5a4d08509ef73cb4f40391a20445e198e586e) Reviewed-on: https://gerrit.mot.com/2049904 SLTApproved: Slta Waiver Reviewed-by: Thiago Kunsch Rocha <tkunsch@motorola.com> Submit-Approved: Thiago Kunsch Rocha <tkunsch@motorola.com> Tested-by: Thiago Kunsch Rocha <tkunsch@motorola.com> Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Originally reported on Google Code with ID 362
Reported by
eugenis@google.com
on 2014-12-08 09:26:48The text was updated successfully, but these errors were encountered: