Поделиться через


Сводка Kernel-Mode безопасных целочисленных функций

В следующей таблице перечислены безопасные целочисленные функции, доступные для драйверов режима ядра.

Функции Назначение

RtlDWordPtrAdd
RtlInt8Add
RtlIntAdd
RtlIntPtrAdd
RtlLongLongAdd
RtlLongPtrAdd
RtlPtrdiffTAdd
RtlShortAdd
RtlSizeTAdd
RtlSSIZETAdd
RtlUInt8Add
RtlUIntAdd
RtlUIntPtrAdd
RtlULongAdd
RtlULongLongAdd
RtlULongPtrAdd
RtlUShortAdd

Функции добавления

RtlDWordPtrMult
RtlInt8Mult
RtlIntMult
RtlIntPtrMult
RtlLongLongMult
RtlLongMult
RtlLongPtrMult
RtlPtrdiffTMult
RtlShortMult
RtlSSIZETMult
RtlUInt8Mult
RtlSizeTMult
RtlULongMult
RtlULongLongMult
RtlUIntPtrMult
RtlUIntMult
RtlULongPtrMult
RtlUShortMult

Функции умножения

RtlShortSub
RtlUShortSub
RtlULongPtrSub
RtlULongLongSub
RtlULongSub
RtlUInt8Sub
RtlUIntPtrSub
RtlUIntSub
RtlSSIZETSub
RtlSizetSub
RtlDWordPtrSub
RtlInt8Sub
RtlPtrdiffTSub
RtlLongSub
RtlIntSub
RtlLongLongSub
RtlIntPtrSub
RtlLongPtrSub

Функции вычитания

RtlUShortToShort
RtlLongPtrToShort
RtlLongToShort
RtlLongLongToShort
RtlULongLongToShort
RtlULongToShort
RtlUIntPtrToShort
RtlULongPtrToShort
RtlUIntToShort
RtlIntPtrToShort
RtlIntToShort

Преобразование в short

RtlLongPtrToChar
RtlLongLongToChar
RtlUInt8ToChar
RtlULongToChar
RtlLongToChar
RtlULongLongToChar
RtlUIntToChar
RtlIntToChar
RtlIntPtrToChar
RtlULongPtrToChar
RtlShortToChar
RtlUShortToChar
RtlByteToChar
RtlUIntPtrToChar

Преобразование в char

RtlIntPtrToInt
RtlLongLongToInt
RtlLongPtrToInt
RtlULongLongToInt
RtlULongPtrToInt
RtlLongToInt
RtlULongToInt
RtlUIntToInt
RtlUIntPtrToInt

Преобразование в Int

RtlUInt8ToInt8
RtlLongLongToInt8
RtlLongPtrToInt8
RtlULongPtrToInt8
RtlLongToInt8
RtlULongLongToInt8
RtlULongToInt8
RtlIntToInt8
RtlIntPtrToInt8
RtlUIntToInt8
RtlByteToInt8
RtlUIntPtrToInt8
RtlUShortToInt8
RtlShortToInt8

Преобразование в Int8

RtlUIntPtrToInt16

Преобразование в Int16

RtlLongLongToIntPtr
RtlLongPtrToIntPtr
RtlLongToIntPtr
RtlULongToIntPtr
RtlULongPtrToIntPtr
RtlUIntPtrToIntPtr
RtlUIntToIntPtr

Преобразование в IntPtr

RtlULongToLong
RtlIntPtrToLong
RtlLongLongLongToLong
RtlUIntPtrToLong
RtlLongPtrToLong
RtlUIntToLong
RtlULongLongLongToLong
RtlULongPtrToLong

Преобразование в long

RtlIntPtrToLongPtr
RtlULongToLongPtr
RtlLongLongToLongPtr
RtlUIntPtrToLongPtr
RtlULongLongToLongPtr
RtlUIntToLongPtr
RtlULongPtrToLongPtr

Преобразование в LongPtr

RtlULongLongToLongLongLong
RtlULongPtrToLongLong
RtlUIntPtrToLongLong

Преобразование в LongLong

RtlIntPtrToUShort
RtlInt8ToUShort
RtlULongToUShort
RtlIntToUShort
RtlLongLongToUShort
RtlLongPtrToUShort
RtlLongToUShort
RtlShortToUShort
RtlUIntPtrToUShort
RtlUIntToUShort
RtlULongLongToUShort
RtlULongPtrToUShort

Преобразование в UShort

RtlUShortToUChar
RtlInt8ToUChar
RtlIntPtrToUChar
RtlIntToUChar
RtlLongLongToUChar
RtlLongPtrToUChar
RtlLongToUChar
RtlShortToUChar
RtlUIntPtrToUChar
RtlUIntToUChar
RtlULongLongToUChar
RtlULongPtrToUChar
RtlULongToUChar

Преобразование в UChar

RtlInt8ToUInt
RtlULongToUInt
RtlLongLongToUInt
RtlIntPtrToUInt
RtlShortToUInt
RtlLongPtrToUInt
RtlLongToUInt
RtlUIntPtrToUInt
RtlIntToUInt
RtlULongLongToUInt
RtlULongPtrToUInt

Преобразование в Uint

RtlUShortToUInt8
RtlInt8ToUInt8
RtlLongLongToUInt8
RtlIntToUInt8
RtlIntPtrToUInt8
RtlLongPtrToUInt8
RtlShortToUInt8
RtlLongToUInt8
RtlUIntPtrToUInt8
RtlUIntToUInt8
RtlULongLongToUInt8
RtlULongPtrToUInt8
RtlULongToUInt8

Преобразование в Uint8

RtlUIntPtrToUInt16

Преобразование в Uint16

RtlULongToUIntPtr
RtlLongToUIntPtr
RtlShortToUIntPtr
RtlInt8ToUIntPtr
RtlIntPtrToUIntPtr
RtlLongPtrToUIntPtr
RtlULongLongToUIntPtr
RtlULongPtrToUIntPtr

Преобразование в UintPtr

RtlULongPtrToULong
RtlInt8ToULong
RtlIntPtrToULong
RtlIntToULong
RtlLongLongToULong
RtlLongPtrToULong
RtlLongToULong
RtlShortToULong
RtlUIntPtrToULong
RtlULongLongToULong

Преобразование в ULong

RtlShortToULongLong
RtlInt8ToULongLong
RtlIntToULongLong
RtlLongLongToULongLong
RtlIntPtrToULongLong
RtlLongPtrToULongLong
RtlLongToULongLong

Преобразование в ULongLong

RtlULongLongToULongPtr
RtlIntPtrToULongPtr
RtlLongPtrToULongPtr
RtlInt8ToULongPtr
RtlLongToULongPtr
RtlShortToULongPtr

Преобразование в ULongPtr