技术宅的结界

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

QQ登录

只需一步,快速开始

搜索
热搜: 下载 VB C 实现 编写
查看: 565|回复: 1
收起左侧

【dbg】Debug Print Filter

[复制链接]

25

主题

79

帖子

1062

积分

用户组: 版主

UID
1821
精华
6
威望
57 点
宅币
808 个
贡献
31 次
宅之契约
0 份
在线时间
193 小时
注册时间
2016-7-12
发表于 2017-3-27 14:32:11 | 显示全部楼层 |阅读模式

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

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

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

windows系统的调试信息过滤体系
[C] 纯文本查看 复制代码
DPFLTR_LEVEL_MASK* KdComponentTable[DPFLTR_ENDOFTABLE_ID+1];
DPFLTR_LEVEL_MASK  Kd_WIN2000_Mask=DPFLTR_WARNING_LEVEL; //1

BOOL
NtQueryDebugFilterState(DPFLTR_TYPE ty, DPFLTR_LEVEL lv)
{
	if (ty>DPFLTR_ENDOFTABLE_ID) //146
	{
		ty=DPFLTR_DEFAULT_ID; //0x65
		lv=DPFLTR_INFO_LEVEL; //0x3
	}
	if (lv < 0x1F) //31 
    {
		lv=1<<lv;
	}
  return lv & Kd_WIN2000_Mask || lv & *KdComponentTable[ty];
}


