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
29
void
30
GuassianGenerateRandom
(vector<double>
Data
,
UINT64
* AverageOfData,
UINT64
* StandardDeviationOfData,
UINT64
* MedianOfData);
31
32
BOOLEAN
33
TransparentModeCheckHypervisorPresence
(
UINT64
*
Average
,
34
UINT64
* StandardDeviation,
35
UINT64
*
Median
);
36
37
BOOLEAN
38
TransparentModeCheckRdtscpVmexit
(
UINT64
*
Average
,
39
UINT64
* StandardDeviation,
40
UINT64
*
Median
);
41
42
double
43
Randn
(
double
mu,
double
sigma);
44
45
double
46
Median
(vector<double> Cases);
47
48
unsigned
long
long
49
TransparentModeRdtscDiffVmexit
();
50
51
unsigned
long
long
52
TransparentModeRdtscVmexitTracing
();
BOOLEAN
UCHAR BOOLEAN
Definition
BasicTypes.h:39
UINT64
unsigned __int64 UINT64
Definition
BasicTypes.h:21
Average
T Average(const vector< T > &vec)
get the average of a vector
Definition
gaussian-rng.cpp:53
TransparentModeRdtscDiffVmexit
unsigned long long TransparentModeRdtscDiffVmexit()
get the difference clock cycles between two rdtsc(s)
Definition
transparency.cpp:22
TransparentModeCheckRdtscpVmexit
BOOLEAN TransparentModeCheckRdtscpVmexit(UINT64 *Average, UINT64 *StandardDeviation, UINT64 *Median)
compute the average, standard deviation and median if rdtsc+rdtsc
Definition
transparency.cpp:224
TransparentModeRdtscVmexitTracing
unsigned long long TransparentModeRdtscVmexitTracing()
get the difference clock cycles between rdtsc+cpuid+rdtsc
Definition
transparency.cpp:70
Median
double Median(vector< double > Cases)
get the median of a vector
Definition
gaussian-rng.cpp:22
TransparentModeCheckHypervisorPresence
BOOLEAN TransparentModeCheckHypervisorPresence(UINT64 *Average, UINT64 *StandardDeviation, UINT64 *Median)
compute the average, standard deviation and median if rdtsc+cpuid+rdtsc
Definition
transparency.cpp:194
GuassianGenerateRandom
void GuassianGenerateRandom(vector< double > Data, UINT64 *AverageOfData, UINT64 *StandardDeviationOfData, UINT64 *MedianOfData)
Calculate and generate random gaussian number.
Definition
gaussian-rng.cpp:158
Randn
double Randn(double mu, double sigma)
random generator based on calculations
Definition
gaussian-rng.cpp:121
Data
Start of Optional Data
Definition
script_buffer.hex.txt:8
hyperdbg
libhyperdbg
header
transparency.h
Generated by
1.11.0