retdec
|
#include <elf_core.h>
Public Member Functions | |
Setters | |
auxiliary vector | |
void | setPageSize (const std::uint64_t &size) |
void | addFileMapEntry (const FileMapEntry &entry) |
void | addAuxVectorEntry (const AuxVectorEntry &entry) |
void | addPrStatusInfo (const PrStatusInfo &info) |
void | setAppName (const std::string &name) |
void | setCmdLine (const std::string &line) |
Getters | |
std::uint64_t | getPageSize () const |
const std::vector< FileMapEntry > & | getFileMap () const |
const std::vector< AuxVectorEntry > & | getAuxVector () const |
Helper methods | |
void | dump (std::ostream &outStream) |
Private Attributes | |
std::uint64_t | pageSize |
used page size More... | |
std::vector< FileMapEntry > | fileMap |
parsed file map More... | |
std::vector< PrStatusInfo > | prstatusInfos |
prstatus structures More... | |
std::string | appName |
original application name More... | |
std::string | cmdLine |
command line More... | |
std::vector< AuxVectorEntry > | auxVector |
Class for representing information from core files
void retdec::fileformat::ElfCoreInfo::addAuxVectorEntry | ( | const AuxVectorEntry & | entry | ) |
Add one aux. vector entry
entry | vector entry |
void retdec::fileformat::ElfCoreInfo::addFileMapEntry | ( | const FileMapEntry & | entry | ) |
Add one entry to core file map
entry | map entry |
void retdec::fileformat::ElfCoreInfo::addPrStatusInfo | ( | const PrStatusInfo & | info | ) |
Add one prstatus struct
info | prstatus struct entry |
void retdec::fileformat::ElfCoreInfo::dump | ( | std::ostream & | outStream | ) |
Dump CORE file info
outStream | target output stream |
const std::vector< AuxVectorEntry > & retdec::fileformat::ElfCoreInfo::getAuxVector | ( | ) | const |
Get auxiliary vector
const std::vector< FileMapEntry > & retdec::fileformat::ElfCoreInfo::getFileMap | ( | ) | const |
Get core file map from NT_FILE note
uint64_t retdec::fileformat::ElfCoreInfo::getPageSize | ( | ) | const |
Get page size specified in NT_FILE note
void retdec::fileformat::ElfCoreInfo::setAppName | ( | const std::string & | name | ) |
Set name off original application
name | name of application |
void retdec::fileformat::ElfCoreInfo::setCmdLine | ( | const std::string & | line | ) |
Set original command line string
line | command line |
void retdec::fileformat::ElfCoreInfo::setPageSize | ( | const std::uint64_t & | size | ) |
Set page size specified in NT_FILE note
size | page size |
|
private |
original application name
|
private |
|
private |
command line
|
private |
parsed file map
|
private |
used page size
|
private |
prstatus structures