Sanitizer common, enable OpenBSD platform.
- Enable common interceptors as possible and create few distinct ones.
- Create necessary sanitizer_struct types.
Paths
| Differential D43909
OpenBSD UBsan support / common ClosedPublic Authored by devnexen on Feb 28 2018, 2:12 PM.
Details Summary Sanitizer common, enable OpenBSD platform.
Diff Detail Event TimelineHerald added subscribers: Restricted Project, llvm-commits, fedor.sergeev and 4 others. · View Herald TranscriptFeb 28 2018, 2:12 PM
Comment Actions Assuming that OpenBSD is capable to run only a subset of functionality of UBSan (no unwinder, no 32-bit on 64-bit kernel etc), do we need all the code like sanitizer_platform_limits_openbsd? Comment Actions
Comment Actions Changing GetTid signature
devnexen retitled this revision from [3/3] OpenBSD UBsan support / common to OpenBSD UBsan support / common.Mar 1 2018, 11:56 AM Comment Actions Please try to partition this into 200-300 line patches. This patch is 2271 lines long. Please try to remove all unrelated style changes. GetTid() fix for FreeBSD (and abandoning uptr concept) deserves a separate commit. This revision now requires changes to proceed.Mar 2 2018, 10:57 AM Comment Actions LGTM, but maybe you want to wait for others input. "git clang-format -f --style=file HEAD^" may fix couple minor issues This revision is now accepted and ready to land.Mar 2 2018, 1:28 PM
Closed by commit rCRT326650: OpenBSD UBsan support / common (authored by kamil). · Explain WhyMar 3 2018, 4:09 AM This revision was automatically updated to reflect the committed changes. This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 136502 cmake/base-config-ix.cmake
cmake/config-ix.cmake
lib/sanitizer_common/CMakeLists.txt
lib/sanitizer_common/sanitizer_common_interceptors.inc
lib/sanitizer_common/sanitizer_errno.h
lib/sanitizer_common/sanitizer_internal_defs.h
lib/sanitizer_common/sanitizer_libignore.cc
lib/sanitizer_common/sanitizer_linux.h
lib/sanitizer_common/sanitizer_linux.cc
lib/sanitizer_common/sanitizer_linux_libcdep.cc
lib/sanitizer_common/sanitizer_openbsd.cc
lib/sanitizer_common/sanitizer_platform.h
lib/sanitizer_common/sanitizer_platform_interceptors.h
lib/sanitizer_common/sanitizer_platform_limits_openbsd.h
lib/sanitizer_common/sanitizer_platform_limits_openbsd.cc
lib/sanitizer_common/sanitizer_posix.h
lib/sanitizer_common/sanitizer_posix_libcdep.cc
lib/sanitizer_common/sanitizer_procmaps.h
lib/sanitizer_common/sanitizer_procmaps_common.cc
lib/sanitizer_common/sanitizer_procmaps_freebsd.cc
lib/sanitizer_common/sanitizer_stacktrace.h
lib/sanitizer_common/sanitizer_syscall_generic.inc
|
Rationale?