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::ByteBuffer Struct Reference

#include <byte_buffer.h>

Inheritance diagram for pesieve::util::ByteBuffer:

Public Member Functions

 ByteBuffer ()
 ByteBuffer (const ByteBuffer &p1)
 ~ByteBuffer ()
virtual ByteBufferoperator= (const ByteBuffer &p1)
bool isValidPtr (BYTE *field_bgn, size_t field_size)
bool isDataContained (const BYTE *rawData, size_t r_size)
bool allocBuffer (size_t size)
void freeBuffer ()
Public Member Functions inherited from pesieve::util::BasicBuffer
 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

Protected Member Functions

bool copy (const ByteBuffer &p1)

Additional Inherited Members

Public Attributes inherited from pesieve::util::BasicBuffer
BYTE * data
Protected Attributes inherited from pesieve::util::BasicBuffer
size_t real_start
size_t real_end
size_t padding
size_t data_size

Detailed Description

Definition at line 88 of file byte_buffer.h.

Constructor & Destructor Documentation

◆ ByteBuffer() [1/2]

pesieve::util::ByteBuffer::ByteBuffer ( )
inline

Definition at line 90 of file byte_buffer.h.

Here is the call graph for this function:

◆ ByteBuffer() [2/2]

pesieve::util::ByteBuffer::ByteBuffer ( const ByteBuffer & p1)
inline

Definition at line 96 of file byte_buffer.h.

Here is the call graph for this function:

◆ ~ByteBuffer()

pesieve::util::ByteBuffer::~ByteBuffer ( )
inline

Definition at line 102 of file byte_buffer.h.

Here is the call graph for this function:

Member Function Documentation

◆ allocBuffer()

bool pesieve::util::ByteBuffer::allocBuffer ( size_t size)
inline

Definition at line 126 of file byte_buffer.h.

Here is the call graph for this function:

◆ copy()

bool pesieve::util::ByteBuffer::copy ( const ByteBuffer & p1)
inlineprotected

Definition at line 153 of file byte_buffer.h.

Here is the call graph for this function:

◆ freeBuffer()

void pesieve::util::ByteBuffer::freeBuffer ( )
inline

Definition at line 138 of file byte_buffer.h.

◆ isDataContained()

bool pesieve::util::ByteBuffer::isDataContained ( const BYTE * rawData,
size_t r_size )
inline

Definition at line 117 of file byte_buffer.h.

◆ isValidPtr()

bool pesieve::util::ByteBuffer::isValidPtr ( BYTE * field_bgn,
size_t field_size )
inline

Definition at line 112 of file byte_buffer.h.

◆ operator=()

virtual ByteBuffer & pesieve::util::ByteBuffer::operator= ( const ByteBuffer & p1)
inlinevirtual

Definition at line 107 of file byte_buffer.h.

Here is the call graph for this function:

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