|
ReactOS 0.4.17-dev-1164-g974a446
|
#include <ntoskrnl.h>#include <appcompat/sdbtypes.h>#include <appcompat/sdbtagid.h>#include <debug.h>
Go to the source code of this file.
Macros | |
| #define | WINAPI NTAPI |
| #define | NDEBUG |
| #define | SDB_HEADER_SIZE 12 |
| #define | SDB_HEADER_MAGIC 'fbds' |
Typedefs | |
| typedef int | BOOL |
Variables | |
| static DB | KseDriverDatabase |
| static TAGID | KseDatabaseRoot |
| ULONG | g_ShimDebugLevel = 1 |
| VOID NTAPI KseDbGetShimsForDriver | ( | _In_ PLDR_DATA_TABLE_ENTRY | LdrEntry, |
| _Inout_ PKSE_SHIM * | Shims, | ||
| _Inout_ PULONG | NumberOfShims | ||
| ) |
Definition at line 199 of file ksedb.c.
Referenced by KsepGetShimsForDriver().
Definition at line 92 of file ksedb.c.
Referenced by CODE_SEG().
|
static |
Definition at line 147 of file ksedb.c.
Referenced by KseDbGetShimsForDriver().
|
static |
Definition at line 129 of file ksedb.c.
Referenced by KseDbGetShimsForDriver(), and KsepDbMatchingFileMatches().
Searches shim database for a tag within specified domain.
| [in] | pdb | Handle to the shim database. |
| [in] | parent | TAGID of parent. |
| [in] | tag | TAG to be located. |
Definition at line 208 of file sdbread.c.
Referenced by KseDbGetShimsForDriver(), KseDbInitialize(), KsepDbStringEquals(), and SdbGetDatabaseID().
Searches shim database for a next tag which matches prev_child within parent's domain.
| [in] | pdb | Handle to the shim database. |
| [in] | parent | TAGID of parent. |
| [in] | prev_child | TAGID of previous match. |
Definition at line 231 of file sdbread.c.
Referenced by KseDbGetShimsForDriver().
Searches shim database for a child of specified parent tag.
| [in] | pdb | Handle to the shim database. |
| [in] | parent | TAGID of parent. |
Definition at line 142 of file sdbread.c.
Referenced by KsepDbMatchingFileMatches(), and SdbFindFirstTag().
Searches shim database for next child of specified parent tag.
| [in] | pdb | Handle to the shim database. |
| [in] | parent | TAGID of parent. |
| [in] | prev_child | TAGID of previous child. |
Definition at line 171 of file sdbread.c.
Referenced by KsepDbMatchingFileMatches(), SdbFindFirstTag(), and SdbFindNextTag().
Searches shim database for string associated with specified tagid.
| [in] | pdb | Handle to the shim database. |
| [in] | tagid | TAGID of string or stringref associated with the string. |
Definition at line 375 of file sdbread.c.
Referenced by KseDbGetShimsForDriver(), and KsepDbStringEquals().
Searches shim database for the tag associated with specified tagid.
| [in] | pdb | Handle to the shim database. |
| [in] | tagid | The TAGID of the tag. |
Definition at line 93 of file sdbread.c.
Referenced by KsepDbMatchingFileMatches(), SdbFindFirstTag(), SdbFindNextTag(), SdbGetFirstChild(), SdbGetTagDataSize(), SdbpCheckTagIDType(), SdbpGetString(), and SdbpGetTagSize().
Reads DWORD value at specified tagid.
| [in] | pdb | Handle to the shim database. |
| [in] | tagid | TAGID of DWORD value. |
| [in] | ret | Default return value in case function fails. |
Definition at line 305 of file sdbread.c.
Referenced by KsepDbMatchingFileMatches().
| BOOL __cdecl ShimDbgPrint | ( | _In_ ULONG | Level, |
| _In_ PCSTR | FunctionName, | ||
| _In_z_ _Printf_format_string_ PCSTR | Format, | ||
| ... | |||
| ) |
Definition at line 49 of file ksedb.c.
|
static |
Definition at line 40 of file ksedb.c.
Referenced by KseDbGetShimsForDriver(), and KseDbInitialize().
|
static |
Definition at line 39 of file ksedb.c.
Referenced by KseDbGetShimsForDriver(), KseDbInitialize(), KsepDbMatchingFileMatches(), and KsepDbStringEquals().