[hwasan, asan] Intercept vfork.
Summary:
Intercept vfork on arm, aarch64, i386 and x86_64.
Reviewers: pcc, vitalybuka
Subscribers: kubamracek, mgorny, javed.absar, krytarowski, kristof.beyls, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D58533
llvm-svn: 355030
2019-02-28 05:11:50 +08:00
|
|
|
#include "sanitizer_common/sanitizer_asm.h"
|
|
|
|
|
|
|
|
#if defined(__linux__)
|
|
|
|
#define COMMON_INTERCEPTOR_SPILL_AREA __asan_extra_spill_area
|
|
|
|
#define COMMON_INTERCEPTOR_HANDLE_VFORK __asan_handle_vfork
|
|
|
|
#include "sanitizer_common/sanitizer_common_interceptors_vfork_aarch64.inc.S"
|
|
|
|
#include "sanitizer_common/sanitizer_common_interceptors_vfork_arm.inc.S"
|
|
|
|
#include "sanitizer_common/sanitizer_common_interceptors_vfork_i386.inc.S"
|
2020-09-23 13:21:05 +08:00
|
|
|
#include "sanitizer_common/sanitizer_common_interceptors_vfork_riscv64.inc.S"
|
|
|
|
#include "sanitizer_common/sanitizer_common_interceptors_vfork_x86_64.inc.S"
|
[hwasan, asan] Intercept vfork.
Summary:
Intercept vfork on arm, aarch64, i386 and x86_64.
Reviewers: pcc, vitalybuka
Subscribers: kubamracek, mgorny, javed.absar, krytarowski, kristof.beyls, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D58533
llvm-svn: 355030
2019-02-28 05:11:50 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
NO_EXEC_STACK_DIRECTIVE
|