PE-sieve
Scans all running processes. Recognizes and dumps a variety of potentially malicious implants (replaced/implanted PEs, shellcodes, hooks, in-memory patches).
Loading...
Searching...
No Matches
pesieve::util::BasicBuffer Struct Reference

#include <byte_buffer.h>

Inheritance diagram for pesieve::util::BasicBuffer:

Public Member Functions

 BasicBuffer ()
 
bool isFilled ()
 
void trim ()
 
size_t getStartOffset (bool trimmed) const
 
size_t getDataSize (bool trimmed=false) const
 
const BYTE * getData (bool trimmed=false) const
 

Public Attributes

BYTE * data
 

Protected Attributes

size_t real_start
 
size_t real_end
 
size_t padding
 
size_t data_size
 

Detailed Description

Definition at line 9 of file byte_buffer.h.

Constructor & Destructor Documentation

◆ BasicBuffer()

pesieve::util::BasicBuffer::BasicBuffer ( )
inline

Definition at line 12 of file byte_buffer.h.

Member Function Documentation

◆ getData()

const BYTE * pesieve::util::BasicBuffer::getData ( bool trimmed = false) const
inline

Definition at line 65 of file byte_buffer.h.

◆ getDataSize()

size_t pesieve::util::BasicBuffer::getDataSize ( bool trimmed = false) const
inline

Definition at line 55 of file byte_buffer.h.

◆ getStartOffset()

size_t pesieve::util::BasicBuffer::getStartOffset ( bool trimmed) const
inline

Definition at line 48 of file byte_buffer.h.

◆ isFilled()

bool pesieve::util::BasicBuffer::isFilled ( )
inline

Definition at line 18 of file byte_buffer.h.

◆ trim()

void pesieve::util::BasicBuffer::trim ( )
inline

Definition at line 26 of file byte_buffer.h.

Member Data Documentation

◆ data

BYTE* pesieve::util::BasicBuffer::data

Definition at line 75 of file byte_buffer.h.

◆ data_size

size_t pesieve::util::BasicBuffer::data_size
protected

Definition at line 83 of file byte_buffer.h.

◆ padding

size_t pesieve::util::BasicBuffer::padding
protected

Definition at line 81 of file byte_buffer.h.

◆ real_end

size_t pesieve::util::BasicBuffer::real_end
protected

Definition at line 80 of file byte_buffer.h.

◆ real_start

size_t pesieve::util::BasicBuffer::real_start
protected

Definition at line 79 of file byte_buffer.h.


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