### Basic Usage Example Source: https://github.com/bourdon94m/sighunt/blob/master/Readme.MD Demonstrates how to perform external and internal pattern scans, find all matches, scan for VTable instances, and measure scan duration. Include SigHunt.h and chrono for timing. ```cpp #include "SigHunt.h" #include int main() { auto start = std::chrono::high_resolution_clock::now(); // External scanning uintptr_t addr = SigHunt::External::Find("CalculatorApp.exe", "E8 C3 ?? ?? ?? ?? ?? 90"); // Internal scanning uintptr_t addr2 = SigHunt::Internal::Find("E8 C3 ?? ?? ?? ?? ?? 90"); // Find all external matches std::vector allResExternal = SigHunt::External::FindAll("CalculatorApp.exe", "E8 C3 ?? ?? ?? ?? ?? 90"); // Find all internal matches std::vector allResInternal = SigHunt::Internal::FindAll("E8 C3 ?? ?? ?? ?? ?? 90"); // VTable instances from first match std::vector vtableInstances = SigHunt::VTableScanner::FindVTableInstances(addr); auto end = std::chrono::high_resolution_clock::now(); auto ms = std::chrono::duration_cast(end - start); std::cout << "External: 0x" << std::hex << addr << std::endl; std::cout << "Internal: 0x" << std::hex << addr2 << std::endl; std::cout << "All External matches: " << std::dec << allResExternal.size() << std::endl; std::cout << "All Internal matches: " << std::dec << allResInternal.size() << std::endl; std::cout << "VTable instances: " << std::dec << vtableInstances.size() << std::endl; std::cout << "Total scan time: " << std::dec << ms.count() << "ms\n"; return 0; } ``` -------------------------------- ### Include SigHunt Header Source: https://github.com/bourdon94m/sighunt/blob/master/Readme.MD To integrate SigHunt into your project, simply include the 'SigHunt.h' header file. No additional linking or build setup is required as it is a header-only library. ```cpp #include "SigHunt.h" ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.