[PATCH] D68168: [msan] Intercept __getrlimit.
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 27 19:32:29 PDT 2019
vitalybuka added inline comments.
================
Comment at: compiler-rt/lib/msan/msan_interceptors.cpp:770
+ if (msan_init_is_running) \
+ return REAL(getrlimit)(resource, rlim); \
+ ENSURE_MSAN_INITED(); \
----------------
why not sanitizer_common?
looks like races and use-after free are possible here
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68168/new/
https://reviews.llvm.org/D68168
More information about the llvm-commits
mailing list