retdec
Private Attributes | List of all members
retdec::fileinfo::ElfNotes Class Reference

#include <elf_notes.h>

Collaboration diagram for retdec::fileinfo::ElfNotes:
Collaboration graph
[legend]

Public Member Functions

Getters
std::string getSectionName () const
 
std::size_t getSecSegOffset () const
 
std::size_t getSecSegLength () const
 
std::size_t getNumberOfNotes () const
 
const std::string & getErrorMessage () const
 
const std::vector< ElfNoteEntry > & getNotes () const
 
Query methods
bool isNamedSection () const
 
bool isMalformed () const
 
Setters
void setSectionName (const std::string &name)
 
void setSecSegOffset (const std::size_t &offset)
 
void setSecSegLength (const std::size_t &length)
 
void setErrorMessage (const std::string &message)
 
void addNoteEntry (const ElfNoteEntry &noteEntry)
 

Private Attributes

std::string sectionName
 
std::size_t secSegOffset
 
std::size_t secSegLength
 
std::string errorMessage
 
std::vector< ElfNoteEntrynotes
 

Detailed Description

Class for ELF notes

Member Function Documentation

◆ addNoteEntry()

void retdec::fileinfo::ElfNotes::addNoteEntry ( const ElfNoteEntry noteEntry)

◆ getErrorMessage()

const std::string & retdec::fileinfo::ElfNotes::getErrorMessage ( ) const

◆ getNotes()

const std::vector< ElfNoteEntry > & retdec::fileinfo::ElfNotes::getNotes ( ) const

◆ getNumberOfNotes()

std::size_t retdec::fileinfo::ElfNotes::getNumberOfNotes ( ) const

◆ getSecSegLength()

std::size_t retdec::fileinfo::ElfNotes::getSecSegLength ( ) const

◆ getSecSegOffset()

std::size_t retdec::fileinfo::ElfNotes::getSecSegOffset ( ) const

◆ getSectionName()

std::string retdec::fileinfo::ElfNotes::getSectionName ( ) const

◆ isMalformed()

bool retdec::fileinfo::ElfNotes::isMalformed ( ) const

◆ isNamedSection()

bool retdec::fileinfo::ElfNotes::isNamedSection ( ) const

◆ setErrorMessage()

void retdec::fileinfo::ElfNotes::setErrorMessage ( const std::string &  message)

◆ setSecSegLength()

void retdec::fileinfo::ElfNotes::setSecSegLength ( const std::size_t &  length)

◆ setSecSegOffset()

void retdec::fileinfo::ElfNotes::setSecSegOffset ( const std::size_t &  offset)

◆ setSectionName()

void retdec::fileinfo::ElfNotes::setSectionName ( const std::string &  name)

Member Data Documentation

◆ errorMessage

std::string retdec::fileinfo::ElfNotes::errorMessage
private

◆ notes

std::vector<ElfNoteEntry> retdec::fileinfo::ElfNotes::notes
private

◆ secSegLength

std::size_t retdec::fileinfo::ElfNotes::secSegLength
private

◆ secSegOffset

std::size_t retdec::fileinfo::ElfNotes::secSegOffset
private

◆ sectionName

std::string retdec::fileinfo::ElfNotes::sectionName
private

The documentation for this class was generated from the following files: