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
stats_util.h File Reference
#include <windows.h>
#include <iostream>
#include <string>
#include <map>
#include <set>

Go to the source code of this file.

Namespaces

namespace  pesieve
 
namespace  pesieve::stats
 

Functions

template<typename T >
std::string pesieve::stats::hexdumpValue (const BYTE *in_buf, const size_t max_size)
 
template<typename T >
std::string pesieve::stats::hexdumpValues (std::set< T > &values)
 
template<typename T >
BYTE pesieve::stats::getMostFrequentValue (IN const std::map< size_t, std::set< T > > &frequencies)
 
template<typename T >
size_t pesieve::stats::getMostFrequentValues (IN const std::map< size_t, std::set< T > > &frequencies, OUT std::set< T > &values, IN OPTIONAL size_t top=0, IN OPTIONAL size_t maxDiff=0)
 
template<typename T >
bool pesieve::stats::isAllPrintable (IN std::map< T, size_t > &histogram)