物件目錄相關的

2021-05-24 02:44:39 字數 3183 閱讀 7945

kd> !object /driver/pci

object: 82b9bf38  type: (82ba33b0) driver

objectheader: 82b9bf20 (old version)

handlecount: 0  pointercount: 81

directory object: e1013880  name: pci

kd> dt _object_header 82b9bf38-0x18

nt!_object_header

+0x000 pointercount     : 81

+0x004 handlecount      : 0

+0x004 nexttofree       : (null)

+0x008 type             : 0x82ba33b0 _object_type

+0x00c nameinfooffset   : 0x10 ''

+0x00d handleinfooffset : 0 ''

+0x00e quotainfooffset  : 0 ''

+0x00f flags            : 0x32 '2'

+0x010 objectcreateinfo : 0x00000001 _object_create_information

+0x010 quotablockcharged : 0x00000001

+0x014 securitydescriptor : 0xe145df8f

+0x018 body             : _quad

kd> dt _object_type 0x82ba33b0

nt!_object_type

+0x000 mutex            : _eresource

+0x038 typelist         : _list_entry [ 0x82ba33e8 - 0x82ba33e8 ]

+0x040 name             : _unicode_string "driver"

+0x048 defaultobject    : 0x805598c0

+0x04c index            : 0x1a

+0x050 totalnumberofobjects : 0x62

+0x054 totalnumberofhandles : 0

+0x058 highwaternumberofobjects : 0x67

+0x05c highwaternumberofhandles : 1

+0x060 typeinfo         : _object_type_initializer

+0x0ac key              : 0x76697244

+0x0b0 objectlocks      : [4] _eresource

kd> dt _object_header_name_info 82b9bf38-0x28

nt!_object_header_name_info

+0x000 directory        : 0xe1013880 _object_directory

+0x004 name             : _unicode_string "pci"

+0x00c queryreferences  : 1

kd> dt _object_header 0xe1013880-0x18

nt!_object_header

+0x000 pointercount     : 84

+0x004 handlecount      : 0

+0x004 nexttofree       : (null)

+0x008 type             : 0x82beb3b0 _object_type

+0x00c nameinfooffset   : 0x10 ''

+0x00d handleinfooffset : 0 ''

+0x00e quotainfooffset  : 0 ''

+0x00f flags            : 0x32 '2'

+0x010 objectcreateinfo : 0x00000001 _object_create_information

+0x010 quotablockcharged : 0x00000001

+0x014 securitydescriptor : 0xe100467e

+0x018 body             : _quad

kd> dt _object_type 0x82beb3b0

nt!_object_type

+0x000 mutex            : _eresource

+0x038 typelist         : _list_entry [ 0x82beb3e8 - 0x82beb3e8 ]

+0x040 name             : _unicode_string "directory"

+0x048 defaultobject    : 0x805598c0

+0x04c index            : 2

+0x050 totalnumberofobjects : 0x22

+0x054 totalnumberofhandles : 0x4d

+0x058 highwaternumberofobjects : 0x22

+0x05c highwaternumberofhandles : 0x51

+0x060 typeinfo         : _object_type_initializer

+0x0ac key              : 0x65726944

+0x0b0 objectlocks      : [4] _eresource

kd> dt _object_header_name_info 0xe1013880-0x28

nt!_object_header_name_info

+0x000 directory        : 0xe1000180 _object_directory

+0x004 name             : _unicode_string "driver"

+0x00c queryreferences  : 1

目錄相關的作業

建立資料夾 root localhost mkdir ceshi user 建立資料夾 root localhost cp etc ceshi user 複製檔案 root localhost ln ceshi user passwd ceshi user passwd.bak 建立硬鏈結 root...

linux 目錄相關的操作

cd 切換目錄 change dictionary 使用 mkdir 命令建立 runoob 目錄 root www mkdir runoob 使用絕對路徑切換到 runoob 目錄 注意進入某個目錄檔案必須後面再加乙個 root www cd root runoob 注意空格,linux的目錄採用...

linux 目錄相關的操作

cd 切換目錄 change dictionary 使用 mkdir 命令建立 runoob 目錄 root www mkdir runoob 使用絕對路徑切換到 runoob 目錄 注意進入某個目錄檔案必須後面再加乙個 root www cd root runoob 注意空格,linux的目錄採用...