Support integer_overflow static lib diagnostics.
This extends the minimal runtime dependency mutator to allow signed and unsigned integer overflow diagnostics in static libraries and binaries. This also enables the integer_overflow flag for static libraries and binaries. Note compilation will fail if the static library is a dependency of a Make module that does not also have diagnostics enabled. Bug: 66952339 Bug: 73283972 Test: make SANITIZE_TARGET{,_DIAG}=integer_overflow Test: Enabled diagnostics in a static lib, saw results in logcat. Test: Checked showcommands output for ubsan runtime library inclusion. Change-Id: Ic52881a0f74cdcac0e4a15335df493b59b002ae5
Loading
Please register or sign in to comment