#include <cstdint>
#include <LIEF/third-party/expected.hpp>
Go to the source code of this file.
|
enum class | lief_errors : uint32_t {
read_error = 1
, not_found
, not_implemented
, not_supported
,
corrupted
, conversion_error
, read_out_of_bound
, asn1_bad_tag
,
file_error
, file_format_error
, parsing_error
, build_error
,
data_too_large
, require_extended_version
} |
| LIEF error codes definition. More...
|
|
◆ lief_errors
LIEF error codes definition.
Enumerator |
---|
read_error | |
not_found | |
not_implemented | |
not_supported | |
corrupted | |
conversion_error | |
read_out_of_bound | |
asn1_bad_tag | |
file_error | |
file_format_error | |
parsing_error | |
build_error | |
data_too_large | |
require_extended_version | |
◆ make_error_code()
Create an standard error code from lief_errors.
Referenced by LIEF::Binary::get_int_from_virtual_address(), LIEF::ELF::Binary::get_section_idx(), LIEF::ELF::Binary::get_section_idx(), LIEF::BinaryStream::peek(), LIEF::BinaryStream::peek_data(), LIEF::FileStream::peek_in(), LIEF::BinaryStream::peek_objects_at(), LIEF::FileStream::read_at(), LIEF::BinaryStream::read_data(), LIEF::BinaryStream::read_objects(), LIEF::SpanStream::slice(), LIEF::SpanStream::slice(), and LIEF::SpanStream::~SpanStream().
◆ to_string()