#include "components/zucchini/abs32_utils.h"
#include <stdint.h>
#include <algorithm>
#include <string>
#include <utility>
#include "base/numerics/safe_conversions.h"
#include "components/zucchini/address_translator.h"
#include "components/zucchini/image_utils.h"
#include "components/zucchini/test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace zucchini {
namespace {
class TestAddressTranslator : public AddressTranslator { … };
rva_t AddrValueToRva(uint64_t value, AbsoluteAddress* addr) { … }
}
TEST(Abs32UtilsTest, AbsoluteAddress32) { … }
TEST(Abs32UtilsTest, AbsoluteAddress32Overflow) { … }
TEST(Abs32UtilsTest, AbsoluteAddress64) { … }
TEST(Abs32UtilsTest, AbsoluteAddress64Overflow) { … }
TEST(Abs32UtilsTest, Win32Read32) { … }
TEST(Abs32UtilsTest, Win32Read64) { … }
TEST(Abs32UtilsTest, Win32ReadFail) { … }
TEST(Abs32UtilsTest, Win32Write32) { … }
TEST(Abs32UtilsTest, Win32Write64) { … }
TEST(Abs32UtilsTest, RemoveUntranslatableAbs32) { … }
TEST(Abs32UtilsTest, RemoveOverlappingAbs32Locations) { … }
}