[SQL] 纯文本查看 复制代码
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter]
"WIN2000"=dword:00000000
"SYSTEM"=dword:00000000
"SMSS"=dword:00000000
"SETUP"=dword:00000000
"NTFS"=dword:00000000
"FSTUB"=dword:00000000
"CRASHDUMP"=dword:00000000
"CDAUDIO"=dword:00000000
"CDROM"=dword:00000000
"CLASSPNP"=dword:00000000
"DISK"=dword:00000000
"REDBOOK"=dword:00000000
"STORPROP"=dword:00000000
"SCSIPORT"=dword:00000000
"SCSIMINIPORT"=dword:00000000
"CONFIG"=dword:00000000
"I8042PRT"=dword:00000000
"SERMOUSE"=dword:00000000
"LSERMOUS"=dword:00000000
"KBDHID"=dword:00000000
"MOUHID"=dword:00000000
"KBDCLASS"=dword:00000000
"MOUCLASS"=dword:00000000
"TWOTRACK"=dword:00000000
"WMILIB"=dword:00000000
"ACPI"=dword:00000000
"AMLI"=dword:00000000
"HALIA64"=dword:00000000
"VIDEO"=dword:00000000
"SVCHOST"=dword:00000000
"VIDEOPRT"=dword:00000000
"TCPIP"=dword:00000000
"DMSYNTH"=dword:00000000
"NTOSPNP"=dword:00000000
"FASTFAT"=dword:00000000
"SAMSS"=dword:00000000
"PNPMGR"=dword:00000000
"NETAPI"=dword:00000000
"SCSERVER"=dword:00000000
"SCCLIENT"=dword:00000000
"SERIAL"=dword:00000000
"SERENUM"=dword:00000000
"UHCD"=dword:00000000
"RPCPROXY"=dword:00000000
"AUTOCHK"=dword:00000000
"DCOMSS"=dword:00000000
"UNIMODEM"=dword:00000000
"SIS"=dword:00000000
"FLTMGR"=dword:00000000
"WMICORE"=dword:00000000
"BURNENG"=dword:00000000
"IMAPI"=dword:00000000
"SXS"=dword:00000000
"FUSION"=dword:00000000
"IDLETASK"=dword:00000000
"SOFTPCI"=dword:00000000
"TAPE"=dword:00000000
"MCHGR"=dword:00000000
"IDEP"=dword:00000000
"PCIIDE"=dword:00000000
"FLOPPY"=dword:00000000
"FDC"=dword:00000000
"TERMSRV"=dword:00000000
"W32TIME"=dword:00000000
"PREFETCHER"=dword:00000000
"RSFILTER"=dword:00000000
"FCPORT"=dword:00000000
"PCI"=dword:00000000
"DMIO"=dword:00000000
"DMCONFIG"=dword:00000000
"DMADMIN"=dword:00000000
"WSOCKTRANSPORT"=dword:00000000
"VSS"=dword:00000000
"PNPMEM"=dword:00000000
"PROCESSOR"=dword:00000000
"DMSERVER"=dword:00000000
"SR"=dword:00000000
"INFINIBAND"=dword:00000000
"IHVDRIVER"=dword:00000000
"IHVVIDEO"=dword:00000000
"IHVAUDIO"=dword:00000000
"IHVNETWORK"=dword:00000000
"IHVSTREAMING"=dword:00000000
"IHVBUS"=dword:00000000
"HPS"=dword:00000000
"RTLTHREADPOOL"=dword:00000000
"LDR"=dword:00000000
"TCPIP6"=dword:00000000
"ISAPNP"=dword:00000000
"SHPC"=dword:00000000
"STORPORT"=dword:00000000
"STORMINIPORT"=dword:00000000
"PRINTSPOOLER"=dword:00000000
"VSSDYNDISK"=dword:00000000
"VERIFIER"=dword:00000000
"VDS"=dword:00000000
"VDSBAS"=dword:00000000
"VDSDYN"=dword:00000000
"VDSDYNDR"=dword:00000000
"VDSLDR"=dword:00000000
"VDSUTIL"=dword:00000000
"DFRGIFC"=dword:00000000
"DEFAULT"=dword:00000000
"MM"=dword:00000000
"DFSC"=dword:00000000
"WOW64"=dword:00000000
"ALPC"=dword:00000000
"WDI"=dword:00000000
"PERFLIB"=dword:00000000
"KTM"=dword:00000000
"IOSTRESS"=dword:00000000
"HEAP"=dword:00000000
"WHEA"=dword:00000000
"USERGDI"=dword:00000000
"MMCSS"=dword:00000000
"TPM"=dword:00000000
"THREADORDER"=dword:00000000
"ENVIRON"=dword:00000000
"EMS"=dword:00000000
"WDT"=dword:00000000
"FVEVOL"=dword:00000000
"NDIS"=dword:00000000
"NVCTRACE"=dword:00000000
"LUAFV"=dword:00000000
"APPCOMPAT"=dword:00000000
"USBSTOR"=dword:00000000
"SBP2PORT"=dword:00000000
"COVERAGE"=dword:00000000
"CACHEMGR"=dword:00000000
"MOUNTMGR"=dword:00000000
"CFR"=dword:00000000
"TXF"=dword:00000000
"KSECDD"=dword:00000000
"FLTREGRESS"=dword:00000000
"MPIO"=dword:00000000
"MSDSM"=dword:00000000
"UDFS"=dword:00000000
"PSHED"=dword:00000000
"STORVSP"=dword:00000000
"LSASS"=dword:00000000
"SSPICLI"=dword:00000000
"CNG"=dword:00000000
"EXFAT"=dword:00000000
"FILETRACE"=dword:00000000
"XSAVE"=dword:00000000
"SE"=dword:00000000
"DRIVEEXTENDER"=dword:00000000
"ENDOFTABLE"=dword:00000000

5

主题

47

帖子

181

积分

用户组: 小·技术宅

UID
167
精华
0
威望
3 点
宅币
117 个
贡献
11 次
宅之契约
0 份
在线时间
28 小时
注册时间
2014-3-30
发表于 2017-4-5 09:24:38 | 显示全部楼层
好评.
回复

使用道具 举报

本版积分规则

QQ|申请友链|Archiver|手机版|小黑屋|技术宅的结界 ( 滇ICP备16008837号|网站地图

GMT+8, 2018-7-18 14:50 , Processed in 0.072716 second(s), 13 queries , Gzip On, Memcache On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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