Go to the documentation of this file.
16#ifndef LIEF_COFF_UTILS_H
17#define LIEF_COFF_UTILS_H
41 LIEF::SpanStream strm(buffer, size);
47 return is_coff(buffer.data(), buffer.size());
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