[PATCH] D55167: Add a new interceptors for cdbr(3) and cdbw(3) API from NetBSD

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 11 01:22:19 PST 2018


krytarowski marked an inline comment as done.
krytarowski added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_platform_limits_netbsd.h:2259
+  void (*unmap)(void *, void *, uptr);
+  void *cookie;
+  u8 *mmap_base;
----------------
vitalybuka wrote:
> if it is not sanitizing the fields, should the struct be replaced with __sanitizer_cdbr_sz?
Actually its size is unknown to userland programs. I need to either hardcode its size or make a shadow variation.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55167/new/

https://reviews.llvm.org/D55167





More information about the llvm-commits mailing list