commit | 269e6ba855d07c9e68b4435e50885b901e65026c | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed Aug 23 13:39:57 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 23 13:39:57 2023 +0000 |
tree | 2f7e5dff555726989d184255e055a68476e6d7c2 | |
parent | 13446110e644b9e168ff457bfd7d82c14a214b8d [diff] |
[tint][resolver] Fix use after free, causing UA to be ignored. When the number of module-scope declarations exceeded 32, the std::move() of 'dependencies_.ordered_globals' would move the heap allocation, and UA would only see an empty module. By fixing the UaF, we're now going to catch a lot more UA violations than we used to... Change-Id: I73bddabc2953a5f4c82a909503ef2327fa002759 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/148400 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.