HyperDbg Debugger
Loading...
Searching...
No Matches
transparency.h
Go to the documentation of this file.
1
12#pragma once
13
15// Definitions //
17
23#define TestCount 1000
24
26// Functions //
28
29void
30GuassianGenerateRandom(vector<double> Data, UINT64 * AverageOfData, UINT64 * StandardDeviationOfData, UINT64 * MedianOfData);
31
34 UINT64 * StandardDeviation,
35 UINT64 * Median);
36
39 UINT64 * StandardDeviation,
40 UINT64 * Median);
41
42double
43Randn(double mu, double sigma);
44
45double
46Median(vector<double> Cases);
47
48unsigned long long
50
51unsigned long long
UCHAR BOOLEAN
Definition BasicTypes.h:39
unsigned __int64 UINT64
Definition BasicTypes.h:21
T Average(const vector< T > &vec)
get the average of a vector
Definition gaussian-rng.cpp:53
unsigned long long TransparentModeRdtscDiffVmexit()
get the difference clock cycles between two rdtsc(s)
Definition transparency.cpp:22
BOOLEAN TransparentModeCheckRdtscpVmexit(UINT64 *Average, UINT64 *StandardDeviation, UINT64 *Median)
compute the average, standard deviation and median if rdtsc+rdtsc
Definition transparency.cpp:224
unsigned long long TransparentModeRdtscVmexitTracing()
get the difference clock cycles between rdtsc+cpuid+rdtsc
Definition transparency.cpp:70
double Median(vector< double > Cases)
get the median of a vector
Definition gaussian-rng.cpp:22
BOOLEAN TransparentModeCheckHypervisorPresence(UINT64 *Average, UINT64 *StandardDeviation, UINT64 *Median)
compute the average, standard deviation and median if rdtsc+cpuid+rdtsc
Definition transparency.cpp:194
void GuassianGenerateRandom(vector< double > Data, UINT64 *AverageOfData, UINT64 *StandardDeviationOfData, UINT64 *MedianOfData)
Calculate and generate random gaussian number.
Definition gaussian-rng.cpp:158
double Randn(double mu, double sigma)
random generator based on calculations
Definition gaussian-rng.cpp:121
Start of Optional Data
Definition script_buffer.hex.txt:8