Go to the documentation of this file.
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));
36 result<int32_t>
signo()
const; result<int32_t>
sigcode()
const;
49 void dump(std::ostream& os)
const override;
50 void accept(Visitor& visitor)
const override;
55 return note->
type() == Note::TYPE::CORE_SIGINFO;
59 std::ostream&
operator<<(std::ostream& os,
const CoreSigInfo& note) {
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
Namespace related to the LIEF's ELF module.
Definition Abstract/Header.hpp:28
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41