16#ifndef LIEF_COFF_UTILS_H
17#define LIEF_COFF_UTILS_H
47 return is_coff(buffer.data(), buffer.size());
Class that is used to a read stream of data from different sources.
Definition BinaryStream.hpp:33
Definition SpanStream.hpp:32
Definition AuxiliarySymbol.hpp:29
Header::KIND get_kind(BinaryStream &stream)
This function determines if the given stream wraps a COFF binary and if so, whether it's a regular or...
bool is_coff(BinaryStream &stream)
Check if the given stream wraps a COFF file.
Definition COFF/utils.hpp:32
bool is_bigobj(BinaryStream &stream)
Check if the COFF file wrapped by the given stream is a bigobj.
Definition COFF/utils.hpp:51
bool is_regular(BinaryStream &stream)
Check if the COFF file wrapped by the given stream is regular (i.e. not a bigobj).
Definition COFF/utils.hpp:57
LIEF namespace.
Definition Abstract/Binary.hpp:40
#define LIEF_API
Definition visibility.h:41