VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
BytePattern.cpp File Reference
#include "Engine/Memory/BytePattern.hpp"
#include <VoltMod/Core/Log.hpp>
#include <charconv>
#include <cstring>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  VoltMod
 

Functions

std::vector< PatternByte > VoltMod::ParsePattern (const std::string &pattern)
 
void VoltMod::CountBytes (const uint8_t *base, size_t size, ByteHistogram &counts)
 
size_t VoltMod::AnchorOf (const std::vector< PatternByte > &pattern, const ByteHistogram &frequencies)
 
static bool VoltMod::Matches (const uint8_t *at, const std::vector< PatternByte > &pattern)
 
const uint8_t * VoltMod::FindFirst (const uint8_t *base, size_t size, const std::vector< PatternByte > &pattern, size_t anchor)