LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
LIEF::ELF::CorePrPsInfo::info_t Struct Reference

#include <CorePrPsInfo.hpp>

Public Member Functions

std::string filename_stripped () const
 Initial part of the arguments.
 
std::string args_stripped () const
 Return the args without the ending \x00
 

Public Attributes

uint8_t state = 0
 
char sname = ' '
 Numeric process state.
 
bool zombie = false
 printable character representing state
 
uint8_t nice = 0
 Whether the process is a zombie.
 
uint64_t flag = 0
 Nice value.
 
uint32_t uid = 0
 Process flag.
 
uint32_t gid = 0
 Process user ID.
 
uint32_t pid = 0
 Process group ID.
 
uint32_t ppid = 0
 Process ID.
 
uint32_t pgrp = 0
 Process parent ID.
 
uint32_t sid = 0
 Process group.
 
std::string filename
 Process session id.
 
std::string args
 Filename of the executable.
 

Member Function Documentation

◆ args_stripped()

std::string LIEF::ELF::CorePrPsInfo::info_t::args_stripped ( ) const
inline

Return the args without the ending \x00

◆ filename_stripped()

std::string LIEF::ELF::CorePrPsInfo::info_t::filename_stripped ( ) const
inline

Initial part of the arguments.

Return the filename without the ending \x00

Member Data Documentation

◆ args

std::string LIEF::ELF::CorePrPsInfo::info_t::args

Filename of the executable.

◆ filename

std::string LIEF::ELF::CorePrPsInfo::info_t::filename

Process session id.

◆ flag

uint64_t LIEF::ELF::CorePrPsInfo::info_t::flag = 0

Nice value.

◆ gid

uint32_t LIEF::ELF::CorePrPsInfo::info_t::gid = 0

Process user ID.

◆ nice

uint8_t LIEF::ELF::CorePrPsInfo::info_t::nice = 0

Whether the process is a zombie.

◆ pgrp

uint32_t LIEF::ELF::CorePrPsInfo::info_t::pgrp = 0

Process parent ID.

◆ pid

uint32_t LIEF::ELF::CorePrPsInfo::info_t::pid = 0

Process group ID.

◆ ppid

uint32_t LIEF::ELF::CorePrPsInfo::info_t::ppid = 0

Process ID.

◆ sid

uint32_t LIEF::ELF::CorePrPsInfo::info_t::sid = 0

Process group.

◆ sname

char LIEF::ELF::CorePrPsInfo::info_t::sname = ' '

Numeric process state.

◆ state

uint8_t LIEF::ELF::CorePrPsInfo::info_t::state = 0

◆ uid

uint32_t LIEF::ELF::CorePrPsInfo::info_t::uid = 0

Process flag.

◆ zombie

bool LIEF::ELF::CorePrPsInfo::info_t::zombie = false

printable character representing state


The documentation for this struct was generated from the following file: