chromium/components/gwp_asan/client/lightweight_detector/poison_metadata_recorder_unittest.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "components/gwp_asan/client/lightweight_detector/poison_metadata_recorder.h"

#include "testing/gtest/include/gtest/gtest.h"

namespace gwp_asan::internal::lud {

namespace {
constexpr size_t kMaxLightweightDetectorMetadata =;
}

class PoisonMetadataRecorderTest : public testing::Test {};

TEST_F(PoisonMetadataRecorderTest, PoisonAlloc) {}

TEST_F(PoisonMetadataRecorderTest, PoisonAllocUnaligned) {}

TEST_F(PoisonMetadataRecorderTest, SlotReuse) {}

}  // namespace gwp_asan::internal::lud