找回密码
 立即注册→加入我们

QQ登录

只需一步,快速开始

搜索
热搜: 下载 VB C 实现 编写
查看: 3044|回复: 1

【dbg】Debug Print Filter

[复制链接]
发表于 2017-3-27 14:32:11 | 显示全部楼层 |阅读模式

欢迎访问技术宅的结界,请注册或者登录吧。

您需要 登录 才可以下载或查看,没有账号?立即注册→加入我们

×
本帖最后由 Ayala 于 2017-3-27 17:19 编辑

windows系统的调试信息过滤体系
  1. DPFLTR_LEVEL_MASK* KdComponentTable[DPFLTR_ENDOFTABLE_ID+1];
  2. DPFLTR_LEVEL_MASK  Kd_WIN2000_Mask=DPFLTR_WARNING_LEVEL; //1

  3. BOOL
  4. NtQueryDebugFilterState(DPFLTR_TYPE ty, DPFLTR_LEVEL lv)
  5. {
  6.         if (ty>DPFLTR_ENDOFTABLE_ID) //146
  7.         {
  8.                 ty=DPFLTR_DEFAULT_ID; //0x65
  9.                 lv=DPFLTR_INFO_LEVEL; //0x3
  10.         }
  11.         if (lv < 0x1F) //31
  12.     {
  13.                 lv=1<<lv;
  14.         }
  15.   return lv & Kd_WIN2000_Mask || lv & *KdComponentTable[ty];
  16. }
