diff options
Diffstat (limited to 'abs32_utils.h')
-rw-r--r-- | abs32_utils.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/abs32_utils.h b/abs32_utils.h index f13f562..07503b5 100644 --- a/abs32_utils.h +++ b/abs32_utils.h @@ -10,7 +10,6 @@ #include <vector> -#include "base/macros.h" #include "components/zucchini/address_translator.h" #include "components/zucchini/buffer_view.h" #include "components/zucchini/image_utils.h" @@ -94,6 +93,8 @@ class Abs32ReaderWin32 : public ReferenceReader { public: Abs32ReaderWin32(Abs32RvaExtractorWin32&& abs32_rva_extractor, const AddressTranslator& translator); + Abs32ReaderWin32(const Abs32ReaderWin32&) = delete; + const Abs32ReaderWin32& operator=(const Abs32ReaderWin32&) = delete; ~Abs32ReaderWin32() override; // ReferenceReader: @@ -102,8 +103,6 @@ class Abs32ReaderWin32 : public ReferenceReader { private: Abs32RvaExtractorWin32 abs32_rva_extractor_; AddressTranslator::RvaToOffsetCache target_rva_to_offset_; - - DISALLOW_COPY_AND_ASSIGN(Abs32ReaderWin32); }; // A writer for Win32 abs32 references. |addr| determines the bitness of the @@ -113,6 +112,8 @@ class Abs32WriterWin32 : public ReferenceWriter { Abs32WriterWin32(MutableBufferView image, AbsoluteAddress&& addr, const AddressTranslator& translator); + Abs32WriterWin32(const Abs32WriterWin32&) = delete; + const Abs32WriterWin32& operator=(const Abs32WriterWin32&) = delete; ~Abs32WriterWin32() override; // ReferenceWriter: @@ -122,8 +123,6 @@ class Abs32WriterWin32 : public ReferenceWriter { MutableBufferView image_; AbsoluteAddress addr_; AddressTranslator::OffsetToRvaCache target_offset_to_rva_; - - DISALLOW_COPY_AND_ASSIGN(Abs32WriterWin32); }; // Given a list of abs32 |locations|, removes all elements whose targets cannot |