#ifdef UNSAFE_BUFFERS_BUILD
#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) { … }
}