The definition of functions written in Assembly.
More...
Go to the source code of this file.
|
void | AsmEnableVmxOperation () |
| Enable VMX Operation.
|
|
void | AsmRestoreToVmxOffState () |
| Restore in vmxoff state.
|
|
NTSTATUS | AsmVmxVmcall (unsigned long long VmcallNumber, unsigned long long OptionalParam1, unsigned long long OptionalParam2, long long OptionalParam3) |
| Request Vmcall.
|
|
void | AsmHypervVmcall (unsigned long long GuestRegisters) |
| Hyper-v vmcall handler.
|
|
unsigned long long | AsmVmfunc (unsigned long EptpIndex, unsigned long Function) |
| VMFUNC instruction.
|
|
void | AsmVmxSaveState () |
| Save state on vmx.
|
|
void | AsmVmxRestoreState () |
| Restore state on vmx.
|
|
void | AsmVmexitHandler () |
| Vm-exit handler.
|
|
void | AsmSaveVmxOffState () |
| Save vmxoff state.
|
|
unsigned char | AsmInvept (unsigned long Type, void *Descriptors) |
| INVEPT wrapper.
|
|
unsigned char | AsmInvvpid (unsigned long Type, void *Descriptors) |
| INVVPID wrapper.
|
|
unsigned short | AsmGetCs () |
| Get CS Register.
|
|
unsigned short | AsmGetDs () |
| Get DS Register.
|
|
unsigned short | AsmGetEs () |
| Get ES Register.
|
|
unsigned short | AsmGetSs () |
| Get SS Register.
|
|
unsigned short | AsmGetFs () |
| Get FS Register.
|
|
unsigned short | AsmGetGs () |
| Get GS Register.
|
|
unsigned short | AsmGetLdtr () |
| Get LDTR Register.
|
|
unsigned short | AsmGetTr () |
| Get TR Register.
|
|
unsigned long long | AsmGetGdtBase () |
| get GDT base
|
|
unsigned short | AsmGetGdtLimit () |
| Get GDT Limit.
|
|
unsigned long long | AsmGetIdtBase () |
| Get IDT base.
|
|
unsigned short | AsmGetIdtLimit () |
| Get IDT limit.
|
|
UINT32 | AsmGetAccessRights (unsigned short Selector) |
|
unsigned short | AsmGetRflags () |
| Get R/EFLAGS.
|
|
void | AsmCliInstruction () |
| Run CLI Instruction.
|
|
void | AsmStiInstruction () |
| Run STI Instruction.
|
|
void | AsmReloadGdtr (void *GdtBase, unsigned long GdtLimit) |
| Reload new GDTR.
|
|
void | AsmReloadIdtr (void *GdtBase, unsigned long GdtLimit) |
| Reload new IDTR.
|
|
void | AsmGeneralDetourHook (void) |
| Detour hook handler.
|
|
unsigned long long | AsmTestWrapperWithTestTags (unsigned long long Param1, unsigned long long Param2, unsigned long long Param3, unsigned long long Param4) |
| Tests with test tags wrapper.
|
|
void | InterruptHandler0 () |
| The 0th entry in IDT.
|
|
void | InterruptHandler1 () |
| The 1st entry in IDT.
|
|
void | InterruptHandler2 () |
| The 2nd entry in IDT.
|
|
void | InterruptHandler3 () |
| The 3rd entry in IDT.
|
|
void | InterruptHandler4 () |
| The 4th entry in IDT.
|
|
void | InterruptHandler5 () |
| The 5th entry in IDT.
|
|
void | InterruptHandler6 () |
| The 6th entry in IDT.
|
|
void | InterruptHandler7 () |
| The 7th entry in IDT.
|
|
void | InterruptHandler8 () |
| The 8th entry in IDT.
|
|
void | InterruptHandler9 () |
| The 9th entry in IDT.
|
|
void | InterruptHandler10 () |
| The 10th entry in IDT.
|
|
void | InterruptHandler11 () |
| The 11th entry in IDT.
|
|
void | InterruptHandler12 () |
| The 12th entry in IDT.
|
|
void | InterruptHandler13 () |
| The 13th entry in IDT.
|
|
void | InterruptHandler14 () |
| The 14th entry in IDT.
|
|
void | InterruptHandler15 () |
| The 15th entry in IDT.
|
|
void | InterruptHandler16 () |
| The 16th entry in IDT.
|
|
void | InterruptHandler17 () |
| The 17th entry in IDT.
|
|
void | InterruptHandler18 () |
| The 18th entry in IDT.
|
|
void | InterruptHandler19 () |
| The 19th entry in IDT.
|
|
void | InterruptHandler20 () |
| The 20th entry in IDT.
|
|
void | InterruptHandler21 () |
| The 21st entry in IDT.
|
|
void | InterruptHandler22 () |
| The 22nd entry in IDT.
|
|
void | InterruptHandler23 () |
| The 23rd entry in IDT.
|
|
void | InterruptHandler24 () |
| The 24th entry in IDT.
|
|
void | InterruptHandler25 () |
| The 25th entry in IDT.
|
|
void | InterruptHandler26 () |
| The 26th entry in IDT.
|
|
void | InterruptHandler27 () |
| The 27th entry in IDT.
|
|
void | InterruptHandler28 () |
| The 28th entry in IDT.
|
|
void | InterruptHandler29 () |
| The 29th entry in IDT.
|
|
void | InterruptHandler30 () |
| The 30th entry in IDT.
|
|
The definition of functions written in Assembly.
- Author
- Sina Karvandi (sina@.nosp@m.hype.nosp@m.rdbg..nosp@m.org)
- Version
- 0.1
- Date
- 2020-04-11
- Copyright
- This project is released under the GNU Public License v3.
◆ AsmCliInstruction()
void AsmCliInstruction |
( |
| ) |
|
|
externinline |
◆ AsmEnableVmxOperation()
void AsmEnableVmxOperation |
( |
| ) |
|
|
externinline |
◆ AsmGeneralDetourHook()
void AsmGeneralDetourHook |
( |
void | | ) |
|
|
extern |
◆ AsmGetAccessRights()
UINT32 AsmGetAccessRights |
( |
unsigned short | Selector | ) |
|
|
extern |
◆ AsmGetCs()
unsigned short AsmGetCs |
( |
| ) |
|
|
extern |
Get CS Register.
- Returns
- unsigned short
◆ AsmGetDs()
unsigned short AsmGetDs |
( |
| ) |
|
|
extern |
Get DS Register.
- Returns
- unsigned short
◆ AsmGetEs()
unsigned short AsmGetEs |
( |
| ) |
|
|
extern |
Get ES Register.
- Returns
- unsigned short
◆ AsmGetFs()
unsigned short AsmGetFs |
( |
| ) |
|
|
extern |
Get FS Register.
- Returns
- unsigned short
◆ AsmGetGdtBase()
unsigned long long AsmGetGdtBase |
( |
| ) |
|
|
externinline |
get GDT base
- Returns
- unsigned long long
◆ AsmGetGdtLimit()
unsigned short AsmGetGdtLimit |
( |
| ) |
|
|
extern |
Get GDT Limit.
- Returns
- unsigned short
◆ AsmGetGs()
unsigned short AsmGetGs |
( |
| ) |
|
|
extern |
Get GS Register.
- Returns
- unsigned short
◆ AsmGetIdtBase()
unsigned long long AsmGetIdtBase |
( |
| ) |
|
|
externinline |
Get IDT base.
- Returns
- unsigned long long
◆ AsmGetIdtLimit()
unsigned short AsmGetIdtLimit |
( |
| ) |
|
|
extern |
Get IDT limit.
- Returns
- unsigned short
◆ AsmGetLdtr()
unsigned short AsmGetLdtr |
( |
| ) |
|
|
extern |
Get LDTR Register.
- Returns
- unsigned short
◆ AsmGetRflags()
unsigned short AsmGetRflags |
( |
| ) |
|
|
extern |
Get R/EFLAGS.
- Returns
- unsigned short
◆ AsmGetSs()
unsigned short AsmGetSs |
( |
| ) |
|
|
extern |
Get SS Register.
- Returns
- unsigned short
◆ AsmGetTr()
unsigned short AsmGetTr |
( |
| ) |
|
|
extern |
Get TR Register.
- Returns
- unsigned short
◆ AsmHypervVmcall()
void AsmHypervVmcall |
( |
unsigned long long | GuestRegisters | ) |
|
|
externinline |
Hyper-v vmcall handler.
- Parameters
-
- Returns
- void
◆ AsmInvept()
unsigned char AsmInvept |
( |
unsigned long | Type, |
|
|
void * | Descriptors ) |
|
externinline |
INVEPT wrapper.
- Parameters
-
- Returns
- unsigned char
◆ AsmInvvpid()
unsigned char AsmInvvpid |
( |
unsigned long | Type, |
|
|
void * | Descriptors ) |
|
externinline |
INVVPID wrapper.
- Parameters
-
- Returns
- unsigned char
◆ AsmReloadGdtr()
void AsmReloadGdtr |
( |
void * | GdtBase, |
|
|
unsigned long | GdtLimit ) |
|
extern |
Reload new GDTR.
- Parameters
-
◆ AsmReloadIdtr()
void AsmReloadIdtr |
( |
void * | GdtBase, |
|
|
unsigned long | GdtLimit ) |
|
extern |
Reload new IDTR.
- Parameters
-
◆ AsmRestoreToVmxOffState()
void AsmRestoreToVmxOffState |
( |
| ) |
|
|
externinline |
◆ AsmSaveVmxOffState()
void AsmSaveVmxOffState |
( |
| ) |
|
|
externinline |
◆ AsmStiInstruction()
void AsmStiInstruction |
( |
| ) |
|
|
externinline |
◆ AsmTestWrapperWithTestTags()
unsigned long long AsmTestWrapperWithTestTags |
( |
unsigned long long | Param1, |
|
|
unsigned long long | Param2, |
|
|
unsigned long long | Param3, |
|
|
unsigned long long | Param4 ) |
|
extern |
Tests with test tags wrapper.
◆ AsmVmexitHandler()
void AsmVmexitHandler |
( |
| ) |
|
|
extern |
◆ AsmVmfunc()
unsigned long long AsmVmfunc |
( |
unsigned long | EptpIndex, |
|
|
unsigned long | Function ) |
|
externinline |
VMFUNC instruction.
- Parameters
-
- Returns
- unsigned long long I'm not sure what it returns
◆ AsmVmxRestoreState()
void AsmVmxRestoreState |
( |
| ) |
|
|
extern |
◆ AsmVmxSaveState()
◆ AsmVmxVmcall()
NTSTATUS AsmVmxVmcall |
( |
unsigned long long | VmcallNumber, |
|
|
unsigned long long | OptionalParam1, |
|
|
unsigned long long | OptionalParam2, |
|
|
long long | OptionalParam3 ) |
|
externinline |
Request Vmcall.
- Parameters
-
VmcallNumber | |
OptionalParam1 | |
OptionalParam2 | |
OptionalParam3 | |
- Returns
- NTSTATUS
◆ InterruptHandler0()
void InterruptHandler0 |
( |
| ) |
|
|
extern |
◆ InterruptHandler1()
void InterruptHandler1 |
( |
| ) |
|
|
extern |
◆ InterruptHandler10()
void InterruptHandler10 |
( |
| ) |
|
|
extern |
◆ InterruptHandler11()
void InterruptHandler11 |
( |
| ) |
|
|
extern |
◆ InterruptHandler12()
void InterruptHandler12 |
( |
| ) |
|
|
extern |
◆ InterruptHandler13()
void InterruptHandler13 |
( |
| ) |
|
|
extern |
◆ InterruptHandler14()
void InterruptHandler14 |
( |
| ) |
|
|
extern |
◆ InterruptHandler15()
void InterruptHandler15 |
( |
| ) |
|
|
extern |
◆ InterruptHandler16()
void InterruptHandler16 |
( |
| ) |
|
|
extern |
◆ InterruptHandler17()
void InterruptHandler17 |
( |
| ) |
|
|
extern |
◆ InterruptHandler18()
void InterruptHandler18 |
( |
| ) |
|
|
extern |
◆ InterruptHandler19()
void InterruptHandler19 |
( |
| ) |
|
|
extern |
◆ InterruptHandler2()
void InterruptHandler2 |
( |
| ) |
|
|
extern |
◆ InterruptHandler20()
void InterruptHandler20 |
( |
| ) |
|
|
extern |
◆ InterruptHandler21()
void InterruptHandler21 |
( |
| ) |
|
|
extern |
◆ InterruptHandler22()
void InterruptHandler22 |
( |
| ) |
|
|
extern |
◆ InterruptHandler23()
void InterruptHandler23 |
( |
| ) |
|
|
extern |
◆ InterruptHandler24()
void InterruptHandler24 |
( |
| ) |
|
|
extern |
◆ InterruptHandler25()
void InterruptHandler25 |
( |
| ) |
|
|
extern |
◆ InterruptHandler26()
void InterruptHandler26 |
( |
| ) |
|
|
extern |
◆ InterruptHandler27()
void InterruptHandler27 |
( |
| ) |
|
|
extern |
◆ InterruptHandler28()
void InterruptHandler28 |
( |
| ) |
|
|
extern |
◆ InterruptHandler29()
void InterruptHandler29 |
( |
| ) |
|
|
extern |
◆ InterruptHandler3()
void InterruptHandler3 |
( |
| ) |
|
|
extern |
◆ InterruptHandler30()
void InterruptHandler30 |
( |
| ) |
|
|
extern |
◆ InterruptHandler4()
void InterruptHandler4 |
( |
| ) |
|
|
extern |
◆ InterruptHandler5()
void InterruptHandler5 |
( |
| ) |
|
|
extern |
◆ InterruptHandler6()
void InterruptHandler6 |
( |
| ) |
|
|
extern |
◆ InterruptHandler7()
void InterruptHandler7 |
( |
| ) |
|
|
extern |
◆ InterruptHandler8()
void InterruptHandler8 |
( |
| ) |
|
|
extern |
◆ InterruptHandler9()
void InterruptHandler9 |
( |
| ) |
|
|
extern |