16#ifndef LIEF_ELF_CORE_SIGINFO_H
17#define LIEF_ELF_CORE_SIGINFO_H
33 std::unique_ptr<Note>
clone()
const override {
34 return std::unique_ptr<CoreSigInfo>(
new CoreSigInfo(*
this));
49 void dump(std::ostream& os)
const override;
55 return note->
type() == Note::TYPE::CORE_SIGINFO;
Class representing a core siginfo object.
Definition CoreSigInfo.hpp:31
friend std::ostream & operator<<(std::ostream &os, const CoreSigInfo ¬e)
Definition CoreSigInfo.hpp:59
std::unique_ptr< Note > clone() const override
Clone the current note and keep its polymorphic type.
Definition CoreSigInfo.hpp:33
void dump(std::ostream &os) const override
void sigerrno(uint32_t value)
static bool classof(const Note *note)
Definition CoreSigInfo.hpp:54
void sigcode(uint32_t value)
void accept(Visitor &visitor) const override
result< int32_t > sigcode() const
Signal code of an error if it can't be resolved.
result< int32_t > sigerrno() const
Signal error number of an error if it can't be resolved.
~CoreSigInfo() override=default
result< int32_t > signo() const
Signal number of an error if it can't be resolved.
void signo(uint32_t value)
Class which represents an ELF note. This class can be instantiated using the static Note::create func...
Definition Note.hpp:39
TYPE type() const
Return the type of the note. This type does not match the NT_ type value. For accessing the original ...
Definition Note.hpp:195
Definition Visitor.hpp:224
LIEF namespace.
Definition Abstract/Binary.hpp:32
tl::expected< T, lief_errors > result
Wrapper that contains an Object (T) or an error.
Definition errors.hpp:74
#define LIEF_API
Definition visibility.h:41