复制代码

  1. Windows Registry Editor Version 5.00

  2. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter]
  3. "WIN2000"=dword:00000000
  4. "SYSTEM"=dword:00000000
  5. "SMSS"=dword:00000000
  6. "SETUP"=dword:00000000
  7. "NTFS"=dword:00000000
  8. "FSTUB"=dword:00000000
  9. "CRASHDUMP"=dword:00000000
  10. "CDAUDIO"=dword:00000000
  11. "CDROM"=dword:00000000
  12. "CLASSPNP"=dword:00000000
  13. "DISK"=dword:00000000
  14. "REDBOOK"=dword:00000000
  15. "STORPROP"=dword:00000000
  16. "SCSIPORT"=dword:00000000
  17. "SCSIMINIPORT"=dword:00000000
  18. "CONFIG"=dword:00000000
  19. "I8042PRT"=dword:00000000
  20. "SERMOUSE"=dword:00000000
  21. "LSERMOUS"=dword:00000000
  22. "KBDHID"=dword:00000000
  23. "MOUHID"=dword:00000000
  24. "KBDCLASS"=dword:00000000
  25. "MOUCLASS"=dword:00000000
  26. "TWOTRACK"=dword:00000000
  27. "WMILIB"=dword:00000000
  28. "ACPI"=dword:00000000
  29. "AMLI"=dword:00000000
  30. "HALIA64"=dword:00000000
  31. "VIDEO"=dword:00000000
  32. "SVCHOST"=dword:00000000
  33. "VIDEOPRT"=dword:00000000
  34. "TCPIP"=dword:00000000
  35. "DMSYNTH"=dword:00000000
  36. "NTOSPNP"=dword:00000000
  37. "FASTFAT"=dword:00000000
  38. "SAMSS"=dword:00000000
  39. "PNPMGR"=dword:00000000
  40. "NETAPI"=dword:00000000
  41. "SCSERVER"=dword:00000000
  42. "SCCLIENT"=dword:00000000
  43. "SERIAL"=dword:00000000
  44. "SERENUM"=dword:00000000
  45. "UHCD"=dword:00000000
  46. "RPCPROXY"=dword:00000000
  47. "AUTOCHK"=dword:00000000
  48. "DCOMSS"=dword:00000000
  49. "UNIMODEM"=dword:00000000
  50. "SIS"=dword:00000000
  51. "FLTMGR"=dword:00000000
  52. "WMICORE"=dword:00000000
  53. "BURNENG"=dword:00000000
  54. "IMAPI"=dword:00000000
  55. "SXS"=dword:00000000
  56. "FUSION"=dword:00000000
  57. "IDLETASK"=dword:00000000
  58. "SOFTPCI"=dword:00000000
  59. "TAPE"=dword:00000000
  60. "MCHGR"=dword:00000000
  61. "IDEP"=dword:00000000
  62. "PCIIDE"=dword:00000000
  63. "FLOPPY"=dword:00000000
  64. "FDC"=dword:00000000
  65. "TERMSRV"=dword:00000000
  66. "W32TIME"=dword:00000000
  67. "PREFETCHER"=dword:00000000
  68. "RSFILTER"=dword:00000000
  69. "FCPORT"=dword:00000000
  70. "PCI"=dword:00000000
  71. "DMIO"=dword:00000000
  72. "DMCONFIG"=dword:00000000
  73. "DMADMIN"=dword:00000000
  74. "WSOCKTRANSPORT"=dword:00000000
  75. "VSS"=dword:00000000
  76. "PNPMEM"=dword:00000000
  77. "PROCESSOR"=dword:00000000
  78. "DMSERVER"=dword:00000000
  79. "SR"=dword:00000000
  80. "INFINIBAND"=dword:00000000
  81. "IHVDRIVER"=dword:00000000
  82. "IHVVIDEO"=dword:00000000
  83. "IHVAUDIO"=dword:00000000
  84. "IHVNETWORK"=dword:00000000
  85. "IHVSTREAMING"=dword:00000000
  86. "IHVBUS"=dword:00000000
  87. "HPS"=dword:00000000
  88. "RTLTHREADPOOL"=dword:00000000
  89. "LDR"=dword:00000000
  90. "TCPIP6"=dword:00000000
  91. "ISAPNP"=dword:00000000
  92. "SHPC"=dword:00000000
  93. "STORPORT"=dword:00000000
  94. "STORMINIPORT"=dword:00000000
  95. "PRINTSPOOLER"=dword:00000000
  96. "VSSDYNDISK"=dword:00000000
  97. "VERIFIER"=dword:00000000
  98. "VDS"=dword:00000000
  99. "VDSBAS"=dword:00000000
  100. "VDSDYN"=dword:00000000
  101. "VDSDYNDR"=dword:00000000
  102. "VDSLDR"=dword:00000000
  103. "VDSUTIL"=dword:00000000
  104. "DFRGIFC"=dword:00000000
  105. "DEFAULT"=dword:00000000
  106. "MM"=dword:00000000
  107. "DFSC"=dword:00000000
  108. "WOW64"=dword:00000000
  109. "ALPC"=dword:00000000
  110. "WDI"=dword:00000000
  111. "PERFLIB"=dword:00000000
  112. "KTM"=dword:00000000
  113. "IOSTRESS"=dword:00000000
  114. "HEAP"=dword:00000000
  115. "WHEA"=dword:00000000
  116. "USERGDI"=dword:00000000
  117. "MMCSS"=dword:00000000
  118. "TPM"=dword:00000000
  119. "THREADORDER"=dword:00000000
  120. "ENVIRON"=dword:00000000
  121. "EMS"=dword:00000000
  122. "WDT"=dword:00000000
  123. "FVEVOL"=dword:00000000
  124. "NDIS"=dword:00000000
  125. "NVCTRACE"=dword:00000000
  126. "LUAFV"=dword:00000000
  127. "APPCOMPAT"=dword:00000000
  128. "USBSTOR"=dword:00000000
  129. "SBP2PORT"=dword:00000000
  130. "COVERAGE"=dword:00000000
  131. "CACHEMGR"=dword:00000000
  132. "MOUNTMGR"=dword:00000000
  133. "CFR"=dword:00000000
  134. "TXF"=dword:00000000
  135. "KSECDD"=dword:00000000
  136. "FLTREGRESS"=dword:00000000
  137. "MPIO"=dword:00000000
  138. "MSDSM"=dword:00000000
  139. "UDFS"=dword:00000000
  140. "PSHED"=dword:00000000
  141. "STORVSP"=dword:00000000
  142. "LSASS"=dword:00000000
  143. "SSPICLI"=dword:00000000
  144. "CNG"=dword:00000000
  145. "EXFAT"=dword:00000000
  146. "FILETRACE"=dword:00000000
  147. "XSAVE"=dword:00000000
  148. "SE"=dword:00000000
  149. "DRIVEEXTENDER"=dword:00000000
  150. "ENDOFTABLE"=dword:00000000
复制代码
回复

使用道具 举报

发表于 2017-4-5 09:24:38 | 显示全部楼层
好评.
回复

使用道具 举报

本版积分规则

QQ|Archiver|小黑屋|技术宅的结界 ( 滇ICP备16008837号 )|网站地图

GMT+8, 2024-11-22 15:48 , Processed in 0.035720 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表