Adds GWP-ASan to Scudo standalone. Default parameters are pulled across from the
GWP-ASan build. No backtrace support as of yet.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 42166 Build 42572: arc lint + arc unit
Event Timeline
compiler-rt/lib/scudo/standalone/combined.h | ||
---|---|---|
514–528 | I think you might need to sync to LLVM trunk. There is now a function isOwned here which I think might need to be taught about GWP-ASan. |
Comment Actions
I'd love to be able to test the current GWP-ASan tests using scudo_standalone as well. Unfortunately it won't be as simple as -fsanitize=scudo, but will take a look at getting it running with some linker magic.
compiler-rt/lib/scudo/standalone/combined.h | ||
---|---|---|
520 | #ifdef GWP_ASAN_HOOKS? |
compiler-rt/lib/scudo/standalone/combined.h | ||
---|---|---|
520 | Danke. |
Comment Actions
- Enforce alignment to GWP-ASan. If userspace calls posix_memalign, this alignment guarantee should be kept even if the allocation is chosen to be sampled.
Comment Actions
Build result: pass - 60660 tests passed, 0 failed and 726 were skipped.
Log files: console-log.txt, CMakeCache.txt
Since there is no other size_t in combined, could you use a uptr?