Go to the documentation of this file.
25 #pragma warning(disable : 4054)
35 printf(
"Entering DriverEntry()\n");
39 printf(
"Leaving DriverEntry()\n");
48 KFLOATING_SAVE float_save;
54 NT_ASSERT(KeGetCurrentIrql() <= DISPATCH_LEVEL);
61 status = KeSaveFloatingPointState(&float_save);
75 printf(
"cs_driver!cs_driver_hello:\n");
76 for (
size_t j = 0; j <
count; j++) {
78 insn[j].mnemonic, insn[j].op_str);
86 KeRestoreFloatingPointState(&float_save);
91 _Use_decl_annotations_
int __cdecl
printf(
const char *_Format, ...) {
95 va_start(
args, _Format);
96 status = vDbgPrintEx(DPFLTR_DEFAULT_ID, DPFLTR_ERROR_LEVEL, _Format,
args);
CAPSTONE_EXPORT cs_err CAPSTONE_API cs_close(csh *handle)
@ CS_MODE_32
32-bit mode (X86)
CAPSTONE_EXPORT size_t CAPSTONE_API cs_disasm(csh ud, const uint8_t *buffer, size_t size, uint64_t offset, size_t count, cs_insn **insn)
_Use_decl_annotations_ int __cdecl printf(const char *_Format,...)
CAPSTONE_EXPORT cs_err CAPSTONE_API cs_open(cs_arch arch, cs_mode mode, csh *handle)
#define NT_SUCCESS(status)
@ CS_ARCH_X86
X86 architecture (including x86 & x86-64)
unsigned __int64 uint64_t
_W64 unsigned int uintptr_t
@ CS_MODE_64
64-bit mode (X86, PPC)
DRIVER_INITIALIZE DriverEntry
static NTSTATUS cs_driver_hello()
CAPSTONE_EXPORT void CAPSTONE_API cs_free(cs_insn *insn, size_t count)
#define STATUS_UNSUCCESSFUL
grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:07