add event_inject and event_inject_error_code

This commit is contained in:
Sinaei 2023-08-21 23:12:05 +09:00
parent 84e4df0088
commit e85d5ce0fe
9 changed files with 669 additions and 490 deletions

View file

@ -91,62 +91,65 @@ typedef struct ACTION_BUFFER {
#define FUNC_PAUSE 47
#define FUNC_FLUSH 48
#define FUNC_SPINLOCK_LOCK_CUSTOM_WAIT 49
#define FUNC_POI 50
#define FUNC_DB 51
#define FUNC_DD 52
#define FUNC_DW 53
#define FUNC_DQ 54
#define FUNC_NEG 55
#define FUNC_HI 56
#define FUNC_LOW 57
#define FUNC_NOT 58
#define FUNC_CHECK_ADDRESS 59
#define FUNC_STRLEN 60
#define FUNC_WCSLEN 61
#define FUNC_DISASSEMBLE_LEN 62
#define FUNC_DISASSEMBLE_LEN32 63
#define FUNC_DISASSEMBLE_LEN64 64
#define FUNC_INTERLOCKED_INCREMENT 65
#define FUNC_INTERLOCKED_DECREMENT 66
#define FUNC_REFERENCE 67
#define FUNC_PHYSICAL_TO_VIRTUAL 68
#define FUNC_VIRTUAL_TO_PHYSICAL 69
#define FUNC_EVENT_SC 70
#define FUNC_ED 71
#define FUNC_EB 72
#define FUNC_EQ 73
#define FUNC_INTERLOCKED_EXCHANGE 74
#define FUNC_INTERLOCKED_EXCHANGE_ADD 75
#define FUNC_INTERLOCKED_COMPARE_EXCHANGE 76
#define FUNC_MEMCPY 77
#define FUNC_POI 78
#define FUNC_DB 79
#define FUNC_DD 80
#define FUNC_DW 81
#define FUNC_DQ 82
#define FUNC_NEG 83
#define FUNC_HI 84
#define FUNC_LOW 85
#define FUNC_NOT 86
#define FUNC_CHECK_ADDRESS 87
#define FUNC_STRLEN 88
#define FUNC_WCSLEN 89
#define FUNC_DISASSEMBLE_LEN 90
#define FUNC_DISASSEMBLE_LEN32 91
#define FUNC_DISASSEMBLE_LEN64 92
#define FUNC_INTERLOCKED_INCREMENT 93
#define FUNC_INTERLOCKED_DECREMENT 94
#define FUNC_REFERENCE 95
#define FUNC_PHYSICAL_TO_VIRTUAL 96
#define FUNC_VIRTUAL_TO_PHYSICAL 97
#define FUNC_EVENT_SC 98
#define FUNC_ED 99
#define FUNC_EB 100
#define FUNC_EQ 101
#define FUNC_INTERLOCKED_EXCHANGE 102
#define FUNC_INTERLOCKED_EXCHANGE_ADD 103
#define FUNC_INTERLOCKED_COMPARE_EXCHANGE 104
#define FUNC_MEMCPY 105
#define FUNC_EVENT_INJECT 50
#define FUNC_POI 51
#define FUNC_DB 52
#define FUNC_DD 53
#define FUNC_DW 54
#define FUNC_DQ 55
#define FUNC_NEG 56
#define FUNC_HI 57
#define FUNC_LOW 58
#define FUNC_NOT 59
#define FUNC_CHECK_ADDRESS 60
#define FUNC_STRLEN 61
#define FUNC_WCSLEN 62
#define FUNC_DISASSEMBLE_LEN 63
#define FUNC_DISASSEMBLE_LEN32 64
#define FUNC_DISASSEMBLE_LEN64 65
#define FUNC_INTERLOCKED_INCREMENT 66
#define FUNC_INTERLOCKED_DECREMENT 67
#define FUNC_REFERENCE 68
#define FUNC_PHYSICAL_TO_VIRTUAL 69
#define FUNC_VIRTUAL_TO_PHYSICAL 70
#define FUNC_EVENT_SC 71
#define FUNC_ED 72
#define FUNC_EB 73
#define FUNC_EQ 74
#define FUNC_INTERLOCKED_EXCHANGE 75
#define FUNC_INTERLOCKED_EXCHANGE_ADD 76
#define FUNC_INTERLOCKED_COMPARE_EXCHANGE 77
#define FUNC_MEMCPY 78
#define FUNC_EVENT_INJECT_ERROR_CODE 79
#define FUNC_POI 80
#define FUNC_DB 81
#define FUNC_DD 82
#define FUNC_DW 83
#define FUNC_DQ 84
#define FUNC_NEG 85
#define FUNC_HI 86
#define FUNC_LOW 87
#define FUNC_NOT 88
#define FUNC_CHECK_ADDRESS 89
#define FUNC_STRLEN 90
#define FUNC_WCSLEN 91
#define FUNC_DISASSEMBLE_LEN 92
#define FUNC_DISASSEMBLE_LEN32 93
#define FUNC_DISASSEMBLE_LEN64 94
#define FUNC_INTERLOCKED_INCREMENT 95
#define FUNC_INTERLOCKED_DECREMENT 96
#define FUNC_REFERENCE 97
#define FUNC_PHYSICAL_TO_VIRTUAL 98
#define FUNC_VIRTUAL_TO_PHYSICAL 99
#define FUNC_EVENT_SC 100
#define FUNC_ED 101
#define FUNC_EB 102
#define FUNC_EQ 103
#define FUNC_INTERLOCKED_EXCHANGE 104
#define FUNC_INTERLOCKED_EXCHANGE_ADD 105
#define FUNC_INTERLOCKED_COMPARE_EXCHANGE 106
#define FUNC_MEMCPY 107
#define FUNC_EVENT_INJECT_ERROR_CODE 108
typedef enum REGS_ENUM {
REGISTER_RAX = 0,
REGISTER_EAX = 1,