Bitdefender Hypervisor Memory Introspection
lixksym.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020 Bitdefender
3
* SPDX-License-Identifier: Apache-2.0
4
*/
5
#ifndef _LIXKSYM_H_
6
#define _LIXKSYM_H_
7
8
#include "
introcore.h
"
9
10
11
INTSTATUS
12
IntKsymInit
(
13
void
14
);
15
16
QWORD
17
IntKsymFindByName
(
18
_In_
const
char
*Name,
19
_Out_opt_
QWORD
*SymEnd
20
);
21
22
INTSTATUS
23
IntKsymFindByAddress
(
24
_In_
QWORD
Gva,
25
_In_
DWORD
Length,
26
_Out_
char
*SymName,
27
_Out_opt_
QWORD
*SymStart,
28
_Out_opt_
QWORD
*SymEnd
29
);
30
31
void
32
IntKsymUninit
(
33
void
34
);
35
36
#endif
_Out_
#define _Out_
Definition:
intro_sal.h:22
_In_
#define _In_
Definition:
intro_sal.h:21
introcore.h
IntKsymFindByAddress
INTSTATUS IntKsymFindByAddress(QWORD Gva, DWORD Length, char *SymName, QWORD *SymStart, QWORD *SymEnd)
Finds the symbol which is located at the given address.
Definition:
lixksym.c:1283
INTSTATUS
int INTSTATUS
The status data type.
Definition:
introstatus.h:24
_Out_opt_
#define _Out_opt_
Definition:
intro_sal.h:30
QWORD
unsigned long long QWORD
Definition:
intro_types.h:53
IntKsymInit
INTSTATUS IntKsymInit(void)
Initialize the kallsyms subsystem based on the os info provided by LIX_FIELD(Info, HasKsym*).
Definition:
lixksym.c:1046
DWORD
uint32_t DWORD
Definition:
intro_types.h:49
IntKsymUninit
void IntKsymUninit(void)
Definition:
lixksym.c:1256
IntKsymFindByName
QWORD IntKsymFindByName(const char *Name, QWORD *SymEnd)
Searches the given Name in kallsyms and returns the Start & End offset.
Definition:
lixksym.c:1399
introcore
include
lixksym.h
Generated by
1.8.13