eBPF for Windows
elfio_wrapper.hpp
Go to the documentation of this file.
1 // Copyright (c) eBPF for Windows contributors
2 // SPDX-License-Identifier: MIT
3 
4 #pragma warning(push)
5 #pragma warning(disable : 4244) // conversion from 'int' to 'ELFIO::Elf_Half', possible loss of data
6 #pragma warning(disable : 4389) // signed/unsigned mismatch
7 #pragma warning(disable : 4456) // declaration hides previous local declaration
8 #pragma warning(disable : 4458) // declaration of 'name' hides class member
9 #pragma warning(disable : 6011) // 'Dereferencing NULL pointer - https://github.com/vbpf/ebpf-verifier/issues/239
10 #pragma warning(disable : 26451) // Arithmetic overflow
11 #pragma warning(disable : 26450) // Arithmetic overflow
12 #pragma warning(disable : 26495) // Always initialize a member variable
13 #pragma warning(disable : 26444) // Don't declare a local variable with no name
14 #include "elfio/elfio.hpp"
15 #pragma warning(pop)